dyon
wizer
dyon | wizer | |
---|---|---|
10 | 10 | |
1,723 | 879 | |
0.5% | 1.6% | |
5.4 | 7.1 | |
2 months ago | 17 days ago | |
Rust | Rust | |
Apache License 2.0 | 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.
dyon
-
Dada, an Experiement by the Creators of Rust
Reminds me of Dyon, a scripting language for Piston.
It's dynamically typed and uses lifetimes instead of a garbage collector.
https://github.com/PistonDevelopers/dyon/issues/173
- RustPython
-
what libraires/franeworks/engines do you guys prefer?
Piston + Dyon is a nice combo. If I need something simple, then I use Dyon-Interactive.
-
Finally it clicked
Another way to learn is by using Dyon, which has a lifetime checker, but no borrow checker. In Dyon, you only need to put mut in front of arguments, so it is a little more ergonomic than in Rust, but you'll love the extra safety in Rust when maintaining libraries.
-
Fornjot – The world needs another CAD program
This should be a good use-case for rust-based scripting languages, I think.
I loosely followed a project of that kind a while ago, I don't quite remember if it was Gluon [0] or Dyon [1]. Not sure if these are still active, or if another competitor showed up in meantime.
___
[0] https://github.com/gluon-lang/gluon
[1] https://github.com/PistonDevelopers/dyon
- Add WASM Support by codehz · Pull Request #702 · PistonDevelopers/dyon
-
Which scripting languages work well embedded with Rust?
Dyon
-
Which is the best Rust scripting language for Exploratory Data Analysis (EDA)
These are the scripting languages i saw recently gluon, gleam, dyon, rune, mun. I like mun most because it resembles rust most. There is also this and this thread.
-
It's not much, but I graduated from middle-school today with Rust as my language of choice
Dyon is a pretty cool Rust-like scripting language.
- Dyon – A rusty dynamically typed scripting language
wizer
-
RustPython
> once by the wasm runtime to compile the rust-python wasm
I'm not sure what you mean by that. The runtime doesn't compile WASM, it simply executes it.
There are tools for dealing with interpreter runtime overhead this by pre-initalizing the environment like Wizer[0]. ComponentizeJS[1] uses it to pre-initialize the Spidermoney engine it packages to gain fast startup times (and you can then prune the initialization only code with wasm-opt). As techniques like ComponentizeJS are also being applied for a specific set of interpreted files, you can even prune parts of the interpreter that would never be used for that specific program. If you want to go even further you could record specific execution profiles and optimize further by those.
[0]: https://github.com/bytecodealliance/wizer
[1]: https://github.com/bytecodealliance/ComponentizeJS
- Are V8 isolates the future of computing?
-
Netlify Edge Functions: A new serverless runtime powered by Deno
Edge functions are typically run intermittently, with their runtime stopped to free up resources between runs. Therefore a big factor is startup and shutdown speed. Containers are pretty bad there. Deno is better, and WASM is unbeatable, especially with things like Wizer[0].
[0]https://github.com/bytecodealliance/wizer
-
Building a WebAssembly-powered serverless platform
I imagine startup cost could be amortized by something like wizer: https://github.com/bytecodealliance/wizer
-
Containerless! How to Run WebAssembly Workloads on Kubernetes with Rust
There are security benefits to running each request in its own instance, as it helps prevent accidental leaking of state between requests. To avoid doing lots of expensive initializations, we have a tool called wizer which lets users run their program's initialization once, create a snapshot, and then use that snapshot to do fast startups that don't rerun the whole initialization each time.
-
Is it possible in Rust to save the complete state of a program and restore it later? Such as may be accomplished in some implementations of Common Lisp
See https://github.com/bytecodealliance/wizer for an implementation of this approach.
-
Bytecode Alliance
It should probably be named "Making JavaScript to startup fast on WebAssembly", since the runtime speed is not really improved by the approach they exposed.
Besides that I think Wizer [1] is both an elegant and a simple solution to speed up startup speed with Wasm.
[1] - https://github.com/bytecodealliance/wizer#using-wizer-as-a-l...
-
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.
- Wizer: snapshot an initialized Wasm instance and save the result as a new, pre-initialized Wasm module. Up to 6x faster start up on my test workloads
- Wiser: snapshot an initialized Wasm instance and save the result as a new, pre-initialized Wasm module. Up to 6x faster start up on my test workloads
What are some alternatives?
Rhai - Rhai - An embedded scripting language for Rust.
quickjs-emscripten - Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions
Ketos - Lisp dialect scripting and extension language for Rust programs
TablaM - The practical relational programing language for data-oriented applications
rascal - A simple Pascal interpreter written in rust.
wasmtime - A fast and secure runtime for WebAssembly
mun - Source code for the Mun language and runtime.
go - The Go programming language
rune - An embeddable dynamic programming language for Rust.
go-wasm-bake - Experimenting with eager evaluation of Go WASM code
gluon - A static, type inferred and embeddable language written in Rust.
wagi - Write HTTP handlers in WebAssembly with a minimal amount of work