[Ur] Compiling code at runtime
Marc Weber
marco-oweber at gmx.de
Sat Oct 8 05:18:27 EDT 2011
Excerpts from Anand Patil's message of Sat Oct 08 11:06:41 +0200 2011:
> Is it then possible to 'unload' and 'garbage collect' shared objects
> that are no longer needed?
That's a unique feature of Ur that it does not provide gc for speed
reason. HTML generation operates on a chunk of memory - if it is too
small the request starts from scratch.
However you can use alloc interfacing with C - you still don't have a
garbage collector.
AFAIK storage happens outside of ur.
You can try the experimental ruby support .. but that would somewhat
defeat the purpose of urweb
Again you may want to wait for additional more accurate replies.
Marc Weber
More information about the Ur
mailing list