[Development] Qt 5.9's new garbage collector documentation? + root_ptr

Phil Bouchard philippeb8 at gmail.com
Tue Jul 11 06:51:39 CEST 2017


On 07/10/2017 05:08 PM, Thiago Macieira wrote:
> On segunda-feira, 10 de julho de 2017 11:56:07 PDT Phil Bouchard wrote:
>> 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
>>
>> Would be a more efficient alternative than all these JIT tools?
>
> No. That would require having a C++ compiler with all the dependent libraries
> on every user's device.
>
> You must run the JS as provided and interact with the plugins as they exist
> today.

Indeed Javascript is not made to run heavy CPU algorithms anyways.

On the other hand, I have good news as I think I have found a way to 
simulate functions that return a function.  I know a Javascript to C++ 
converter is not what we're looking for but it helps me understand these 
cases better.


-Phil




More information about the Development mailing list