[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT 2 ffi (casting / force hotpath)
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 21 Jan 2011 14:24:46 +0200
On Fri, Jan 21, 2011 at 2:05 PM, Mike Pall <firstname.lastname@example.org> wrote:
> Alas, I do have other plans for the next ten years of my life than
> implementing a full-blown C++ compiler. So don't hold your breath.
Having been there, I'd say it's a road of pain. First you have to
handle all the different name-mangling schemes. Then the actual ABI
(does 'this' get passed as a register? How are value objects returned?
). C is a walk in the park in comparison.