Boost logo

Boost-Build :

From: Alex Besogonov (cyberax_at_[hidden])
Date: 2006-05-15 09:59:37


Vladimir Prus wrote:
>> I think it can be useful to do building while constructing dependency
>> graph at the same time.
>> Any thoughts?
> Right now, I don't see any specific use case that can be benefited from this.
OK, I'll this to my "BJamC++ Wishlist" for some future version.

> Also, how are you going to implement forking inside intepreter? By
> maintaining several contexts and implementing your own scheduler? This can
> quickly become complicated.
My interpreter already can have multiple concurrent contexts because it
doesn't use any shared data (like global variables).

I just need to rewrite interpreter core 'inside out' to use iteration
instead of recursion to support 'context switches' on systems without
vfork and threads. It's not hard because BJam interpreters (mine and the
original one) already use a separate frame stack for Jam rules and actions.

I've done something like this before and it's not really hard to do for Jam.

-- 
With respect,
             Alex Besogonov (cyberax_at_[hidden])

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk