Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #39691

Re: Looking for a JavaScript interpreter

Date 2021-03-18 15:28 +0100
From Jean-Francois Moine <moinejf@free.fr>
Newsgroups comp.lang.javascript
Subject Re: Looking for a JavaScript interpreter
Message-Id <20210318152822.bc148c4a2da8280ae8f3ec9a@free.fr>
References <20210317154200.2f685719d07aa0270fea6a3c@g{oogle}mail.com> <20210318093612.4c64c89bc14a9fa55bf45940@free.fr> <2578477.mvXUDI8C0e@PointedEars.de>
Organization Guest of ProXad - France

Show all headers | View raw


On Thu, 18 Mar 2021 12:07:56 +0100
Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote:

> > The best interpreter is QuickJS:
> > 
> >     https://bellard.org/quickjs/
> > or
> >     https://github.com/bellard/quickjs
> 
> Which criteria does it meet, or standard for "interpreters" (AISB, there is 
> no such thing for *ECMAScript-based* *source* code) does it exceed, that 
> make you think that it is “the best”?

For me, the 'best' is the one I can compile on my machine (ARM board),
that starts quickly (see below) and offers enough system primitives
for developing simple tools.

About speed, let's compare quickjs (qjs) and nodejs (node):

$ touch /tmp/toto.js
$ time qjs /tmp/toto.js
    0m00.00s real     0m00.00s user     0m00.00s system
$ time node /tmp/toto.js
    0m02.56s real     0m00.91s user     0m00.24s system

-- 
Jean-Francois Moine <moinejf@free.fr>

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Looking for a JavaScript interpreter Anton Shepelev <anton.txt@g{oogle}mail.com> - 2021-03-17 15:42 +0300
  Re: Looking for a JavaScript interpreter "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-03-17 06:33 -0700
    Re: Looking for a JavaScript interpreter Anton Shepelev <anton.txt@g{oogle}mail.com> - 2021-03-17 18:24 +0300
      Re: Looking for a JavaScript interpreter "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-03-17 11:50 -0700
  Re: Looking for a JavaScript interpreter Jon Ribbens <jon+usenet@unequivocal.eu> - 2021-03-17 15:39 +0000
  Re: Looking for a JavaScript interpreter JJ <jj4public@gmail.com> - 2021-03-18 01:43 +0700
  Re: Looking for a JavaScript interpreter Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-03-18 05:47 +0100
  Re: Looking for a JavaScript interpreter Jean-Francois Moine <moinejf@free.fr> - 2021-03-18 09:36 +0100
    Re: Looking for a JavaScript interpreter Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2021-03-18 12:07 +0100
      Re: Looking for a JavaScript interpreter Jean-Francois Moine <moinejf@free.fr> - 2021-03-18 15:28 +0100
        Re: Looking for a JavaScript interpreter Anton Shepelev <antonius@freeshell.de> - 2021-03-18 18:56 +0300
  Re: Looking for a JavaScript interpreter Anton Shepelev <anton.txt@g{oogle}mail.com> - 2021-03-18 15:57 +0300
  Re: Looking for a JavaScript interpreter "dcwh...@gmail.com" <dcwhatthe@gmail.com> - 2021-07-27 17:51 -0700
    Re: Looking for a JavaScript interpreter "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-07-28 08:26 -0700

csiph-web