cheerp-meta
EmGlue
cheerp-meta | EmGlue | |
---|---|---|
2 | 1 | |
973 | 21 | |
0.5% | - | |
5.7 | 2.5 | |
8 months ago | 4 months ago | |
JavaScript | C++ | |
GNU General Public License v3.0 or later | MIT License |
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.
cheerp-meta
-
Ask HN: Real-world examples of WASM usage
Yours is a fair question. I think that, right now, adoption of WebAssembly is quite limited. On the other hand (here at LeanigTech) we are extremely bullish about its potential.
We believe that this technology would be adopted more with better tooling. Our main contribution to this space is Cheerp: A C++-to-WebAssembly _and_ JavaScript compiler (https://github.com/leaningtech/cheerp-meta/). It is designed to seamlessly take advantage of Wasm without sacrificing easy access to Web APIs, all from within C++ with no need of post-processing and glue code.
We know for a fact that amazing products can be build with Cheerp, because we have done it ourselves.
CheerpX is a x86 virtual machine running in the browser, fully written in C++ and compiled with Cheerp. It includes a JIT-compiler that is able to analyze x86 binary code and emit new WebAssembly modules on the fly.
Our most impressive demo yet (WebVM) is available here: https://webvm.io/
-
A JavaScript optimizing compiler
A similar project, for WebAssembly so with limited scope is this: https://github.com/bytecodealliance/wizer. And somehow similar but limited on LLVM IR a colleague worked on this for Cheerp (the compiler used here as backend): https://github.com/leaningtech/cheerp-meta/wiki/Cheerp-PreExecuter.
EmGlue
What are some alternatives?
wizer - The WebAssembly Pre-Initializer
wasm-fizzbuzz - WebAssembly from Scratch: From FizzBuzz to DooM.
PSI - Private Set Intersection Cardinality protocol based on ECDH and Bloom Filters
skia-opengl-emscripten - DEPRECATED! ~~C++ HTML/CSS UI. Supports subset of HTML/CSS. Based on chromium/cobalt.foo without JavaScript overhead. Uses SKIA 2D graphics library. Can be used to build UI for cross-platform app, game or website. Can support browser as HTML5 web framework or WebGL UI renderer.~~
perspective - A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
gdal-js - This is an Emscripten port of GDAL, an open source X/MIT licensed translator library for raster and vector geospatial data formats.
clang-wasm - How to build webassembly files with nothing other than standard Clang/llvm.
ffprobe-wasm - A Web-based FFProbe. Powered by FFmpeg, Vue and Web Assembly!
obs-studio-node - libOBS (OBS Studio) for Node.Js, Electron and similar tools
nvk - Vulkan API for JavaScript/TypeScript
walt - :zap: Walt is a JavaScript-like syntax for WebAssembly text format :zap:
bergamot-translator - Cross platform C++ library focusing on optimized machine translation on the consumer-grade device.