Follow

Language Hacking: Adding Floating Point Numbers 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! 💪

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 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!

Sign in to participate in the conversation
Mastodon @ SDF

"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