Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Ideas for the RubyVM::JIT module #89

Open
2 tasks
mgaudet opened this issue Mar 3, 2017 · 0 comments
Open
2 tasks

Ideas for the RubyVM::JIT module #89

mgaudet opened this issue Mar 3, 2017 · 0 comments

Comments

@mgaudet
Copy link

mgaudet commented Mar 3, 2017

There are a couple of interesting possibilities that could be explored with the RubyVM::JIT module.

  • An implementation defined hints hash that would allow passing extra information to the JIT compiler. For example: RubyVM::JIT::Compile(am, hints={:optLevel=scorching, :disableInliner=true})
  • One could imagine feeding RubyVM::JIT::compile a type map, which would be asking for specialized code for that those runtime types: compile(method, types={a: int, b: float}) Useful for debugging and testing.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant