octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New very simple methodology to create a m-file compiler.


From: Carlo De Falco
Subject: Re: New very simple methodology to create a m-file compiler.
Date: Tue, 7 May 2019 16:32:49 +0000


> Il giorno 07 mag 2019, alle ore 18:06, GoSim <address@hidden> ha scritto:
> 
> The purpose is to make it possible to compile m-files for speed.

just compiling m-code will not necessarily make it faster.
to make compiled code faster you need to avoid all the overhead related to 
dynamic typing.
if you force users to write sections of code that need to be faster without 
dynamic typing you are essentially asking them to use a different language.
but if you need to use a language different from the standard Octave language 
in sections that are to be compiled, why not write them in C++ as .oct files 
then?

c.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]