I’m doing #AdventOfCode 2015 with @CrystalLanguage, which is probably my favorite programming language today
3
3
13
That's curious. Care to share why?
1
0
0
Main points: Expressiveness, APIs, very-high level, type-safe barely writing types, performant.
1
0
1
It is also nil-safe, has macros, parallelism, etc. As a programming language, it clicks to me.
1
0
1
Hm. Interesting. Will check it out. Do you know if you can easily FFI it in Ruby? I have a problem that can benefit from C extensions and I really rather not do C extensions.
2
0
0
In Crystal it is really easy to use existing C libraries. The language itself uses this feature extensively, it delegates bignums to GMP, uses the Boehm garbage collector, PCRE, etc. Look how high-level you interface with the library github.com/crystal-lang/crys…
1
1
2
As per extracting code to C for performance as you do in Ruby, you just do not need to do it! In Ruby FFI works and it is portable, JRuby also supports FFI extensions.
1
0
0
Cool. What about LSP and editor/IDE tooling?
1
0
1
There are some projects implementing LSP, but AFAICT this is not mature. It is my favorite programming language as language itself. Crystal is used in production, but the ecosystem is not the one of a mainstream language nowadays, generally speaking.
1
0
1
Well, I've already started the PragProg book, the Exercism track and soon - AoC 2019. I'll report back in a few weeks ;) In the meantime, any learning resource you would recommend? Both the book and the docs feel tutorial-ish, making it tricky to grok the full semantics.
1
0
2
OMG! That's going to deserve another nice conversation in that beautiful restaurant! :) I followed the tutorial and read the reference top to bottom. The forum was super to clarify stuff. This post gives you historical context manas.tech/blog/2016/04/01/t… and there are talks online.

9:02 AM · Jan 8, 2021

2
0
1
Which one? We've had a few nice conversations in a few beautiful restaurants ;) But yeah, we should definitely make that happen again, hopefully in 2021. Will check out the talk, the post and the forum, thanks!
0
0
0