Re: [ANN] clx 0.3.0 released

Sérgio Medeiros <[email protected]>
Newsgroups gmane.comp.lang.lua.general
Message-ID <CALgdO_wgkCXwTVYsiqhpfthcoVjKMBfu_=u01kb1vd1mYOFCrQ@mail.gmail.com>
Nice work, Samir. Congratulations.

At https://samyeyo.github.io/clx/ the result of benchmark arraysum for
clx is 0.07s, but it seems it should be 0.70s (as at
https://github.com/samyeyo/clx/blob/main/doc/benchmarks.md).

By the way, I'm reporting this typo here because I could not see how
to create a new documentation issue in the repository (only other
kinds of issues were available).

best,
Sérgio

On Sun, Aug 23, 2026 at 8:09 PM <[email protected]> wrote:
>
> Hi Martin,
>
> Thanks for trying clx, and I'm sorry you've run into this issue.
>
> To avoid cluttering the mailing list, could you please open an issue on GitHub and include your CPU model (or the output of lscpu) along with any other details about your system?
>
> I'll investigate it there.
>
> Samir
>
>
> Le 23/08/2026 23:26, 'Martin Eden' via lua-l a écrit :
>
> On 2026-08-23 22:48, 'Martin Eden' via lua-l wrote:
>
> I'll try it.
>
>
> I've cloned repo and build script produced 500 KB executable (I'm on Linux Mint).
>
> Trying to run it produces error:
>
>   $ ./clx test.lua
>   Illegal instruction (core dumped)
>
> But at least it can print help:
>
>   $ ./clx
>   Usage: clx [options] <file.lua> [<compiler-options>]
>
>   clx Compiler Options:
>     -o, --output <name>   Specify output file name
>     --executable          Build executable (default)
>     --object              Compile to object file (.o/.obj)
>     --static              Compile to static library (.a/.lib)
>     --debug               Enable debug symbols
>     --size                Optimize for size (default)
>     --fast                Optimize for speed
>     --cpp                 Generate C++ source file and exit
>     --minimal             Exclude non-essential Lua modules; keeps base + package
>     --dynamic             Link the embedded Lua 5.5 VM (load/loadfile/dofile)
>     --version             Print version and exit
>     --help                Display this help message
>
>   Compiler Options:
>     Any options starting with '-' not recognized by clx are passed to the C++ compiler.
>     If no compiler options are provided, default optimization flags are used.
>     Example: clx file.lua -O3 -march=native
>
> -- Martin
>
> --
> 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/5e786e5377e0ddf72fedd2a7c0d5d417%40luart.org.



-- 
Sérgio

-- 
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/CALgdO_wgkCXwTVYsiqhpfthcoVjKMBfu_%3Du01kb1vd1mYOFCrQ%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.