Re: [ANN] CLX - Ahead-of-Time Lua 5.5 Compiler
[email protected] Tue, 23 Jun 2026 11:56:41 +0200
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your questions ! Current optimizations include constant folding, constant propagation, dead code elimination, function inlining, native number fastpaths, and tail-call optimizations when applicable. CLX also performs a number of Lua-specific simplifications during code generation. CLX does not currently perform full static type inference. It relies primarily on compile-time analysis and specialization when types can be determined with sufficient confidence. Generated functions currently operate on CLX runtime values rather than directly exposing native C++ signatures. The Lua C API is not supported today. CLX provides its own C++ module API, although some form of compatibility layer may be explored in the future. Le 23/06/2026 08:07, 'Sewbacca' via lua-l a écrit : > What kind of optimizations do you have implemented and how do you infer > parameter types? Are the resulting C++ signatures directly callable > from C++? And is C API interop planned at some point (so one is not > excluded from the already existing ecosystem? > > A very interesting Project you have here =) > > ~ Sewbacca > > 23.06.2026 02:26:07 [email protected]: > >> Yes optimizations pass try to deduce types to generate more efficient >> C++ code > > -- > 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/21da9b3e-7fe3-475e-92d6-b450904ebe91%40kolabnow.com > [1]. Links: ------ [1] https://groups.google.com/d/msgid/lua-l/21da9b3e-7fe3-475e-92d6-b450904ebe91%40kolabnow.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/a6996d1deaef99c46bd7b1392ba121fb%40luart.org.