News for hackers. Stuff that matters.
Re:Show HN: Watch and hear macOS robots argue live in your t... by otterpro on Friday February 17, 2017 @09:28AM (#13668421)
I had to do a double-take on the source code, as it looked just like Ruby. It's the first Crystal code (https://crystal-lang.org/) I've ever seen, and the interesting part is that it compiles Ruby-like code into executable. Anyway, the code can be summed up as "Process.run("say -v #{voice} \"#{text}\"", shell: true)", in which it calls "say" command to speak the voice of text file in macOS terminal.

PS: Does anybody know if the goal of Crystal is to be like Go, and if there's any performance advantage using Crystal, compared to MRI?

There are no comments on this comment yet.