Language Hacking: Adding Floating Point Numbers https://youtu.be/BgOtygEgUUc
I finally got around to working on Float in our little language! This time, I'm doing it right... using ruby/spec to ensure it's a proper implementation! 💪
#ruby #cpp #programming #video
I wish I could have used the ruby/spec suite from the beginning, but I didn't have enough Ruby implemented to run it...
One hard (fun!) part of implementing a language is building the mental model of the dependency tree, so you know what to implement first, second, and so on...
@seven1m this is where languages like Forth win. :-)
@seven1m ok, well add this to the list of cool things I need to keep up with 🤨 ... subscribed
@seven1m what kind of performance do your compiled ruby scripts get vs. interpreted?
@roberttheiv right now, pretty slow compared to MRI. But I haven’t done much in way of optimization yet. Just having fun!
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko