Skip to content

Comment on Spinel: Ruby AOT Native Compilerparent

Comments

>eval, send, method_missing, define_method, as a non-rubyist how common are these in real-world code?

The interesting bunch (to me, based on experience) is `eval`, `exec`, and `define_method` (as well as creating new classes with `Class.new` `Struct.new`). My sense is that the majority of their use is at the time of application boot, while requiring files. In some ways, it is nearly a compilation step already.

AboutSource Built by g1lg1l

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