News for hackers. Stuff that matters.
Re:From Ruby to Crystal: A Quick Look by deedubaya on Friday March 24, 2017 @12:32PM (#13950091)
Crystal could be a really powerful tool for enhancing existing Ruby code.

Imagine a world where you write your code in Ruby, but farm out the expensive operations to a Ruby-like Crystal extension (similar to what is commonly done with C or Rust). I think this is possible already (just after a quick Google search[1]), just not friendly for the average Ruby dev to implement.

[1] https://www.slideshare.net/AnnaKazakova/how-to-write-ruby-ex...

Re:From Ruby to Crystal: A Quick Look by prh8 on Friday March 24, 2017 @01:15PM (#13950498)
This is definitely possible-- I've done even more than basic PoC (Anna's slide deck was one of my starting points in fact).

https://github.com/phoffer/crystalized_ruby

Re:From Ruby to Crystal: A Quick Look by deedubaya on Friday March 24, 2017 @06:19PM (#13952685)
This is great, thanks. It seems that it is incomplete, though. What can the community do to support further development?
Re:From Ruby to Crystal: A Quick Look by shawn42 on Friday March 24, 2017 @01:17PM (#13950523)
Sweet. I'm glad to see progress on this already.
Re:From Ruby to Crystal: A Quick Look by pjmlp on Friday March 24, 2017 @03:17PM (#13951464)
When I look at Crystal, what comes to my mind is that it is what Ruby could have been if the community had taken Dylan as inspiration in regards to language design and tooling.
Re:From Ruby to Crystal: A Quick Look by shawn42 on Friday March 24, 2017 @12:42PM (#13950180)
Neat. Thanks for posting that. Hopefully, that process could be cleaned up and streamlined as a lot of it would be repetitive boiler plate.