2.0.0!

96 views
Skip to first unread message

Alon Zakai

unread,
Aug 19, 2020, 11:25:41 AM8/19/20
to emscripte...@googlegroups.com
Hi everyone,

Last week we released Emscripten 2.0.0. That's a big milestone as it's the first version to not support the old fastcomp backend anymore,


You can still use it by using an older version (the last to support fastcomp is 1.40.1), but the new upstream backend is better in every way! And it's been the default version when you install "latest" etc. for quite a while now.

This is also the first version to not support Python 2.*, and only support 3.*

Both of those don't have immediate benefits, but they are letting us do a lot of cleanups and simplifications. See


We've already improved code quality quite a bit in just a week, and there's a lot more to come. These simplifications will speed up development. They will also unblock some things that were tricky to do while we supported two backends, such as some link time improvements and better debugging support - specifically we aim to do less during -O0 links, both for speed and to properly preserve DWARF info (for example, one of the first parts of that is in https://github.com/WebAssembly/binaryen/pull/3044).

- Alon

Lailton Fernando Mariano

unread,
Aug 19, 2020, 7:13:28 PM8/19/20
to emscripten-discuss
Hi,

Sorry for my stupid question but someone can explain me what is the difference about:
https://github.com/emscripten-core/emscripten and https://github.com/emscripten-core/emsdk ?

I normally use the emsdk to compile my C codes to create the WASM and run into web.

Thanks

Sam Clegg

unread,
Aug 19, 2020, 7:22:10 PM8/19/20
to emscripte...@googlegroups.com
On Wed, Aug 19, 2020 at 4:13 PM Lailton Fernando Mariano <lailto...@gmail.com> wrote:
Hi,

Sorry for my stupid question but someone can explain me what is the difference about:
https://github.com/emscripten-core/emscripten and https://github.com/emscripten-core/emsdk ?

emscripten is the compiler itself (really a compiler driver) and it has many dependencies such as llvm, nodejs, python, and binaryen.

emsdk is an easy way to install emscripten along with pre-built and tested versions of all its dependencies.


I normally use the emsdk to compile my C codes to create the WASM and run into web.

Thanks
Em quarta-feira, 19 de agosto de 2020 às 12:25:41 UTC-3, alon...@gmail.com escreveu:
Hi everyone,

Last week we released Emscripten 2.0.0. That's a big milestone as it's the first version to not support the old fastcomp backend anymore,


You can still use it by using an older version (the last to support fastcomp is 1.40.1), but the new upstream backend is better in every way! And it's been the default version when you install "latest" etc. for quite a while now.

This is also the first version to not support Python 2.*, and only support 3.*

Both of those don't have immediate benefits, but they are letting us do a lot of cleanups and simplifications. See


We've already improved code quality quite a bit in just a week, and there's a lot more to come. These simplifications will speed up development. They will also unblock some things that were tricky to do while we supported two backends, such as some link time improvements and better debugging support - specifically we aim to do less during -O0 links, both for speed and to properly preserve DWARF info (for example, one of the first parts of that is in https://github.com/WebAssembly/binaryen/pull/3044).

- Alon

--
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/036646c8-e19b-41bc-8c0c-f27ed2b02918n%40googlegroups.com.

Lailton Fernando Mariano

unread,
Aug 19, 2020, 7:45:55 PM8/19/20
to emscripten-discuss
Thanks for reply,
And are there a tutorial how to compile it using hard mode ( emscripten ) and not using the easy mode ( emsdk ) ?

Because if I use a prebuild it mean that it is outdated and all new updates are not available right?

Thanks

Thomas Lively

unread,
Aug 19, 2020, 8:03:43 PM8/19/20
to emscripte...@googlegroups.com
Emsdk is the official way to install new versions of emscripten, so you're not losing out on anything by using it :) Installing all the different parts of Emscripten without using emsdk is actually a huge pain and doesn't have any benefits unless you're doing development on Emscripten itself.

Lailton Fernando Mariano

unread,
Aug 19, 2020, 8:31:40 PM8/19/20
to emscripten-discuss
I got it,

Thank you

Sam Clegg

unread,
Aug 20, 2020, 7:03:53 PM8/20/20
to emscripte...@googlegroups.com
In addition emsdk support a version called "tot".. which means "tip of tree".  If you do `emsdk install tot` you will get pretty much the latest possible version of emscripten all its dependencies.   This version generally contains versions that are no older than an hour or two.

Shlomi Fish

unread,
Aug 21, 2020, 8:14:41 AM8/21/20
to Alon Zakai, emscripte...@googlegroups.com
On Wed, 19 Aug 2020 08:25:26 -0700
Alon Zakai <alon...@gmail.com> wrote:

> Hi everyone,
>
> Last week we released Emscripten 2.0.0. That's a big milestone as it's the
> first version to not support the old fastcomp backend anymore,
>
> https://github.com/emscripten-core/emscripten/issues/11319
>
> You can still use it by using an older version (the last to support
> fastcomp is 1.40.1), but the new upstream backend is better in every way!
> And it's been the default version when you install "latest" etc. for quite
> a while now.
>

Thanks, Alon [and all] for this release and other work on emscripten. I got it
to work for https://fc-solve.shlomifish.org/js-fc-solve/text/ eventually.

> This is also the first version to not support Python 2.*, and only support
> 3.*
>
> Both of those don't have immediate benefits, but they are letting us do a
> lot of cleanups and simplifications. See
>
> https://github.com/emscripten-core/emscripten/issues/11860
>
> We've already improved code quality quite a bit in just a week, and there's
> a lot more to come. These simplifications will speed up development. They
> will also unblock some things that were tricky to do while we supported two
> backends, such as some link time improvements and better debugging support
> - specifically we aim to do less during -O0 links, both for speed and to
> properly preserve DWARF info (for example, one of the first parts of that
> is in https://github.com/WebAssembly/binaryen/pull/3044).
>
> - Alon
>



--

Shlomi Fish https://www.shlomifish.org/
https://is.gd/i5eMQd - Emma Watson’s Interview for a Software Dev Job

Chuck Norris was the 1,000,000,000th viewer of the Gangnam Style video on
YouTube. Summer Glau was the preceding 100 million views.
https://www.shlomifish.org/humour/bits/facts/Summer-Glau/

Please reply to list if it's a mailing list post - https://shlom.in/reply .

robert.a...@gmail.com

unread,
Aug 21, 2020, 9:09:05 AM8/21/20
to emscripten-discuss
Congrats to the team on the 2.0 release! And thank you for this awesome tool, don't know what we would do without it :)

Alon Zakai

unread,
Aug 21, 2020, 12:56:15 PM8/21/20
to emscripte...@googlegroups.com
Thanks!

--
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.
Reply all
Reply to author
Forward
0 new messages