21
Crystal 1.9.0 is released! (crystal-lang.org)

I learned about Crystal from somebody's Lemmy comment a couple weeks ago. Amazing and under rated language.

Their announcement is pretty lackluster tho lol.

you are viewing a single comment's thread
view the rest of the comments
[-] Alexocado@beehaw.org 6 points 1 year ago

If you find Crystal intriguing I suggest to checkout Elixir. And if static typing is more to your liking, then Gleam.

Both run on the BEAM (Erlang VM) which has a very robust concurrency model and resiliency built into the way you build applications.

I've been using Elixir for years now professionally (fullstack) and I honestly never want to go back.

[-] kool_newt@beehaw.org 3 points 1 year ago

I've looked into Elixir a bit, I'd probably be into it or Rust if Crystal didn't exist, more so than Go. Something about languages that run in a VM turns me off tho, reminds me of Java too much I guess. I've never heard of Gleam, that makes two languages I've learned of due to Lemmy in like 3 weeks!

[-] Alexocado@beehaw.org 3 points 1 year ago

I wouldn't dismiss VM languages outright. I'm also not a fan of the Java VM but the two VMs are very much very different. Also Erlang (and it's VM) were built for telecommunication, and the problems they tried to solve 30 years ago with it are very similar to modern backend engineering problems.

Erlang is in large parts also what allowed WhatsApp to scale to it's userbase with only 30 engineers.

[-] kool_newt@beehaw.org 1 points 1 year ago

Elixir runs on the Erlang vm? What is the difference between the two?

[-] Alexocado@beehaw.org 1 points 1 year ago* (last edited 1 year ago)

Between Elixir and Erlang, or between the Java and Erlang VM?

Elixir and Erlang are distinct languages. Here the comparison to the Java VM is apt, in that it's like Java and Clojure. Different languages, same VM.

If you want an overview on the differences between the VMs then that would be too much for this comment. Here is an article on Erlang Solutions talking about some of them more in depth. If I piqued your curiosity I can also highly recommend this talk from Sasa Yuric. It's not long and very concisely captures what makes the BEAM so nice to use.

[-] kool_newt@beehaw.org 1 points 1 year ago

Between Elixir and Erlang. Erlang is what's used in telecom right? Is Elixir as well? Is Elixir like a new improved Erlang? I've heard so much about Elixir recently.

You have piqued my interest, I've recently gotten back into programming (I do "devops" for work) and don't really consider myself a programmer, but I find languages fascinating. I was lucky enough to join a study group on compiler design with an Apache project leader and while it was over my head, I learned a lot and enjoyed it.

(I know I could look this up, but enjoying the conversation :)

this post was submitted on 12 Jul 2023
21 points (100.0% liked)

Programming

13269 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS