[Development] Qt 5.9's new garbage collector documentation? + root_ptr
Phil Bouchard
philippeb8 at gmail.com
Wed Jul 12 21:34:35 CEST 2017
Phil Bouchard <philippeb8 at gmail.com> wrote:
> On 07/11/2017 06:36 AM, Konstantin Tokarev wrote:
>>
>>
>> 10.07.2017, 21:56, "Phil Bouchard" <philippeb8 at gmail.com>:
>>> Phil Bouchard <philippeb8 at 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!
I don't know about you but a minimalist version of g++ embedded inside the
browser could be beneficial big time.
-Phil
More information about the Development
mailing list