On Sat, Sep 26, 2009 at 5:17 AM, john skaller
<skal...@users.sourceforge.net> wrote:
>
> They're not stupid IMHO. A version of Felix generating LLVM which
> does not support closures is still immensely useful.
>
> It is, after all, just as powerful as C but better typed.

True :) Hopefully I'll get closures soon though. I got the frontend
working, so I got all the functions marked if they need stack or heap
closures, now I just got to actually implement them.

Of course now felix keeps optimizing away my closure tests :)

My plan is to just create an explicit structure to store my stack
frame, and use the llvm trampoline intrinsic [1] to hide the pointer
to it in the call to the inner function. Hopefully it won't be too
difficult if I'm ignoring the issue of garbage collection.

[1]: http://llvm.org/docs/LangRef.html#int_trampoline

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to