scale
extism
scale | extism | |
---|---|---|
5 | 47 | |
464 | 3,783 | |
3.0% | 4.3% | |
8.5 | 9.1 | |
5 days ago | 5 days ago | |
C | Rust | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" 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.
scale
-
WASM by Example
This is exactly one of the use-cases for the Scale Framework[1]. (Disclaimer: I work on this project)
You can absolutely take a library from one language and run it in another. In a sense, you could kind of see this ability as drastically reducing the need for rewriting sdks, middlewares, etc. across languages, as you could just reuse code from one language across many others. We played around with some fun ideas here, like taking a Rust regex library and using it in a Golang program via a scale function plugin (compiled to Wasm), to the effect of the performance being ~4x faster than native code that uses Go's regex library.
[1] https://github.com/loopholelabs/scale
- Show HN: Scale โ Serverless functions, in any language, powered by WASM
- Show HN: Write Language-agnostic functions with WebAssembly you can use
-
Announcing Scale: A WebAssembly runtime for running Go functions in any other language
We're currently working on a couple of different projects, but everything we've launched so far (fRPC and Scale) is FOSS.
extism
- Extism: Cross-language framework for building with WebAssembly
- Extism โ make all software programmable. Extend from within
-
Faces.js, a JavaScript library for generating vector-based cartoon faces
Extism can be really useful for packaging up and running cross-language libraries!
The most clear information about it is at: https://extism.org, but its a bit focused on the primary use case for Extism, being a universal plugin system.
There is a C PDK (https://github.com/extism/c-pdk) which you'd probably want to use in a new wrapper around your library in C++, and compile it to wasm32 freestanding or WASI, but without emscripten. Extism doesn't currently have an interop layer to emscripten.
-
Show HN: Now my pet programming language can run in the browser
It may just be my own unique obsession to peek at the internals of .wasm, but if anyone else is curious:
https://modsurfer.dylibso.com/module?hash=ab6f4b2de9db171347...
u/nbittich - curious if you've tried to use your language as as a scripting language inside other apps? I took a peak at your browser wasm environment, and think we could hook up the `compute` entrypoint you have here[0], but I'm not certain what the `ctx` does without going super deep, and if it could be passed into an Extism function[1] (which is how I'd try to run it from within 16+ other languages).
[0]: https://github.com/nbittich/adana/blob/master/adana-script-w...
[1]: https://github.com/extism/extism
-
WebAssembly Playground
Yep, this is one of the initial motivations for creating Extism: https://github.com/extism/extism -- and it works across 16 host languages & 8 guest languages.
-
WASI 0.2.0 and Why It Matters
On the devx, there's definitely some rough edges around building and using Wasm. My company has been working on a framework to ease integrating Wasm into existing applications. One area it focuses on is providing easy data passing between the host program and the Wasm and vice versa. https://github.com/extism/extism We do not have WASI preview 2 support yet, but are interested in integrating it.
- Extism, the universal WASM framework, reaches 1.0
- Extism, the WebAssembly framework, hits 1.0
- Extism 1.0.0 Released
What are some alternatives?
excelize-wasm - A WebAssembly build of the Go Excelize library for reading and writing Microsoft Excelโข (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
wit-bindgen - A language binding generator for WebAssembly interface types
olin - Webassembly + Event Sourcing
WASI - WebAssembly System Interface
plugin-XDCC - ๐ XDCC for webircgateway
wasmtime - A fast and secure runtime for WebAssembly
cup - Git Contribution Automation
wasmer - ๐ The leading Wasm Runtime supporting WASIX, WASI and Emscripten
lagon - Deploy Serverless Functions at the Edge. Current status: Alpha
jssc - Java library for talking to serial ports (with added build support for maven, cmake, MSVC)
yatas-template - Template for creating a plugin for YATAS
nodejs-snowflake - Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)