lua-users home
lua-l archive

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


Lua 4.0 (alpha) is now available for downloading at
        http://www.tecgraf.puc-rio.br/lua/ftp/lua-4.0-alpha.tar.gz
        ftp://ftp.tecgraf.puc-rio.br/lua/lua-4.0-alpha.tar.gz
        http://csg.uwaterloo.ca/lua/ftp/lua-4.0-alpha.tar.gz
        ftp://csg.uwaterloo.ca/pub/lhf/lua/lua.tar.gz

The other mirrors will be updated soon, hopefully.

The distribution includes an updated reference manual in HTML.
The PostScript and PDF versions in the site are still for version 3.2.

* New in version 4.0 (alpha)
  --------------------------
  + the API is now fully re-entrant.
  + new "break" and "for" statements.
  + cleaner virtual machine -- at least 20% faster.
  + reduced memory usage.
  + code now compiles unmodified as both ANSI C and C++.
  + improved debug API.
  and more!

To use the new API, you need to do
	#define LUA_REENTRANT
before
	#include "lua.h"

The old API is enabled by default as macros in lua.h.
Existing C code that use Lua should compile without change.
Please report any problems to lua@tecgraf.puc-rio.br.

Thanks.
--lhf