scale
scale-benchmarks
scale | scale-benchmarks | |
---|---|---|
5 | 4 | |
464 | 4 | |
3.0% | - | |
8.5 | 10.0 | |
4 days ago | about 1 year ago | |
C | Go | |
Apache License 2.0 | - |
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.
scale-benchmarks
-
Announcing Scale: A WebAssembly runtime for running Rust functions in any other language
If you'd like a more apples-to-apples comparison you can run the benchmarks here: https://github.com/loopholelabs/scale-benchmarks/blob/master/regex/main_test.go
-
Announcing Scale: A WebAssembly runtime for running Go functions in any other language
Our example is Rust regex vs Go regex: using Rust regex inside of a Scale Function significantly outperformed using Go's regex natively. If you're interested, you can check out the benchmarks we wrote here.
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
extism - The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.
olin - Webassembly + Event Sourcing
polyglot - A high-performance serialization framework used for encoding and decoding arbitrary datastructures across languages.
plugin-XDCC - 📁 XDCC for webircgateway
polyglot-go-benchmarks - Benchmarks for the Go implementation of Polyglot
cup - Git Contribution Automation
fourmolu - A fourk of ormolu that uses four space indentation and allows arbitrary configuration. Don't like it? PRs welcome!
lagon - Deploy Serverless Functions at the Edge. Current status: Alpha
yatas-template - Template for creating a plugin for YATAS
dotnet-pdk - Extism Plug-in Development Kit (PDK) for C# and F#
frpc-go - fRPC-go is a lightweight, fast, and secure RPC framework implemented for Go that uses Frisbee under the hood