I just saw that there is a Ruby to Parrot compiler called Cardinal, which can create code to run on Parrot, which is a VM that can run byte-code. How is the performance of Ruby or any language compile to it and run there because for example, Ruby probably doesn’t have pre-compiled byte code. Can it be faster running on Parrot? Python probably will be better off running as it is because it has .pyc.
I just saw that there is a Ruby to Parrot compiler called Cardinal ,
Share
Parrotdevelopment hasn’t focused on optimisation yet. The roadmap always listed this at version 3 or 4 (Parrotis currently at version 2.9).A big refactor branch which includes ripping out the JIT and replacing it with a new one is currently happening (refs: Lorito & JITRewrite).
The fruits of this should start showing as part of Parrot 3.0 which I think is due next spring.
Update
A likely roadmap has been posted by a Parrot Developer in his blog. Here is a summary of what he thinks the next 3 years maybe:
/I3az/