Software Alternatives & Reviews

WebAssembly With Zig, Pt. II

Zig Emscripten
  1. 1

    Zig

    Zig is a general-purpose programming language designed for robustness, optimality, and maintainability.
    Pricing:
    • Open Source
    The Zig approach is what I am mostly interested in, as the Zig compiler includes shims for targeting WebAssembly. Since Zig can be used as a compiler for C/C++, this means you could skip the Emscripten part entirely and incorporate a build.zig file into your C/C++ project, allowing you to mix C/C++ libraries into a Zig project targeting a WebAssembly backend fairly easily.

    #Programming Language #OOP #Generic Programming Language 143 social mentions

  2. Emscripten is an LLVM to JavaScript compiler.
    Pricing:
    • Open Source
    Implementing said things, however, can be tricky, and the community is kind of spread all over the place. Rust is popular, but involves a lot of crates and boilerplate code being strapped on. C/C++ is an easy way of targeting WASM using Emscripten, and I'm sure it works well, but I feel it fits in the same place as Rust where a lot needs to be strapped on to bring you up to production speed.

    #Email Marketing #IDE #CRM 45 social mentions

Discuss: WebAssembly With Zig, Pt. II

Log in or Post with