5 ms·
I don't yet use Crystal, but it's kind of painful that Windows support is in the "What can wait? - after 1.0" section. Cross-platform support is one of the reas
by faitswulff 7y ago
I don't yet use Crystal, but it's kind of painful that Windows support is in the "What can wait? - after 1.0" section. Cross-platform support is one of the reasons I've been diving into Rust.
However "we integrated a CI for Windows to ensure we continue moving steadily forward" sounds like a good compromise for limited resources.
- nicoburns 7y agoYeah, especially as the idea that adding windows support won't end up affecting public APIs is pretty naive. Windows and unix-like systems have very different APIs for lot's of things, and it's very easy to fall into designing something unix-specific if you don't make it cross-platform from the start.
- htns 7y agoCrystal mostly copies ruby, so it's probably not that naive (though actually I don't know how ruby is on windows).
- e12e 7y agoRuby has a pretty solid Api story on windows (meaning code and gems generally work) - but it's not quite a tier one platform - it's gotten better, but eg automatic compilation of c level extensions isn't quite as good as on Linux. This mostly stems from using msys and not vc++ - and is similar to the issues python used to face on windows. But if I'm not mistaken python moved to vc a while after community edition became a thing. We're also running some rather old code (w old versions of ruby) - and that's obviously not great - but also somewhat worse on windows than on Linux. All that might make it sounds like ruby on windows is tricky - but it really has gotten quite great, especially after 2.4.
- Lio 7y agoI wonder if this problem won’t go away after WSL2.0? How far away are we from a Windows that can run Unix/POSIX out of the box?
- al-king 7y agoIf anything WSL2.0 has made it clearer than WSL is a development environment, not a universal compatibility layer.
- pjmlp 7y agoWSL is an effort to bring into Windows the crowd that buys macbooks to develop GNU/Linux software, as they are unwilling to support Linux OEMs. The Windows developer community at large, just like Apple developers, isn't that much into UNIX compatibility layers.
- moonchild 7y agoI find it a little sad that windows support is considered essential (and its lack is a dealbreaker), but linux support is not, even though developers predominantly use macos and linux.
- e12e 7y agoIf you compare to ruby, there are a couple of quite nice packages for os automation that allows for scripting setup of services etc. That's a space where os level support is essential. That said, crystal being new, and wsl 1/2 being a thing... I'm à little surprised for the demand for a windows version. OTOH being able to create a gui rad ide like Lazarus or Delphi, that is cross-platform, compiles to native executables and uses crystal in place of Pascal would probably be great.
- ricardobeat 7y agoWhat makes you say linux support is not essential?
- AlchemistCamp 7y agoWhy do you believe more devs are on mac than windows? What country are you in?
- AlchemistCamp 7y agoIt's the same mistake so many Ruby projects made 15 years ago. Python, on the other hand, was aggressively cross-platform.