A try to build a C runtime library for WebAssembly
This name is from Gary Bernhardt "The Birth & Death of JavaScript", where a world of metal web applications is conceived. This library is aimed to be a building block of early metal applications, whose performance is near native.
To achieve this goal, this library is written from scratch, including math
functions. The math functions, especially float
ones, take advantage of
modern architectures to achieve both speed and accuracy. Most of them produce
faithfully rounded results (error < 1 ulp) in reasonable time.
Currently only clang meet these requirements.
- WebAssembly backend
- GCC-compatible builtins
- ILP32 or LP64 data model
- dlmalloc - Doug Lea's malloc with other memory management routines