[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua evolution and C99
- From: Rob Kendrick <rjek@...>
- Date: Fri, 5 Aug 2011 13:31:03 +0100
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
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.