lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Aug 05, 2011 at 08:45:15AM -0300, Luiz Henrique de Figueiredo wrote:
> > I was wondering whether "porting" Lua to C99, i.e. using C99 features to 
> > enhance it, would allow some real advantages over C90.
> 
> What C99 features would enhance Lua? 

Hex floats (portable bytecode), and restrict (more efficient data load
handling.)

Both are in the "would be nice" camp, but I'm not sure they're worth
exchanging for reduced portability as a hole, because so few compilers
have good C99 support, even though they've had over a decade to do it.

B.