lua-users home
lua-l archive

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


I do mostly C++ for a living and like a lot its features (not a big fan
of exceptions though). Strangely enough, I have never even wished for
Lua to be in C++. It can be done, to be sure, but the simplicity will be
gone, the performance will likely drop, the size will likely increase.
Given all the above, among bigger, slower and more complex languages Lua
would have much stiffer competition for the programmers' mind share in
addition to losing some of its niche in resource limited applications.

AB 

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Ralph Hempel
Sent: Wednesday, October 24, 2007 11:05 AM
To: Lua list
Subject: Re: Start of Lua rewrite in C++

Colin wrote:
> On Wed, Oct 24, 2007 at 03:14:53PM -0200, Luiz Henrique de Figueiredo
wrote:
>> What's the point of rewriting Lua in C++? The code already compiles
as C++.

> That's a spontaneous brainstorm...

Colin, somebody else will probably chime in here, but the fact that
Lua compiles under straight ANSI C is a complete win for the deeply
embedded field that myself and others use Lua in.

Moving to C++ will flat out not work on many small systems.

Ralph