News for hackers. Stuff that matters.
Re:Crystal 1.2.0 by hota_mazi on Friday October 15, 2021 @02:03AM (#28874801)
You're making a lot of assumptions here, some of which are incorrect in my opinion.

If anything, WSL is making Linux more irrelevant as a development environment, and Windows 11 is going to take this to the next level (take a look at Hanselman's demo video [1]).

Yes, production runs in majority on Linux but development happens massively on Windows. With macOS a distant second and Linux barely used as desktops.

[1] https://www.youtube.com/watch?v=B4VYjxzx2us

Re:Crystal 1.2.0 by pkulak on Friday October 15, 2021 @02:23AM (#28874915)
I'm going to watch that video tomorrow because this stuff is fascinating and I really want to see what amazing stuff MSFT has come up with now, with WSL already being pretty darn good.

That said, it's still a VM and Windows is still a PITA to deal with. Just today I wanted install a script as a Windows service. Windows won't do it. You have to Google for 20 minutes, then download some .exe and use that as a wrapper. The simplest things are difficult or impossible, and I don't think shoving your life into a VM is going to solve all that.

Re:Crystal 1.2.0 by egeozcan on Friday October 15, 2021 @04:14AM (#28875538)
> Windows is still a PITA to deal with

I think even a big chunk of Windows users would agree with that too.

However, the point is, it's still massively, unbelievably popular and not supporting Windows is like having a web app that doesn't run on Safari (which IMHO also suck from a developers perspective, pretty okay when just using).

You can get away with it, yes, but your audience will be (depending on context) unnecessarily limited.

Re:Crystal 1.2.0 by pkulak on Friday October 15, 2021 @11:06AM (#28878484)
Yeah, I did kinda argue next to your point. haha
Re:Crystal 1.2.0 by vips7L on Friday October 15, 2021 @02:30PM (#28881253)
Power shells New-Service command didn’t work for you??
Re:Crystal 1.2.0 by pkulak on Saturday October 16, 2021 @08:37PM (#28892928)
I did use something from the terminal (no idea what terminal, there's like 4...), and it installed, but then when I ran it it timed out. Finally found something called "NSSM", and that worked a treat. Of course, only after wading through 100 paid clones with huge Google Ad budgets.
Re:Crystal 1.2.0 by sidkshatriya on Friday October 15, 2021 @02:22AM (#28874904)
The fact that Microsoft was compelled to add a subsystem for Linux shows which way the technology momentum is.
Re:Crystal 1.2.0 by pjmlp on Friday October 15, 2021 @08:20AM (#28876945)
Windows NT already had POSIX support.

They also realized that the crowd that buys Macs to do UNIX development doesn't care about Linux, they only want a POSIX like environment.

And since GNU/Linux has eroded the other UNIXes, the Linux kernel ABI has become more relevant than POSIX, that is all.

Re:Crystal 1.2.0 by DeathArrow on Friday October 15, 2021 @02:56AM (#28875097)
It just shows that servers run Linux. Because there is the majority of the development happening.
Re:Crystal 1.2.0 by sidkshatriya on Friday October 15, 2021 @04:07AM (#28875516)
Which is just the point I'm making: develop for Linux and don't worry about development for the Windows platform in 2021 (for most scenarios).

And if you're using WSL you are using Linux effectively. Windows is just that UI around you. Microsoft makes some good products/services and I think they have shifted in strategy. They are not so interested in what _specific_ APIs/OS you use (Win32 or Linux ...) as long as you do it "inside" Windows on the Desktop or on Azure in the Cloud. It clear that the Linux platform is dominating because Linux is everywhere from servers to mobiles.

One of the parent comments was complaining about lack of good _native_ windows support in Crystal. I've responded to why it may not be critical to have good _native_ windows support anymore above in detail...

Re:Crystal 1.2.0 by egeozcan on Friday October 15, 2021 @04:17AM (#28875553)
People are really thinking too much into the possibilities.

Many people also don't use WSL. Many don't even have the basic nix tools on their path.

You may say that they aren't your target audience, but many new technologies weren't popular until they made them their target audience.

Re:Crystal 1.2.0 by southerntofu on Friday October 15, 2021 @05:56AM (#28876052)
How is WSL making GNU/Linux distros irrelevant? I've been running Windows apps on my system for maybe 15 years with Wine but somehow that hasn't made Windows irrelevant, in spite of my best wishes.
Re:Crystal 1.2.0 by hota_mazi on Saturday October 16, 2021 @01:07AM (#28885697)
It makes running Linux as a primary OS irrelevant.

Linux on the desktop has always been a joke, but it's even more irrelevant now. You run Windows as your main development OS and when you're ready to deploy your app to Linux, you launch WSL or run a CI/CD pipeline.

But there is now zero reason to ever run Linux as the main OS on your desktop.

Re:Crystal 1.2.0 by southerntofu on Tuesday October 19, 2021 @06:23AM (#28916621)
> But there is now zero reason to ever run Linux as the main OS on your desktop.

s/Linux/Windows/ /s

More seriously, i don't understand your point. Just because you're happy with Microsoft's practices doesn't mean free distros are all "a joke" or "irrelevant". Many people use GNU/Linux as a daily driver and we're more than satisfied.

Personal opinion: i just don't understand the appeal for Windows. MacOS at least has some design/UX guidelines which you can like or dislike but they're consistent about... Windows has just so many anti-patterns i don't have enough fingers to count. The only times i ever needed windows was because of phone-related crapware, and even then Wine was more than enough. Why would i need Windows at all?

Re:Crystal 1.2.0 by chillfox on Friday October 15, 2021 @02:50AM (#28875054)
Looking forward to watching that video. But to be honest, Windows is a gaming console for me. My Windows box is hooked up to a 40' tv and has an Xbox controller attached. Work is something I do on a Ubuntu machine.
Re:Crystal 1.2.0 by DeathArrow on Friday October 15, 2021 @02:55AM (#28875083)
You can even use the full Visual Studio to develop for Linux, Android and iOS.