Wow! Ruby was the first programming language I learnt and I still love it. Crystal is going to add features I've always missed: static typing and compilation. Thank you guys, it will be awesome!
The Crystal Programming Language
51–60 of 180 posts
Re: The Crystal Programming Language
#52I love that we're getting new languages lately, but almost all of them seem to be ignore the significant new requirement of our age: parallelism & concurrency. Specifically, you need lightweight processes and no-shared-memroy architecture. While the number of cores on a machine is remaining relatively low, the number of machines in a system are going up. Erlang got this right and build a lot of infrastructure around…
Yes. I expect this to be the norm in future languages. App developers shouldn't have to worry about these kind's of things, and we can just focus on making apps. Parallelism and concurrency should just work out of the box.
Re: The Crystal Programming Language
#53Wow! Ruby was the first programming language I learnt and I still love it. Crystal is going to add features I've always missed: static typing and compilation. Thank you guys, it will be awesome!
You missed compilation?
Re: The Crystal Programming Language
#54Re: The Crystal Programming Language
#55Now someone convince Matz to reimplement Ruby in crystal, add optional typing to CRuby, and you have won big time.
[1] https://www.omniref.com/blog/blog/2014/11/17/matz-at-rubycon...
Re: The Crystal Programming Language
#56I'm looking for something beautiful like Ruby but fast like Go. Do you think Crystal fits this bill? Also, are there packages/libs/gems for Crystal? What are they called? What do I google for? One of the major reasons why I dumped Go is that it's just too verbose and makes me write too much boilerplate code. I want to sort a collection and I have to write the same algorithm every single time for every single type. It…
Re: The Crystal Programming Language
#57Just curious, why Crystal? It looks just like Ruby. What problem(s) are you addressing with Crystal?
We like the way Ruby lets you quickly prototype things, but its performance isn't very good (it's just good) and it also lacks static type checks (for example "undefined method '...' for Nil" is a very common runtime error). So, we are trying to create a language with all the nice aspects of Ruby but with static checks and better performance. Of course that comes at a price: no dynamic aspects (no eval, no instance_e…
I'm really interested in performance. Do you have some honest and realiable benchmarks comparing Crystal to both MRI and Rubinius?
Re: The Crystal Programming Language
#58Python is to Nim as Ruby is to Crystal.
Re: The Crystal Programming Language
#59I'm looking for something beautiful like Ruby but fast like Go. Do you think Crystal fits this bill? Also, are there packages/libs/gems for Crystal? What are they called? What do I google for? One of the major reasons why I dumped Go is that it's just too verbose and makes me write too much boilerplate code. I want to sort a collection and I have to write the same algorithm every single time for every single type. It…
Re: The Crystal Programming Language
#60Earlier quoted context omitted.
I recommend adding something about static type checking to the list at the top of Crystal's homepage. I saw "never have to specify the type of...", and believed it was another dynamically typed language. I actually didn't know it had static type checking until I had closed the tab, and glanced at this comment you posted here. (I know, I didn't read very far in the linked page.) That aside, it looks neat! :)
You are right, it's far from obvious after reading that list. I updated it. Thanks!
I recommend stating something like "No unexpected nils at runtime" and for those curious, a link for where to read more. Not having nil is basically the most important feature in most new languages I take the time to play with. Now that I know Crystal treats nil responsibly, I'm really keen to start playing with it.