Embed Crystal code directly in Ruby
github.com
Embed Crystal code directly in Ruby
1–10 of 65 posts
Re: Embed Crystal code directly in Ruby
#2Re: Embed Crystal code directly in Ruby
#3Re: Embed Crystal code directly in Ruby
#4Re: Embed Crystal code directly in Ruby
#5Re: Embed Crystal code directly in Ruby
#6Re: Embed Crystal code directly in Ruby
#7Everything old is new again… https://github.com/seattlerb/rubyinline (2002)
Re: Embed Crystal code directly in Ruby
#8Wonder if it would be possible/useful to have the Ruby interpreter itself identify eligible functions and "crystalize" them automatically
Re: Embed Crystal code directly in Ruby
#9Wonder if it would be possible/useful to have the Ruby interpreter itself identify eligible functions and "crystalize" them automatically
It would definitely be possible, but I would really hate to see coupling like that added to ruby. I also worry that it would make it too magical and difficult to figure out what code is running, where and when. Debugging an issue deep in the bowels of that is a scary thought.
Coming from both python and statically-typed languages, your description 100% squares up with every experience I've had with ruby
Folks are free to throw stones at the Spring Framework similarly, it's not out of bounds, but ruby seems to embrace the monkeypatch