Re: vm02 update
- From: David Schmenk <dschmenk@xxxxxxxxxxxxxx>
- Date: Thu, 07 Aug 2008 07:53:50 -0700
John B. Matthews wrote:
In article <COSdnfgSdOGUfwfVnZ2dnUVZ_vqdnZ2d@xxxxxxxxxxxx>,Insane or STOOOPID? No, don't answer ;-) Exceptions are now working. I have to write a bunch of exception classes and fill them in the VM instead of the error messages I had. And it still fits under $4000! I will update some of the older classes to reflect a couple of changes I've made and release an image. Then let the stupidity, I mean insanity, ensue.
Steven Hirsch <snhirsch@xxxxxxxxx> wrote:
David Schmenk wrote:Instead of posting a disk image, I thought I would just print a few classes showing of the current progress. Believe it or not, the core VM is almost done. Only exception handling remains as the last language feature to implement. Garbage collection, finalizers, multi-dimensional arrays, and many bug fixes are implemented. And still consuming under the $4000 address of HGR2. Let me tell you, these last few details have been by far the hardest due to massive recursion and very difficult to track down side-effects. I implemented garbage collection using reference counting due to its simplicity and small size. As objects are completely unreferenced, the finalizers are run and the memory immediately reclaimed (memory is very tight). Unfortunately this can lead to all sorts of chaos with asynchronous finalizers, memory dynamically moving around, and such. Actually, its kinda cool to watch it do its thing - when it doesn't trash memory, that is. I've now got it pretty stable (all my test cases run) and wrote an interface to ProDOS to see how much I could write in java. Quite a bit, as it turns out. Here is my ProDOS class:Major cool. Nice work, Dave!
You are INSANE! Um, let us know when there's an update, so we can be insane, too:-)
Dave...
.
- References:
- vm02 update
- From: David Schmenk
- Re: vm02 update
- From: Steven Hirsch
- Re: vm02 update
- From: John B. Matthews
- vm02 update
- Prev by Date: Re: vm02 update
- Next by Date: Re: vm02 update
- Previous by thread: Re: vm02 update
- Next by thread: Re: vm02 update
- Index(es):
Relevant Pages
|