3 ms·
OMR is amazing. It's essentially IBM's J9 virtual machine, with all the man-decades of effort that went into that. However, if you're writing your own JIT lang
by PeCaN 8y ago
OMR is amazing. It's essentially IBM's J9 virtual machine, with all the man-decades of effort that went into that.
However, if you're writing your own JIT language and you've never written one before, you probably want to learn something and write your own GC, JIT, etc. It's really not that hard. Then once you get an idea of how everything works you can use OMR and make it fast.
- qznc 8y agoHow does it compare to PyPy?
- PeCaN 8y agoDon't know yet. IBM has a CPython-based JIT using OMR but it hasn't been publicly released yet. Ruby OMR is a little more public and from what I can tell gets about a 30%-200% speedup. They basically just stapled OMR onto the regular Ruby interpreter, so there's nothing fancy going on yet and those numbers will definitely get higher.
- ufo 8y agoDifferent technology. PyPy/RPython is a more "high level" approach built on top of metatracing while OMR is more low level and geared towards method-at-a-time JIT. (I might be wrong. I worked more with pypy but only know OMR superficially)