[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave Coder __ A code generator and build system that converts Octave t
From: |
Hossein Sajjadi |
Subject: |
Octave Coder __ A code generator and build system that converts Octave to C++ |
Date: |
Thu, 4 Jun 2020 21:11:13 +0430 |
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)
- Octave Coder __ A code generator and build system that converts Octave to C++,
Hossein Sajjadi <=
Re: Octave Coder __ A code generator and build system that converts Octave to C++, Andrew Janke, 2020/06/04