12.07.2017, 22:35, "Phil Bouchard" <philipp...@gmail.com>: > Phil Bouchard <philipp...@gmail.com> wrote: >> On 07/11/2017 06:36 AM, Konstantin Tokarev wrote: >>> 10.07.2017, 21:56, "Phil Bouchard" <philipp...@gmail.com>: >>>> Phil Bouchard <philipp...@gmail.com> wrote: >>>>> BTW converting Javascript into C++ seems very easy to do >>>> >>>> In fact, is it me or it would seem that: >>>> - converting the Javascript code into C++ on-the-fly >>>> - compiling the resulting C++ code >>> >>> This approach would have abysmal performance >>> >>>> Would be a more efficient alternative than all these JIT tools? >>> >>> Not at all >> >> Maybe we can benchmark all this stuff once I'm done... just out of >> curiosity. > > Actually I just did a benchmark of my "js2cpp" tool and interpreting the > code using Node.JS and js2cpp generates an executable that is 34 times > faster!
Now add time of compilation to the sum > > I don't know about you but a minimalist version of g++ embedded inside the > browser could be beneficial big time. > > -Phil > > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development -- Regards, Konstantin _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development