On Wednesday, March 6, 2019 at 12:09:58 PM UTC-8, Bob Pepin wrote:
> > On 6 Mar 2019, at 13.36, Andy Massimino <[email protected]> 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

Another idea is to actually support WASM VM inside vim so that plugins can be 
run in any language. 

There are quite a few WASM VMs but this one seems quite small. I haven't 
personally tired it yet.
https://github.com/intel/wasm-micro-runtime

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/3a707515-1787-4400-bee1-8d4a8475eafe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui