[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Assembler in Lua?
- From: beo wulf <beowulf@...>
- Date: Tue, 4 Jan 2011 04:26:35 -0800
I've looked into DynASM, I don't think it's anywhere near what's
needed for this.
On Tue, Jan 4, 2011 at 4:22 AM, Tony Finch <dot@dotat.at> wrote:
> 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.
> http://luajit.org/dynasm_features.html
>
>> 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
> LuaJIT :-)
>
> Tony.
> --
> f.anthony.n.finch <dot@dotat.at> 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.
>
>