[Vm-dev] [VM-dev] Can we be a JavaScript engine?

Denis Kudriashov dionisiydk at gmail.com
Tue Feb 20 15:44:25 UTC 2018


2018-02-20 16:04 GMT+01:00 Clément Bera <bera.clement at gmail.com>:

>
>
>
> On Tue, Feb 20, 2018 at 3:56 PM, Denis Kudriashov <dionisiydk at gmail.com>
> wrote:
>
>>
>> Hi.
>>
>> It is just a question from the space :)
>>
>> I wonder, can we be a JavaScript engine? Like replacing nodeJs with
>> Pharo/Squeak.
>> I imagine that JS prototypes can be easily supported by anonymous
>> classes. What is missing?
>>
>
> Not really. Efficient prototypes requires deep VM changes in memory
> representation of objects.
>

Performance is another question.
But we can only measure it if we will be able to run JS code.


>
>>
>> Best regards,
>> Denis
>>
>>
>
>
> --
> Clément Béra
> Pharo consortium engineer
> https://clementbera.wordpress.com/
> Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180220/ba5d538e/attachment-0001.html>


More information about the Vm-dev mailing list