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

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
	#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