[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave Coder __ A code generator and build system that converts Octa
From: |
Andrew Janke |
Subject: |
Re: Octave Coder __ A code generator and build system that converts Octave to C++ |
Date: |
Thu, 4 Jun 2020 17:01:49 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 |
On 6/4/20 12:41 PM, Hossein Sajjadi wrote:
> Dear Octave maintainers,
>
> I have developed an Octave package named "coder" which converts
> Octave .m file to ,oct file. All versions of Octave starting from
> 4.4.0 are supported.
>
> Simple Usage:
>
> octave2oct('myfunction');
>
> Octave instructions, are translated to the intermediate Coder C++ API.
> The intermediate API as its backend uses the oct c++ API and links
> against Octave core libraries. Names and symbols are resolved at
> translation time to get rid of symbol table lookup at runtime and
> there is no AST traversal so the generated .oct files are supposed to
> run faster than the original .m files. Speed-up is usually 3X - 4X
> relative to the interpreter.
>
> The package is hosted at https://github.com/shsajjadi/OctaveCoder .
>
> Any advice, feedback, bug report will be appreciated.
>
> Best Regards,
>
> Hossein
> (Seyyed Hossein Sajjadi)
>
This is very interesting! I know there are a couple other people on that
list who will find this of interest, too. Thanks for your contribution.
Cheers,
Andrew
Re: Octave Coder __ A code generator and build system that converts Octave to C++,
Andrew Janke <=