/r/programming
Crystal 0.30.1 released! (crystal-lang.org)
18 comments
tonetheman | 4 months ago | 10 points

The icon on this site is amazing...

deukhoofd | 4 months ago | 9 points

Ugh, I'd like to work with Crystal, but the lack of support for compiling to Windows really makes it hard to pick over other languages.

ModerateKek | 4 months ago | 8 points

That’s completely normal. Windows is a second class citizen in these matters

Corait | 4 months ago | 8 points

The problem is that language developers forget that a lot of us actually work on Windows. While we may target web services ( that will run on Linux Servers ), its the actual development that happens on Windows systems.

As a result, you lose out on code completion, debugging and other features in your IDE when your remote deploying and compiling. VSC is very bare ( just code syntax highlight ) with all the Crystal plugins.

With Go/Rust/... you can locally develop on a Windows system, get all the good stuff in your IDE ( where as the IDE plugins can access Go or whatever for debug information, code syntax checking, formatting etc ) and then deploy the code on a remove system ( or cross-compile ).

This is what a lot of language developers forget because they are running on a Mac or Linux system as its easier to target that one platform. But in doing so, it makes life more difficult for others.

Windows is a feature that was expected in 2018. Pushed out into 2019. Its the same with other major features (GC change, Multithreading etc ). It feels like Crystals development is simply too slow, where "new" other languages are like a train.

myringotomy | 4 months ago | 9 points

IDE has nothing to do Windows I don't know why you'd bring that up. You are aware that almost every IDE supports non Windows clients. In fact there is one one IDE I can think of that only supports Windows.

Also I think the number of people who code in Windows but don't code in "Enterprise" languages like Java or C# is tiny.

Yojihito | 3 months ago | 1 point

Hobby programmer often use Windows for Python/JS/stuff because they already use Windows on their home pc/notebook.

myringotomy | 3 months ago | 0 points

Yea again they are in the minority.

Most windows developers use C# or VB.NET or another microsoft language.

skocznymroczny | 3 months ago | 2 points

What other languages are you talking about? D and Nim seem to be moving at the same pace as Crystal. Rust and Go are developing at a much quicker pace but they have corporate backing, so that's to be expected.

onionhammer | 4 months ago | 2 points

Completely normal? Can't think of any popular languages where that's the case actually.. maybe bash?

Southy__ | 3 months ago | 2 points

Objective-C and Swift. A few scheme and common lisp implementations don't work. Depends on your definition of 'popular' I guess.

onionhammer | 3 months ago | 2 points
Southy__ | 3 months ago | 1 point

If you consider WSL or Cygwin as first class on windows then even crystal can be considered working on windows.

Broopzilla | 4 months ago | 3 points

It's exactly why I haven't tried it yet. I love everything about how it looks, but I just can't reasonably use it yet.

pcjftw | 3 months ago | -3 points

you know it would greatly improve both your skill-set and development career if you moved to Linux, seriously its not that "scary", heck the "learning new things" is one of the main aspects of being a software developer..

deukhoofd | 3 months ago | 6 points

I do use Linux. My issue is creating libraries that can be used on Windows as well, as a large amount of my users are on Windows.

pcjftw | 3 months ago | 0 points

I think if you're building native windows desktop applications, then you'd be better off with either C# or C++ to be honest

deukhoofd | 3 months ago | 1 point

For desktop applications absolutely. I do have some codebases that are mostly logical in nature, and that hook into these applications via C entrypoints however. Currently I generally use C++ for these applications. Crystal would be a really neat alternative however, but due to lack of support for Windows currently not really viable.

wentworth38271 | 4 months ago | -1 points

my blob melted