Phil Bouchard <[email protected]> wrote: > On 07/11/2017 06:36 AM, Konstantin Tokarev wrote: >> >> >> 10.07.2017, 21:56, "Phil Bouchard" <[email protected]>: >>> Phil Bouchard <[email protected]> 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! 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 [email protected] http://lists.qt-project.org/mailman/listinfo/development
