I've been playing around with porting an implementation of the Goo (Generic Object Orientator) language [1] to .NET.
Goo is written in Goo but can be compiled to C. I've compiled it to C, and compiled the C code using the Managed C++ compiler. Currently Goo uses the Boehm garbage collector and I want the .NET compiled version to use something .NETish. All Goo needs is the equivalent of GC_malloc which returns a pointer to an area of memory of a selected size. This area being under control of the garbage collector. Can I do similar from Managed C? I'm using malloc at the moment for the port which results in nothing being collected. Pointers to help would be appreciated. The current changes to get Goo to compile under .NET are available at [2]. Goo is a Lisp like language that has multiple dispatch and an extensible type system. It draws influences from Scheme, Common Lisp, Dylan and Cecil. [1] http://www.googoogaga.org [2] http://radio.weblogs.com/0102385/2002/04/26.html Chris. -- http://www.double.co.nz You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.