The incoming branch received a large update with the merge of the
musl-syscalls branch. See

https://github.com/kripken/emscripten/issues/2701

for details. To summarize,

 * Emscripten now uses printf etc. from musl, replacing our old JS code for
it. The same is true for other bits of libc. This improves a bunch of libc
bugs we have had, and makes printf etc. much faster.
 * musl uses linux-style syscalls, which Emscripten implements. So musl's
printf does a syscall to actually print out characters, and Emscripten
implements that syscall. This is a smaller API than all of libc, and so is
easier to maintain.
 * This means more compiled C code, which means tiny "hello world" programs
are larger. However, optimized builds of normal-sized projects are often
smaller (see numbers in the github issue).

This update changes libc in significant ways, which may affect your
projects. Portable code should be fine, but e.g. we supported some glibc
extensions to printf that musl does not. See

https://github.com/kripken/emscripten/issues/2701#issuecomment-110906712

for a list of potential issues.

Please test your codebases and report any problems.

- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to