Mark Fowler sent the following bits through the ether:

> Don't see why this isn't possible

Indeed. All you need to do this is:

  o bytecode and a virtual machine
  o some way of instrumenting said VM to save interesting info
  o ability to rewrite bytecode on fly

OK, I give you Perl, the Perl debugger, and B::Generate. First one to
optimise Perl code (maybe replacing bits of Perl with XS on the fly?)
gets a pat on the back.

Leon, sleeep
-- 
Leon Brocard.............................http://www.astray.com/
Iterative Software......................http://yapc.org/Europe/

... I don't suffer from insanity. I enjoy every minute of it

Reply via email to