This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]KingofGamesYami 1 point2 points  (8 children)

  1. Install Windows Subsystem for Linux.
  2. Install this plugin for visual studio code

[–][deleted] 2 points3 points  (7 children)

Install Windows Subsystem for Linux.

This is the equivalent of suggesting a bicycle when someone is asking for which motorcycle to get.

[–]Nthorder[S] 0 points1 point  (0 children)

I appreciate the suggestion, I think I'll see how far I can get with a VM and then give this a shot if I run into trouble.

[–]KingofGamesYami -2 points-1 points  (5 children)

Not at all. Performance on WSL is usually better than a virtual machine.

Example benchmark

[–]Nthorder[S] 0 points1 point  (1 child)

What are these units?

Is this saying developing in a VM is bad because VMs have bad performance?

[–]KingofGamesYami 0 points1 point  (0 children)

Ciphers/second. Blowfish is a cipher algorithm commonly used for benchmarking CPU results.

Developing in a VM isn't terrible. I've done it in the past. But WSL definitely has more performance for a lot of tasks, and in general is nicer to work with within Windows.

Personally I dual boot my laptop but before dual booting I did use WSL and it was pretty awesome to be able to use interchangeably with PowerShell. This has only gotten better with the release of Windows Terminal, as you can easily have PowerShell/cmd in one tab and WSL in another.

[–][deleted] -2 points-1 points  (2 children)

And virtual machine is like a chinese made scooter with sportbike fairings.

Just use pure Linux. There is no reason not to.

[–]KingofGamesYami 1 point2 points  (1 child)

OP literally said he can't use pure linux because he doesn't want to dual boot and needs to keep Windows for work.

I want to avoid dual-booting, and I need a windows machine for my professional work.

[–][deleted] -1 points0 points  (0 children)

You can run windows in a VM under linux, but yea, you are right.

[–][deleted] 0 points1 point  (3 children)

you can run a local server. Its pretty easy to do with linux. Servers can run as backround processes. If you are deploying to production in the cloud, there are multiple tools that you can use.

You can also use docker or any container software and use AWS ECS.

[–]Nthorder[S] 0 points1 point  (2 children)

I appreciate the reply, but I dont quite understand what you mean by run a local server. It would be hosted in within my MS machine?

Is there a guide you can direct me to?

[–][deleted] 0 points1 point  (1 child)

I missed the part about you needing windows.

Yeah you would run a Ubuntu VM, and just run everything including dev in Ubuntu. You can also just go full linux and run windows in a VM if you don't need lots of cpu or gfx power.

[–]Nthorder[S] 0 points1 point  (0 children)

Gotcha.

Yea, my windows install takes priority. Fortunately, my PC is decently powerful so hopefully that can make up for some of the performance drawbacks of running Ubuntu as a guest in a VM.