News for hackers. Stuff that matters.
Re:Crystal 1.0 – What to expect by Thaxll on Monday March 22, 2021 @04:31PM (#26546521)
The "downside" you forgot to mention a lot of important things:

- tooling is abyssmal ( IDE etc ... )

- no mutli threading

- no real support, I'm not even sure if there is one paid guy anymnore on the project

- it's still immature

- they break the API all the time

Re:Crystal 1.0 – What to expect by gravypod on Monday March 22, 2021 @04:40PM (#26546666)
> - tooling is abyssmal ( IDE etc ... )

As others have mentioned this is a side effect of how young it is.

> - no real support, I'm not even sure if there is one paid guy anymnore on the project

If paid support is all that counts then most languages would fall into that.

> - it's still immature

Tautological. Nothing can become mature without first being immature.

> - they break the API all the time

Isn't that what a 1.x is for? A stable major version?

Re:Crystal 1.0 – What to expect by offtop5 on Monday March 22, 2021 @05:40PM (#26547570)
>If paid support is all that counts then most languages would fall into that.

Can you name another recent programming language that wasn't developed in-house at a major company. Go , Dart , and Rust all started out with paid teams of programmers working on them.

Not sure if Crystal will be able to progress at a rate fast enough to keep people interested. Likewise, you'd have to be insane to try and pitch this to your project manager. I consider myself to be a risk taker, but even for my own side projects I stick to older better known programming languages.

it feels like we keep trying to solve the same problems over and over again instead of utilizing solutions which already exist

Re:Crystal 1.0 – What to expect by chillfox on Monday March 22, 2021 @10:18PM (#26550238)
I feel like it would be easier and cheaper to negotiate a support contract with Manas (Crystal) than with Google (Go, Dart) if your company wants paid support.
Re:Crystal 1.0 – What to expect by gravypod on Monday March 22, 2021 @05:48PM (#26547693)
Do zig, python, elisp, Clojure, Haskell (mostly a research project), etc fit the bill?
Re:Crystal 1.0 – What to expect by offtop5 on Monday March 22, 2021 @05:54PM (#26547771)
Out of those Pythons the only one that's widely used in production, and it's been around for a long time. Python itself is an extremely simple language, which I think can work as one person passion project.

Modern python has grown significantly from its first release in the 90s though. I don't think that can happen today, we all want too much out of our programming languages.

Re:Crystal 1.0 – What to expect by pansa2 on Monday March 22, 2021 @06:29PM (#26548219)
> Python itself is an extremely simple language

Unfortunately that’s not true at all - Python is far from simple. Sure, it’s no C++, but it’s very complex compared to languages like C, Go, Lua, even JavaScript.

Re:Crystal 1.0 – What to expect by lemming on Monday March 22, 2021 @06:12PM (#26548030)
All these companies, and more, are using Clojure in production: https://clojure.org/community/companies.
Re:Crystal 1.0 – What to expect by throwaway894345 on Monday March 22, 2021 @07:20PM (#26548819)
Python also has active sponsorship. Guido and the mypy folks were employed at Dropbox for the express purpose of working on Python last I checked, and even then my biggest grievance with Python is that the big hairy problems (performance, package management) still never get solved.
Re:Crystal 1.0 – What to expect by lgessler on Monday March 22, 2021 @06:12PM (#26548019)
I can't speak to the others on the list but it seems odd to say Clojure isn't being used widely in production. Clojure's been powering big businesses for years now and Nubank, which primarily uses Clojure, is valued at $24bn: https://www.pymnts.com/news/investment-tracker/2021/brazilia....
Re:Crystal 1.0 – What to expect by Groxx on Monday March 22, 2021 @08:39PM (#26549468)
Languages / ecosystems being immature is not a tautology. Every one is at some point immature, but it's not a self-defining attribute of a language, nor is it necessarily true for a given language. It's entirely fair to call out "this language does not have a significant, stable, healthy ecosystem behind it (yet?)" because dealing with that stands a pretty good chance of taking up a large amount of time. Some uses / users are fine with that, others are not.
Re:Crystal 1.0 – What to expect by straight-shoota on Monday March 22, 2021 @04:48PM (#26546774)
Crystal is sponsored by https://manas.tech/ and the company actively provides paid support to a number of commercial clients. Breaking changes have been really low lately. I have a couple of shards that work on 1.0 as well as they did on 0.27 or so (that's 10 major dev releases ago). And with 1.0 there is a guarantee to not have breaking changes until 2.0. I don't agree to the other points too, but that's more subjective.
Re:Crystal 1.0 – What to expect by postmodern_mod3 on Monday March 22, 2021 @08:48PM (#26549545)
- tooling: there is a VS Code plugin for Crystal (https://marketplace.visualstudio.com/items?itemName=crystal-...). There is also syntax highlighting for most popular editors, if you prefer a text-editor to a fully-loaded IDE.

- no multi threading: Crystal has lightweight green threads for lightweight concurrency. However, Crystal does have experimental native multi-threading guarded by a compiler flag. The ultimate goal is to have multiple native threads each running multiple green threads for maximum concurrency. Currently, with just green threads, Crystal is competitive with Go or Rust wrt throughput. You can checkout benchmarks on crystal-lang.org or search Google for "Go vs Crystal benchmark" blog posts.

- no real support: Manas Tech is the corporate sponsor for Crystal (https://manas.tech/projects/crystal/) and employs many of the core developers; the project also accepts donations on Open Collective. There is a crystal-lang IRC channel, Gitter, Discord, Discourse forum, sub-reddit, and even a "Matrix" channel where developers frequently ask and answer questions.

- still immature: a 1.0.0 version is a significant milestone for any project. Companies are already running Crystal in production, which was discussed during the Raw Crystal 2020 virtual-conference (videos on YouTube).

- API breakage: Crystal 1.0.0 was released to stabilize the API (SemVer)

Re:Crystal 1.0 – What to expect by ibraheemdev on Monday March 22, 2021 @04:33PM (#26546548)
It is a relatively new language, all of the points you listed are expected. The last one should be taken care of now that they released 1.0.
Re:Crystal 1.0 – What to expect by caspianbaska on Monday March 22, 2021 @07:01PM (#26548606)
Multithreading has been present behind a compiler flag for a solid 7 minor versions (since 2019). The feature is maturing for a release in the 1.0 -> 2.0 range.
Re:Crystal 1.0 – What to expect by haolez on Monday March 22, 2021 @04:33PM (#26546542)
Besides funding (and maybe multithreading), I'd say that every new language will suffer from these limitations. They are difficult to avoid.
Re:Crystal 1.0 – What to expect by Trasmatta on Monday March 22, 2021 @04:41PM (#26546675)
Those downsides aren't intrinsic to the design of the language, and are likely to be present for any new, immature language.

The compile times are largely a side effect of the underlying language design, and it isn't likely to get significantly better, which is why I mentioned it.