Stop Hiding the Sharp Knives: The WebAssembly Linux Interface

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. wasix-libc

    wasix libc implementation for WebAssembly

    Very few things are impossible on tech land.

    I'd like to invite you to https://wasmer.sh/, where you'll see bash compiled to Wasm and working fully on the browser, using fork under the hood.

    Also, this example might be enlightening: https://github.com/wasix-org/wasix-libc/blob/main/examples/f... (feel free to chime into the examples folder, where you may see other previously-thought-impossible accomplishments, such as longjmp and setjmp working fully on the browser).

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. wasi-sdk

    WASI-enabled WebAssembly C/C++ toolchain

    I would really love being able to take any POSIX command line tool, compile that to WASI, and run it on (at least) Linux, Windows and macOS like a regular executable without having to install a separate WASI runtime.

    I'm a 'WASI convert' since I was able to take an ancient 8-bit assembler written in the mid-90's (http://xi6.com/projects/asmx/), compile that as-is with the WASI SDK (https://github.com/WebAssembly/wasi-sdk), and then integrate it into a VSCode extension (https://marketplace.visualstudio.com/items?itemName=floooh.v...).

    A similar problem is I have is a shader cross-compiler (https://github.com/floooh/sokol-tools) which needs to run Linux, macOS and Windows and takes too long to build locally, thus I currently need to distribute that as pre-built binaries. Compiling this to WASI works, but the filesystem access restrictions built into current wasm runtimes are a hassle to manage, and it would require a WASI runtime to be separately installed).

  4. sokol-tools

    Command line tools for use with sokol headers

    I would really love being able to take any POSIX command line tool, compile that to WASI, and run it on (at least) Linux, Windows and macOS like a regular executable without having to install a separate WASI runtime.

    I'm a 'WASI convert' since I was able to take an ancient 8-bit assembler written in the mid-90's (http://xi6.com/projects/asmx/), compile that as-is with the WASI SDK (https://github.com/WebAssembly/wasi-sdk), and then integrate it into a VSCode extension (https://marketplace.visualstudio.com/items?itemName=floooh.v...).

    A similar problem is I have is a shader cross-compiler (https://github.com/floooh/sokol-tools) which needs to run Linux, macOS and Windows and takes too long to build locally, thus I currently need to distribute that as pre-built binaries. Compiling this to WASI works, but the filesystem access restrictions built into current wasm runtimes are a hassle to manage, and it would require a WASI runtime to be separately installed).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • WASI: WebAssembly System Interface

    6 projects | news.ycombinator.com | 5 Aug 2023
  • A First Look at Wasm and Docker

    2 projects | dev.to | 6 Nov 2022
  • whats all the fuzz about wasi-libc?

    3 projects | /r/Gentoo | 17 Jun 2022
  • WebAssembly and Back Again: Fine-Grained Sandboxing in Firefox 95

    7 projects | news.ycombinator.com | 6 Dec 2021
  • Use CC++ code in DENO using WASM: In VSCODE, using WASI SDK

    3 projects | dev.to | 6 Apr 2021

Did you know that Shell is
the 11th most popular programming language
based on number of references?