On Sun, 2005-01-30 at 00:21 +0600, Constantine Plotnikov wrote:
> Ok. Please tell me then how I can write a memory manager (simple 
> malloc/free or garbage collected heap) without such unsafe construct (or 
> its equivalent). Or JIT compiler that needs to create pointer to function.

I am perfectly comfortable if the answer is "you cannot." It is
completely appropriate to resort to assembly-language trampolines here.

The problem here is that you are trying to cross the layer of
abstraction boundary where safety is imposed. Necessarily, you cannot do
that within the safe language subset.

shap

_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to