News for hackers. Stuff that matters.
Re:Crystal 0.28.0 Released by wiremine on Thursday April 18, 2019 @05:43PM (#19695066)
I've been meaning to kick the tires on Crystal, but haven't find the right project yet. Would be curious to hear how people like using it.
Re:Crystal 0.28.0 Released by furi on Thursday April 18, 2019 @09:25PM (#19696289)
I've written a couple things in it, mostly little web servers that serve a questionnaire or something, more recently a Lisp and a rudimentary voice chat. I really really like it. Compared to the languages I'm coming from (C/C++ mostly, some Python & C#) the compile time checking is unparalleled. I frequently find that once I've fixed all the compile time errors the program works first time, something I've never experienced in any other imperative language. The standard library is nice too. It's still missing a couple things, for example hash functions better than SHA1 must be accessed by providing their string names to the OpenSSL module at the moment, but overall it's well designed and miles ahead of C/C++ in functionality. My main gripe is the state of Windows support, it works in the Linux subsystem but I spent three hours trying to work out how, for my voice chat program it involved:

1. Turning on something in PowerShell.

2. Installing something from the Windows store.

3. Adding a new repository to Apt.

4. Installing Crystal and all the dependencies of your application.

5. Compiling your application.

6. Installing PulseAudio for Windows.

7. Connecting PulseAudio for Windows to Linux somehow. (I gave up upon opening the guide for how to do this bit).

Hardly a process an end user can be expected to do.

Re:Crystal 0.28.0 Released by abhijat on Friday April 19, 2019 @05:46AM (#19698191)
What editor do you use for it?
Re:Crystal 0.28.0 Released by renewedrebecca on Friday April 19, 2019 @09:44AM (#19699529)
Visual Studio Code works great for Crystal.
Re:Crystal 0.28.0 Released by gdotdesign on Friday April 19, 2019 @12:18AM (#19697067)
I'm writing Mint (https://www.mint-lang.com - https://github.com/mint-lang/mint) in Crystal.

For me it is a really good experience: for example the last update didn't break anything and I'm able to add features consistently and relatively quickly.

Re:Crystal 0.28.0 Released by Kaze404 on Friday April 19, 2019 @02:42AM (#19697552)
I took a look at Mint's website and it seemed interesting, but I have to say I was sold when I saw that it already has emacs support. I'll definitely play with it a bit :)
Re:Crystal 0.28.0 Released by galfarragem on Friday April 19, 2019 @04:27AM (#19697918)
An alternative front end for Youtube. Not my project:

https://invidio.us | https://github.com/omarroth/invidious

Re:Crystal 0.28.0 Released by jeremycw on Thursday April 18, 2019 @06:00PM (#19695179)
I think it's great. If you're a fan of Ruby it's hard not to like. I'd say it competes with go in many respects. If Ruby is your daily driver crystal is perfect for cases where you need more performance or where non blocking io would be a good fit.
Re:Crystal 0.28.0 Released by bks on Thursday April 18, 2019 @07:43PM (#19695769)
We are using Crystal for our mail flow monitoring tool at mailflowmonitoring.com - create a free account and you can check it in action. It was a delight to deal with. We also created a Crystal email parser - https://github.com/amrood-labs/mail.cr
Re:Crystal 0.28.0 Released by viraptor on Thursday April 18, 2019 @07:06PM (#19695563)
Or where you want to deploy some small tools without worrying about setting up rbenv and dealing with bundler in your config management.
Re:Crystal 0.28.0 Released by mark_l_watson on Thursday April 18, 2019 @07:08PM (#19695577)
Thanks, I have wanted to try it. I will find some small project to use Crystal for.