9 ms·
Everything old is new again… https://github.com/seattlerb/rubyinline https://github.com/seattlerb/rubyinline (2002)
by MatmaRex 2y ago
Everything old is new again… https://github.com/seattlerb/rubyinline https://github.com/seattlerb/rubyinline (2002)
- freedomben 2y agoYes the idea isn't terribly new, but this implementation is significantly more elegant (and ruby-ish) thanks to what looks to be a great design and the capabilities of Crystal. rubyinline is neat but honestly not something I'd seriously consider using in a production project. I need to try out crystalruby before I have an opinion on that, but it looks very promising!
- boongeheYOE 2y agoCrystal existed in 2002? This seems way more verbose than the project in the post.
- rco8786 2y agoI don’t think the author is claiming that code interop is new. But this does seem to be the first attempt at interop between crystal and Ruby, which is notable because crystal is effectively a typesafe Ruby.
- nobodywasishere 2y agoThere does exist anyolite https://github.com/Anyolite/anyolite https://github.com/Anyolite/anyolite
- pjmlp 2y agoEven older, https://metacpan.org/pod/Inline::C https://metacpan.org/pod/Inline::C (about 1998)