Is Web Development Feasible on WSL2?

0
32
Asked By TravelingTechie42 On

I'm preparing for a two-month trip and I'm torn between two options: Should I take just my Windows gaming laptop for both entertainment and programming, or should I bring both my Windows laptop and MacBook? Since I can't dual boot on my gaming laptop due to limited storage space, I need some advice on whether WSL2 would work well for my web development needs. My development stack typically includes React, Go, Postgres, and Docker, along with some optional tools like Postman. If WSL2 is reliable enough, I'd prefer to travel lighter with just the Windows laptop!

5 Answers

Answered By GadgetGuru1999 On

I prefer Windows for Docker since it directly supports filesystem calls through WSL, unlike macOS, which runs them through an emulation layer. It's definitely smoother performance-wise for development!

Answered By DevWizard123 On

You should be fine with WSL2! It functions nearly like using a Linux VM. Your tech stack should work without issues there, plus running Docker with it is pretty seamless. Just a heads up, it can be a bit tricky with mobile app development, but since that's not your focus, you should be all set!

CaffeineCoder -

Good to know! I was a bit worried about Docker compatibility.

TravelingTechie42 -

Thanks for the reassurance! I feel more confident about my decision.

Answered By ByteMe99 On

WSL2 is pretty much great for using Linux on Windows. If everything you'll do with Docker is dockerized, you shouldn't run into issues with your setup. Just be ready to learn a bit about dockerizing your tools if needed!

UserFriendly42 -

So I should definitely lean toward using WSL2 then? Sounds like the best route!

TravelingTechie42 -

Absolutely, especially if it simplifies my travel situation!

Answered By TechTrekker On

Don't forget, you don't necessarily need WSL. Windows has powershell which should cover a lot for you if needed! But if you prefer that Linux feel, then go for WSL2!

Answered By CodingNinja88 On

Honestly, I switched back to using Windows as my main OS because of WSL2, the new Terminal, and winget. I haven't looked back since! I do web development with a stack similar to yours—Node, Laravel, and Postgres—in WSL2 and it works perfectly. Plus, if you're using VS Code, the extension for WSL makes everything run so smoothly.

GamerDevX -

That's good to hear! So it sounds like WSL2 is pretty solid for web dev, huh?

TravelingTechie42 -

Yeah, it seems like it could be a lifesaver for me on this trip!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.