[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Optional static types for Lua - experimental derivative Ravi
- From: Dibyendu Majumdar <mobile@...>
- Date: Sun, 18 Jan 2015 20:03:51 +0000
On 18 January 2015 at 19:27, Richard Hundt <richardhundt@gmail.com> wrote:
> Ah, okay, hence the additional ops. That's got me thinking: wouldn't
> it be feasible to do run-time instruction specialization without the
> need to add syntax (so you'd patch in your new ops dynamically)? If it
> worked though, you could run vanilla Lua modules and perhaps get a
> performance boost. Maybe that's a ton of work though without
> substantial gains because recording, narrowing/widening overhead might
> be too high to be beneficial. Dunno. Just an idle thought.
>
I guess you mean something like Luajit? Maybe, but that is beyond my
knowledge at present ... so I am going for the simpler solution. Also
then there would be not much point as Luajit does it better than I
ever could.
Regards