← Back to context

Comment by kstrauser

5 hours ago

If you're using a language compiled to bytecode or interpreted, then the OS and arch don't matter a whole lot (so long as you don't have to deal with Window's weird filename conventions or other oddnesses). If you're using compiled-to-bytecode languages, there's a huge advantage in forcing your code to be cross-arch safe from day one, lest ye accidentally end up with something that can only build on the exact CPU in your devs' laptops or can only run on the flavor of WSL you're using that year.

Writing on Mx Mac and deploying on Intel Debian is a little harder in the beginning, but spares you oh, so many footguns down the road. Eventually you might want to deploy to a different OS or arch for cost or convenience reasons. That's a really bad time to find out that your project can't be made to work there without heroics.