On Wed, 30 May 2007 11:08:44 +0100
"Daniel Cassidy" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> On 5/29/07, blackdog <[EMAIL PROTECTED]> wrote:
> > Simple question, if I wanted to use D to interface to neko would the
> > fact that is also uses the boehm garbage collector present a
> > problem?
> 
> Following on from what Nicolas said, D injects some startup code which
> initialises the garbage collector and runs static constructors, before
> calling the D-style main() function. If you provide a C-style main(),
> this injection doesn't happen and you have to call the D startup
> functions yourself.
> 
> It's necessary to work this way in quite a few cases when working with
> external libraries, and Neko is one of those cases, since you need to
> initialise Neko before initialising D. If you don't already know how
> to do this I have some old (non-Neko specific) code laying about and
> can probably give you a hand getting things working.
> 
> Good luck,
> Dan.
> 

Hi Dan 

If your code is to hand then it would be interesting to check it out. I
don't have a specific need for this right now so it's not imperative.
I've played with D in the past and thought it could be a good lower
level fit with neko. I was primarily thinking of using it just for
extensions to neko, using the C FFI, so always boooting from neko first
and then calling D routines.

Thx

bd

-- 
http://blackdog-haxe.blogspot.com/
http://www.igameware.com

"It is no measure of health to be well adjusted to a profoundly sick
society." --Jiddu Krishnamurti


-- 
http://blackdog-haxe.blogspot.com/
http://www.igameware.com

"It is no measure of health to be well adjusted to a profoundly sick
society." --Jiddu Krishnamurti

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to