Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!






Quoth the VM: I'm not dead yet!

Posted by ApochPiQ, 05 April 2013 · 454 views

Epoch
As I've written about previously, I'm working on destroying the Epoch virtual machine for once and for all.

Tonight I hit a major milestone in that effort: 43 of 54 compiler tests are now passing. This is the result of dozens of bugfixes and a truly hideous amount of surgery on the JIT code.

Of the tests that still fail, there are four major classes of issue:

  • Missing instructions, such as function pointer invocation or other specialized functionality (3)
  • Missing library functions, such as operator implementations (3)
  • Missing features such as marshaling into C libraries (and back out), global variables, specialized types, etc. (4)
  • Bugs due to stripping out so much code at once (1)

Some of these, like missing library functions, are easy to fix; others, such as marshaling and function pointer invocation, will take more time and thought.

All in all, though, this is solid progress and I'm really encouraged. The code base is continuing to shrink and get cleaner, and the lack of a VM to maintain is making the future look very bright indeed.


My one big wishlist item right now is better debugging facilities; figuring out what's going on from disassembly listings is pretty painful at times. It's good low-level debugging practice, to be sure, but it's not exactly optimally productive most of the time.


Once the VM-less compiler is passing all its tests, I'll do some more final polish and look at shipping Release 14 just for fun.




December 2014 »

S M T W T F S
 123456
78910111213
14151617181920
2122232425 26 27
28293031   

Recent Entries

Recent Comments

PARTNERS