Hi Luke,
_,,,^..^,,,_ (phone)
On Jun 8, 2017, at 3:15 AM, Luke Gorrie <
luke@snabb.co> wrote:
There is nothing inscrutable about the Cog JIT in the standard Pharo and Squeak VMs.Once the VMMaker.oscog package is loaded (and there's a script to build such an image in the image subdirrectory of the opensmalltalk/vm repository) one can either simulate execution of an entire image or use "in image compilation" to compile any single method in the host image to machine code. The JIT is written entirely in Smalltalk. Decompilation is derived from a processor/specific plugin but then decorated by Smalltalk code to produce the most easily read jutted code I've ever worked with.
I don't see how this counts as at all inscrutable.
Sophie Kaleba is a GSoC intern working with Cl��ment Bera, and is extending the Cog VMProfiler with more information about the jutted code. Perhaps there's synergy here?