EMSDK's version of Node.js?

164 views
Skip to first unread message

Steven Johnson

unread,
Oct 26, 2021, 3:18:42 PM10/26/21
to emscripte...@googlegroups.com
Is EMSDK planning on including a version of Node that is more up-to-date? 

emsdk 2.0.32 includes node v14.15.5, which doesn't seem to be up to date with (e.g.) the final wasm-simd128 spec.

It would simplify life for me a lot if I could rely on the current EMSDK install to provide a reasonably up-to-date runtime for wasm, rather than having to install one separately.

Alon Zakai

unread,
Oct 26, 2021, 3:39:13 PM10/26/21
to emscripte...@googlegroups.com
I think our general policy here has been to use the Node that we assume most people are using anyhow (which seems safest for testing and everything else). That generally means Node LTS, since it's what the node download page directs people to, although we've debated that in the past.

It looks like current LTS is 16.13.0, so there has been a release of a new LTS since our 14.*, and we should probably upgrade?

Separately, however, does 16.13.0 have a new-enough SIMD for you?


--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAM%3Ddnve-a1BU3YpxAwkGV9_pYNx%2BY63QuiGHcS6YC8odAVH1KA%40mail.gmail.com.

Steven Johnson

unread,
Oct 26, 2021, 3:43:10 PM10/26/21
to emscripte...@googlegroups.com
On Tue, Oct 26, 2021 at 12:39 PM Alon Zakai <alon...@gmail.com> wrote:
Separately, however, does 16.13.0 have a new-enough SIMD for you?

Good question. Let me check. (What does it claim?)

 

Alon Zakai

unread,
Oct 26, 2021, 6:19:27 PM10/26/21
to emscripte...@googlegroups.com
Node docs say that version uses v8 9.4.146.19,


I believe SIMD was enabled by default in Chromium 91,


which would mean V8 9.1.* would be enough. So that should be new enough. But it would be good to verify.

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.

Steven Johnson

unread,
Oct 26, 2021, 6:31:16 PM10/26/21
to emscripte...@googlegroups.com
Yep, it looks good enough for what I need. SGTM.

Reply all
Reply to author
Forward
0 new messages