News for hackers. Stuff that matters.
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.