Hacker GitHub

← All repos

WebAssembly/wasi-libc

View on GitHub ↗ ★ 1,043 C

WASI libc implementation for WebAssembly

13 mentions on Hacker News by 8 people: 1 story, 12 comments · first 2021-07-15 · latest 2026-08-20

Mentions per year 13 mentions · busiest year 2025 (7)
20082026
  1. …So mathematical libraries in WASM reimplement the trigonometric functions using series. Example: https://github.com/WebAssembly/wasi-libc/blob/2e6fb9d8ee0cdf...
    comment by cyberax · 2026-08-20 · in Turns are Better than Radians (2022)
  2. …like that author. Emscripten provides a libc implementation based on musl, and so does wasi-libc ( https://github.com/WebAssembly/wasi-libc ). If you explicitly list which functions you want to export from your WebAssembly module, the…
    comment by valadaptive · 2026-01-09 · in What happened to WebAssembly
  3. Could this work with https://github.com/webassembly/wasi-libc ? It seems like OP put together their own musl-based libc which is awesome, but being able to compile against WASI would open up a lot of possibilities. This also reminds me of…
  4. …slightly more sophisticated than the rest). There wasn't much appetite for any of it on Emscripten. https://github.com/WebAssembly/wasi-libc/pulls?q=is%3Apr+opt...
    comment by ncruces · 2025-10-08 · in Why we need SIMD
  5. …“reasons.” At this point Go and Zig made the right choice to dump it. I don't know about Rust. https://github.com/WebAssembly/wasi-libc/pull/593
    comment by ncruces · 2025-07-25 · in New Aarch64 Back End
  6. Still trying to upstream my Wasm SIMD libc optimizations. https://github.com/WebAssembly/wasi-libc/pull/586
  7. …of the box, compared to almost everything else; certainly compared to C. Pinging them in an issue: https://github.com/WebAssembly/wasi-libc/issues/580
  8. …rewriting the world, this happens to luckily not be quite true, thanks to projects like wasi-libc: https://github.com/webassembly/wasi-libc Networking is actually much more solved in WASI now than it was roughly a year ago -- threads is…
    comment by hardwaresofton · 2025-02-12 · in WASM will replace containers
  9. Actually, it was in wasi-libc: https://github.com/WebAssembly/wasi-libc/blob/main/libc-bott...
  10. Because it uses WASI which is basically "POSIX for Webassembly". Check out the API: https://github.com/WebAssembly/wasi-libc/blob/main/libc-bott... Symlinks, hardlinks, errno, etc. It's not surprising that it's better supported on Unix…
    comment by IshKebab · 2022-09-20 · in Wasmtime 1.0
  11. Pretty sure you can build it yourself from https://github.com/WebAssembly/wasi-libc given that https://github.com/WebAssembly/wasi-libc/commit/ad5133410f66... is a contribution from a MoCo employee doing a lot of work around toolchains.
  12. There's already wasi-libc: https://github.com/WebAssembly/wasi-libc