Re: [ANN] CLX - Ahead-of-Time Lua 5.5 Compiler
[email protected] Tue, 23 Jun 2026 02:25:57 +0200
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
Yes optimizations pass try to deduce types to generate more efficient C++ code. If inference is not possible then it uses boxed values. Le 23/06/2026 02:05, David Sicilia a écrit : > Does it attempt to do type inference on code (e.g. function parameters, > return values) to increase efficiency of generated code, or does it > leave those values as boxed/generic values? > > On Mon, Jun 22, 2026 at 4:10 PM <[email protected]> wrote: > > Metatables and metamethods are supported and are an important part of > Lua compatibility. > > Optimizations are designed not to change observable Lua behavior. > > If you have a specific metamethod edge case in mind, I'd be interested > in testing it against CLX :) > > Le 22/06/2026 21:13, 'eugeny gladkih' via lua-l a écrit : > > On 22 Jun 2026, at 10:58, Samir Tine <[email protected]> wrote: > > That's a fair question. > The goal is not to intentionally exclude Lua features. In fact, CLX > already supports essentially all Lua 5.5 syntax (including global, > <const> and <close>) and most of the standard library. > The main unsupported areas today are features that fundamentally depend > on runtime code generation or deep interpreter introspection, such as > load(), loadfile(), dofile(), string.dump(), and most of the debug > module. > what about meta tables and meta-methods? suddenly, a+b is not the same > as b+a is :) > > -- > Yours sincerely, Eugeny. -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/ec6008e19c538029c376616ea2724efc%40luart.org [1]. -- You received this message because you are subscribed to a topic in the Google Groups "lua-l" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/lua-l/ingMSR7EZZU/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/CAGW0ud1B5%3DKB%3DBZG32GapKBsBrth_gf4BZoxxuoMsoQptoCQnQ%40mail.gmail.com [2]. Links: ------ [1] https://groups.google.com/d/msgid/lua-l/ec6008e19c538029c376616ea2724efc%40luart.org?utm_medium=email&utm_source=footer [2] https://groups.google.com/d/msgid/lua-l/CAGW0ud1B5%3DKB%3DBZG32GapKBsBrth_gf4BZoxxuoMsoQptoCQnQ%40mail.gmail.com?utm_medium=email&utm_source=footer -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/7ea8244549b53736cc0df2f8b1ebe447%40luart.org.