[bitc-dev] {,de}allocation

Pierre THIERRY nowhere.man at levallois.eu.org
Sat Jan 27 04:49:37 CST 2007


I may have missed it in BitC specification, but I didn't find anything
about how value and ref types will be allocated and, for ref types,
manually deallocated.

I suppose that at least in the bootstrapping of the language, using some
kind of free primitive will be necessary (probably at least to write the
GC...).

I'm also wondering how a process like the network stack described in
"Network Subsystems Reloaded" would be written: it should at least be
able to specify where to allocate space for objects according to the
client they will be used for.

I suppose there should be some mechanism to specify the address of the
heap where heap-allocated types would be allocated. The space where this
heap would reside would be given by invoking a capability to the space
bank given by the client.

Curiously,
Pierre
-- 
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.coyotos.org/pipermail/bitc-dev/attachments/20070127/e0e41372/attachment.bin 


More information about the bitc-dev mailing list