[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Assembler in Lua?
- From: Tony Finch <dot@...>
- Date: Tue, 4 Jan 2011 12:22:56 +0000
On Tue, 4 Jan 2011, beo wulf wrote:
> I want to be able to, in lua, write assembly code,
> which the library then assembles, registers with the lua vm,
> which I can then call into.
> Are there any libraries that make this possible?
Perhaps you can use bits of DynASM to do this.
> The goal here -- if I can do this, then I don't need to write most of
> my code in C++ and then do all this bridging -- I can even write the
> compute intensive parts in lua.
Write the compute-intensive parts in high-level Lua and run the code on
f.anthony.n.finch <firstname.lastname@example.org> http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.