[self-interest] dynamic deoptimization (was: ARM?)

Jecel Assumpcao Jr. jecel at merlintec.com
Tue Dec 13 17:59:48 UTC 2011


Baltasar,

> 	Say that I create a debug mode, in which the bytecode is interpreted, and that
> I offer a callback that is executed after each instruction in the VM is executed. Say
> that the code is JIT'ed only in the release mode. Wouldn't that eliminate the need
> to that dynamic deoptimization?

If you have a special "deployment mode" which doesn't allow the debugger
to pop up at arbitrary points so that the programmer can then single
step bytecodes from then on, then there is no need for dynamic
deoptimization.

But having explicit interpreter/development and compiler/deployment
modes is a step back to 1960s Lisp, while Self's goals are to have a
great environment for exploration while keeping the "magic" that makes
it all work hidden.

-- Jecel




More information about the Self-interest mailing list