Skip to content

Comment on Spinel: Ruby AOT Native Compilerparent

Comments

It seems like a compiler from Ruby to Objective C could support all the Ruby features while still being more performant than interpreted Ruby.

Or even just a compiler to C piggybacking off <objc/runtime/objc.h>; I think Apple still spends a lot of time making even dynamic class definition work fast. I haven't touched Cocoa/Foundation in a while, but I think (emphasis on think) a lot of proxy patterns in Apple frameworks still need this functionality.

there was MacRuby[0] which I seem to remember had an AoT compiler and was built on the ObjC foundation but was later abandoned.

[0] https://en.wikipedia.org/wiki/MacRuby

It was basically forked into RubyMotion, which is closed source but actively developed.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.