Re: Octave Coder __ A code generator and build system that converts Octave to C++
Andrew Janke <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.maintainers |
|---|---|
| Message-ID | <[email protected]> |
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