Groups
Groups
Sign in
Groups
Groups
lua-l
Conversations
About
Send feedback
Help
lua-l
Contact owners and managers
1–30 of 478
Welcome to
lua-l
, a list for discussing the
Lua
programming language, its uses, and its implementation. For further information, visit
this page
.
Mark all as read
Report group
0 selected
Jure Bagić
, …
Roberto Ierusalimschy
4
Sep 21
Potential overflow when dumping string size
I overlooked the header completely *facepalm*! On 25/09/21 11:50AM, Roberto Ierusalimschy wrote: >
unread,
Potential overflow when dumping string size
I overlooked the header completely *facepalm*! On 25/09/21 11:50AM, Roberto Ierusalimschy wrote: >
Sep 21
jy l
, …
Roberto Ierusalimschy
4
Sep 21
Assertion failure of `A <= ((1<<8)-1) && B <= ((1<<8)-1) && C <= ((1<<8)-1) && (k & ~1) == 0'
> ./lua -e 'load("local " .. string.rep("_,", 256) .. "_")'
unread,
Assertion failure of `A <= ((1<<8)-1) && B <= ((1<<8)-1) && C <= ((1<<8)-1) && (k & ~1) == 0'
> ./lua -e 'load("local " .. string.rep("_,", 256) .. "_")'
Sep 21
Alexander Walz
, …
Francisco Olarte
6
Sep 20
Mysterious Lua C API functions lua_getallocf() and lua_setallocf()
On Sat, 20 Sept 2025 at 16:21, Alexander Walz <al-a...@t-online.de> wrote: I stumbled about
unread,
Mysterious Lua C API functions lua_getallocf() and lua_setallocf()
On Sat, 20 Sept 2025 at 16:21, Alexander Walz <al-a...@t-online.de> wrote: I stumbled about
Sep 20
Pierre Chapuis
, …
Luiz Henrique de Figueiredo
10
Sep 19
loadk.com LuaRocks mirror abuse
This discussion is off topic here. Let's go back to discussing Lua. Thanks. --lhf
unread,
loadk.com LuaRocks mirror abuse
This discussion is off topic here. Let's go back to discussing Lua. Thanks. --lhf
Sep 19
Lars Müller
, …
Lars Müller
38
Sep 19
Proposal: C API function to check whether a table is a sequence
I have now written a proof of concept, and as expected it is much faster than a user iterating the
unread,
Proposal: C API function to check whether a table is a sequence
I have now written a proof of concept, and as expected it is much faster than a user iterating the
Sep 19
Stefano Cossu
, …
Gé Weijers
6
Sep 19
Lua run as user service cannot find /dev/stderr
Thanks for the suggestions. io.output(io.stderr) works as expected and looks like is much more
unread,
Lua run as user service cannot find /dev/stderr
Thanks for the suggestions. io.output(io.stderr) works as expected and looks like is much more
Sep 19
Edward Gynt
, …
Sainan
8
Sep 15
null pointer exception in luaC_checkfinalizer
> checks the linked list for sanity I should clarify that in this case I mean the 'finobj'
unread,
null pointer exception in luaC_checkfinalizer
> checks the linked list for sanity I should clarify that in this case I mean the 'finobj'
Sep 15
Patrick Kurth
, …
Lars Müller
23
Sep 12
Implementation of named function parameters
I strongly agree with the sentiment. Lua does not need "named parameters". If you want
unread,
Implementation of named function parameters
I strongly agree with the sentiment. Lua does not need "named parameters". If you want
Sep 12
Gé Weijers
,
Roberto Ierusalimschy
2
Sep 11
FYI: LUAI_FUNC etc. on MacOS
> FYI: I found that "__attribute__((visibility("internal"))) extern" works
unread,
FYI: LUAI_FUNC etc. on MacOS
> FYI: I found that "__attribute__((visibility("internal"))) extern" works
Sep 11
Shahar Band
, …
Spar
19
Sep 10
New Lua Style Guide for the Community
Well, believe it or not, but code style is important, but it's up to you what style you want to
unread,
New Lua Style Guide for the Community
Well, believe it or not, but code style is important, but it's up to you what style you want to
Sep 10
Scott Condit
, …
Roberto Ierusalimschy
6
Sep 9
lua 5.5 failing on C++ Exceptions (Linux)
> If building lua as C++ on Debian 6.1.140-1 x86_64, cc is (Debian > 12.2.0-14+deb12u1) 12.2.0
unread,
lua 5.5 failing on C++ Exceptions (Linux)
> If building lua as C++ on Debian 6.1.140-1 x86_64, cc is (Debian > 12.2.0-14+deb12u1) 12.2.0
Sep 9
Martin Eden
, …
Roberto Ierusalimschy
16
Sep 9
RFC: string.sub() address limits
> I'm curious why string.rep() and string.pack() use additional limits > for the size of
unread,
RFC: string.sub() address limits
> I'm curious why string.rep() and string.pack() use additional limits > for the size of
Sep 9
David Favro
, …
Philippe Verdy
6
Sep 7
-O3 triggers compiler warning [x86_64, Linux, gcc]
Why using "int" instead of a "size_t" here? This is signifiant when compiling for
unread,
-O3 triggers compiler warning [x86_64, Linux, gcc]
Why using "int" instead of a "size_t" here? This is signifiant when compiling for
Sep 7
sur-behoffski
Sep 5
Lua on GNU/Linux distros Debian 13.0.0, and Linux Mint 22.2
G'day, Brief update, my GNU/Linux assistant works on recent Debian and Linux Mint releases. This
unread,
Lua on GNU/Linux distros Debian 13.0.0, and Linux Mint 22.2
G'day, Brief update, my GNU/Linux assistant works on recent Debian and Linux Mint releases. This
Sep 5
Benny Isaacs
,
Luiz Henrique de Figueiredo
2
Sep 4
Potential Security issue
> I've discovered a UAF in Lua which leads to native code execution. > How can I report it
unread,
Potential Security issue
> I've discovered a UAF in Lua which leads to native code execution. > How can I report it
Sep 4
Caio Madeira
, …
Luiz Henrique de Figueiredo
3
Sep 2
How do you contribute to Lua's resources while still being in line with its philosophy?
See https://www.lua.org/faq.html#1.8 https://www.lua.org/faq.html#1.9 https://www.lua.org/faq.html#
unread,
How do you contribute to Lua's resources while still being in line with its philosophy?
See https://www.lua.org/faq.html#1.8 https://www.lua.org/faq.html#1.9 https://www.lua.org/faq.html#
Sep 2
Luiz Henrique de Figueiredo
, …
Luau Project
13
Sep 1
Makefile targets
> The motivation is that we have no access to these platforms and so no > way to test these
unread,
Makefile targets
> The motivation is that we have no access to these platforms and so no > way to test these
Sep 1
Roger Leigh
, …
Roberto Ierusalimschy
27
Sep 1
Use of C89 vs C99
> uint8 -> unsigned char > > uint16_t -> unsigned short > > uint32_t ->
unread,
Use of C89 vs C99
> uint8 -> unsigned char > > uint16_t -> unsigned short > > uint32_t ->
Sep 1
Родион Горковенко
, …
bil til
14
Sep 1
Compound assignments as an exercise - hints welcome
Am So., 31. Aug. 2025 um 15:30 Uhr schrieb Frank Dana (FeRD) <fer...@gmail.com>: > > Is
unread,
Compound assignments as an exercise - hints welcome
Am So., 31. Aug. 2025 um 15:30 Uhr schrieb Frank Dana (FeRD) <fer...@gmail.com>: > > Is
Sep 1
mohammadbagher bidram
, …
bil til
13
Aug 31
How Can I Grow as a Young Lua Programmer?
Am So., 31. Aug. 2025 um 11:47 Uhr schrieb mohammadbagher bidram <mbbidr...@gmail.com>: >
unread,
How Can I Grow as a Young Lua Programmer?
Am So., 31. Aug. 2025 um 11:47 Uhr schrieb mohammadbagher bidram <mbbidr...@gmail.com>: >
Aug 31
bil til
Aug 31
The book "Programming in Lua" is correct. If you have problems to follow the examples there
unread,
The book "Programming in Lua" is correct. If you have problems to follow the examples there
Aug 31
Roger Leigh
Aug 30
[PATCH] Test portability fixes for 5.5.0-beta
Hi, I've spent the last day updating my CMake build for Lua to work with the 5.5.0-beta release,
unread,
[PATCH] Test portability fixes for 5.5.0-beta
Hi, I've spent the last day updating my CMake build for Lua to work with the 5.5.0-beta release,
Aug 30
Luau Project
, …
Edoardo Lolletti
13
Aug 27
Review fseek on MinGW / MinGW-w64 on Windows prior to Lua 5.5.0 official release
> Regarding this issue, wouldn't be easier to use the windows api for > these cases? Using
unread,
Review fseek on MinGW / MinGW-w64 on Windows prior to Lua 5.5.0 official release
> Regarding this issue, wouldn't be easier to use the windows api for > these cases? Using
Aug 27
Rett Berg
, …
Philippe Verdy
29
Aug 27
table.push(t, ...) method?
Le ven. 22 août 2025 à 02:46, mjmouse9999 <mjmou...@gmail.com> a écrit : On Friday, August
unread,
table.push(t, ...) method?
Le ven. 22 août 2025 à 02:46, mjmouse9999 <mjmou...@gmail.com> a écrit : On Friday, August
Aug 27
Sainan
, …
Philippe Verdy
8
Aug 27
utf8.offset acknowledges null terminator
Le dim. 24 août 2025 à 16:31, Roberto Ierusalimschy <rob...@inf.puc-rio.br> a écrit : > Hi,
unread,
utf8.offset acknowledges null terminator
Le dim. 24 août 2025 à 16:31, Roberto Ierusalimschy <rob...@inf.puc-rio.br> a écrit : > Hi,
Aug 27
nobody
,
Roberto Ierusalimschy
4
Aug 27
Lua 5.4 (+ 5.5 too probably) OP_SETLIST 32 bit index overflow reachable from Lua source code
> On 2025-08-26 20:37, Roberto Ierusalimschy wrote: > > Can you check whether this change
unread,
Lua 5.4 (+ 5.5 too probably) OP_SETLIST 32 bit index overflow reachable from Lua source code
> On 2025-08-26 20:37, Roberto Ierusalimschy wrote: > > Can you check whether this change
Aug 27
Luiz Henrique de Figueiredo
Aug 25
Lua in TeX
The paper "Lua in TeX" by Hans Hagen has appeared online in the Journal of Computer
unread,
Lua in TeX
The paper "Lua in TeX" by Hans Hagen has appeared online in the Journal of Computer
Aug 25
Luiz Henrique de Figueiredo
, …
Roberto Ierusalimschy
67
Aug 20
[ANN] Lua 5.5.0 (beta) now available
> Few other comments/nitpicks I have noticed: > > [...] Many thanks for the feedback. We
unread,
[ANN] Lua 5.5.0 (beta) now available
> Few other comments/nitpicks I have noticed: > > [...] Many thanks for the feedback. We
Aug 20
Steven
, …
Sainan
3
Aug 19
Does this solve the string __index problem?
We do something similar in Pluto, but instead the check for a number is done in C/the VM. But if you
unread,
Does this solve the string __index problem?
We do something similar in Pluto, but instead the check for a number is done in C/the VM. But if you
Aug 19
Sergey Kaplun
,
Roberto Ierusalimschy
2
Aug 19
Question about inconsistent errmssg for the ERRMEM in the error handler.
> According to the documentation [1]: > > LUA_ERRERR: error while running the message
unread,
Question about inconsistent errmssg for the ERRMEM in the error handler.
> According to the documentation [1]: > > LUA_ERRERR: error while running the message
Aug 19