wasm-by-example VS cxx-wasm-freestanding

Compare wasm-by-example vs cxx-wasm-freestanding and see what are their differences.

wasm-by-example

Wasm By Example is a website with a set of hands-on introduction examples and tutorials for WebAssembly (Wasm) (by torch2424)

cxx-wasm-freestanding

example of a c++ -> wasm build that doesn't use emscripten or any standard library (by nikki93)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
wasm-by-example cxx-wasm-freestanding
1 1
484 3
- -
0.0 10.0
about 2 months ago over 2 years ago
JavaScript C++
- -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

wasm-by-example

Posts with mentions or reviews of wasm-by-example. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-15.

cxx-wasm-freestanding

Posts with mentions or reviews of cxx-wasm-freestanding. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-15.
  • WASM by Example
    16 projects | news.ycombinator.com | 15 Nov 2023
    Hello world just needs to call console.log, so doesn't need libc. Here's an example that builds without libc / emscripten to produce a very small wasm hello world: https://github.com/nikki93/cxx-wasm-freestanding

    You do need some JS code that asks the browser to run the wasm blob. You can't eg. just have a script tag that refers to a wasm blob yet.

    libc does help with things like having an allocator or string operations etc., or for using C libraries that use libc. And that's where emscripten becomes helpful.

    Browser functionality like the console or making html elements is exposed through JS interfaces, and the wasm needs

What are some alternatives?

When comparing wasm-by-example and cxx-wasm-freestanding you can also consider the following projects:

dotnet-pdk - Extism Plug-in Development Kit (PDK) for C# and F#

componentize-py

extism - The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.

dcraw - Mirror of Dave Coffin's dcraw, with full history

cargo-component - A Cargo subcommand for creating WebAssembly components based on the component model proposal.

wit-bindgen - A language binding generator for WebAssembly interface types

scale - A framework for building high-performance plugin systems into any application, powered by WebAssembly.

jco - JavaScript tooling for working with WebAssembly Components

workers-wasi

wazero - wazero: the zero dependency WebAssembly runtime for Go developers