grain
wasi-calcit
Our great sponsors
grain | wasi-calcit | |
---|---|---|
3 | 1 | |
3,143 | 1 | |
0.8% | - | |
9.1 | 2.8 | |
6 days ago | 11 months ago | |
Reason | Rust | |
GNU Lesser General Public License v3.0 only | - |
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.
grain
-
Show HN: I'm making a dynamic language in Rust
Tracking issue for native code is here: https://github.com/gleam-lang/gleam/issues/109 unlikely they will directly compile to WASM.
A similar language to gleam built on WASM is grain: https://github.com/grain-lang/grain
-
What excites you today (technologically speaking)?
As an OCaml fan, Iām pretty into what grain has been up to: https://grain-lang.org. Mem management ref: https://github.com/grain-lang/grain/pull/768/files
- New Release Grain v0.4 ā Cereal
wasi-calcit
-
Show HN: I'm making a dynamic language in Rust
Rust really has a great support for WASM. I made a tiny language as well, and managed to build targeting WASM in a few steps https://github.com/calcit-lang/wasi-calcit/blob/main/.github... .
Tips to notice is WASM runs inside a sandbox, which means threads, random numbers generator(not sure for WASI), FFIs, etc. have to be moved out of the core to prevent them being compiled to WASM, which would probably fail. For major part of the code, they can be compiled to WASM and WASI(WASM System Interface) very easily.
What are some alternatives?
assemblyscript - A TypeScript-like language for WebAssembly.
gleam - āļø A friendly language for building type-safe, scalable systems!
fpp - Falcon Player
sphinx-lang - An intepreter for a simple dynamic language written in Rust
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
wasp - š Wasp : Wasm programming language
wasmer - š The leading Wasm Runtime supporting WASIX, WASI and Emscripten
wasm.cljc - Spec compliant WebAssembly compiler, decompiler, and generator
Crafting Interpreters - Repository for the book "Crafting Interpreters"
awesome-wasm-langs - š A curated list of languages that compile directly to or have their VMs in WebAssembly
wasmtime - A fast and secure runtime for WebAssembly