Wednesday, March 6, 2019

Re: Announce: ECMAScript interface for Vim

This should all be negligible, since people will most likely (or at least should) compile the typescript into their plugins. It wouldn't make sense to run the typescript compiler in Vim itself.


Mar 6, 2019, 12:09 PM by bob@pepin.io:

On 6 Mar 2019, at 13.36, Andy Massimino <vimplication@gmail.com> wrote:
What is the performance of duktape like?

Parsing typescript.js (~ 7 MB, 121 K lines) into an AST with Esprima takes 14 s on Duktape, versus 0.5 s on Node.js. Impressive performance by Node.js / V8 indeed. Note however that this still corresponds to around 10 000 lines per second for Duktape.

Also, binary sizes:
-r-xr-xr-x 1 bob staff 28M Mar 6 20:43 /usr/local/bin/node
-rwxr-xr-x 1 bob staff 330K Feb 11 21:56 ../../duktape-2.3.0/duk

Both with no external dependencies to speak of (Duktape is dynamically linked against system libc, node against libc, libc++ and libicu).

Bob

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment