Beautiful, thank you. Consider posting this on the Crystal community forum <a href="https://forum.crystal-lang.org/" rel="nofollow">https://forum.crystal-lang.org/</a> as well!
So ruby fans want Crystal to get more publicity and python fans want Nim to get more.<p>Has anyone used both in any serious project, and if so can you compare? I've spent a tiny amount of time with Nim but found documentation, training videos, books etc extremely thin on the ground. Lots of Nim projects on github are ancient and haven't been updated in years. Chat GPT never gave me working code. How is Crystal in this regard? How would you compare their std libraries and available modules?
I read that during the first run, it will be slower because of the crystal code being compiled. Is the compiled code stored somewhere?<p>I am asking this because in that case, can’t I run it myself and share the code with the precompiled parts so others don’t have to experience the slow start?
Wonder if it would be possible/useful to have the Ruby interpreter itself identify eligible functions and "crystalize" them automatically
Hey HN,<p>Author of the gem here. Appreciate the attention!<p>I hacked this together last weekend to scratch an itch and have some fun. This got a lot more attention than I was expecting so early on.<p>I've had to scramble a bit to start hammering this into something that's less prototype, more legitimate project. I hope it's now close to a cohesive enough state that someone trying it out will have a relatively smooth experience.<p>Given the interest, I definitely plan to sink a bit more dedicated time into this project,
to tick off a few key missing features and add some polish.
It would be great to see it grow into something that can be useful to more than just me.
Seems like there's definitely some shared desire for this type of tool.<p>It probably goes without saying that you probably shouldn't convert large amounts of mission critical code to depend on this (for now).<p>It's still early days and the API hasn't been "crystallized" yet...
Everything old is new again… <a href="https://github.com/seattlerb/rubyinline">https://github.com/seattlerb/rubyinline</a> (2002)
Awesome! I’ve been waiting to see if someone would eventually do this. With further refinement this could be a big deal for Ruby. No more “Ruby is too slow”, when you can Crystalize your bottlenecks.<p>One feature it seems to lack is the ability to crystalize instance methods?