watt
syn
watt | syn | |
---|---|---|
21 | 19 | |
1,222 | 2,667 | |
- | - | |
7.3 | 9.6 | |
15 days ago | 7 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.
watt
-
Rust devs push back as Serde project ships precompiled binaries
The precompiled binary is not a sandboxed WASM binary. Despite the name "watt" it has nothing to do with https://github.com/dtolnay/watt . You can look at the actual code to see for yourself.
- Arbitrary code execution during compilation – rust
-
syn v2.0.0 released
* Related: watt is one approach to pre-compile proc-macro crates using WASM.
-
My first year with Rust: The good, the bad, the ugly
In addition to thiserror and anyhow, our resident superhuman Rust-improving Robot, dtolnay, also developed an experiment in distributing precompiled proc macros as WebAssembly named Watt and, though I never bothered to create a Zulip account so I don't know what was said, I'm told there has been discussion around the idea of implementing something in that vein.
-
Rust is coming to the Linux kernel
I think when we have Cranelift, Mold, and maybe Watt all working together then compile times will basically be a non-issue. It'll be a few years though.
- watt: Runtime for executing (Rust) procedural macros as WebAssembly
-
Security advisory: malicious crate rustdecimal | Rust Blog
Check out https://github.com/dtolnay/watt - it's a really interesting solution to the problem!
-
Backdooring Rust crates for fun and profit
I really like the idea of Watt: https://github.com/dtolnay/watt Run macros in a wasm sandbox so they can't touch anything you don't explicitly allow.
-
NPM malware and what it could imply for Cargo
I really wish there was more interest in getting something like Watt upstreamed.
- Things I hate about Rust, redux
syn
- 对 RTIC 框架的探索
-
Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative
[2] https://github.com/dtolnay/syn/issues/782
- syn v2.0.0 released
-
How to replicate inheritance (kinda) in Rust?
It looks to me like you are trying to make a syntax tree generic over arities. I suggest you take a look at the Expr enum in syn, its variant structs, and the ast_enum_of_structs_impl macro, which is a macro that implements a trait over different Expr variants with different fields.
-
Rust AST Explorer
Rust makes this project easy by providing the syn crate (parsing and formatting) and WASM (for interactivity). Source code lives at https://github.com/CarlKCarlK/rust-ast-explorer. Contributions welcome.
- Parser for Rust Source Code
-
Rust language parsers? Do you have any recommendations?
Perhaps there should, but if you look at the commit history you'll see that syn is maintained almost entirely by dtolnay (https://github.com/dtolnay/syn/graphs/contributors). Furthermore, with Rust continually adding new syntax that needs to be supported, syn can't be easy to maintain and most of the effort probably goes into making it work at all rather than optimisations.
- Syn - Parser for rust source code
- Syn – Parser for rust source code
What are some alternatives?
godot-wasm-engine
rust-fsm - Finite state machine framework for Rust with readable specifications
cargo2nix - Granular builds of Rust projects for Nix
explaine.rs - An interactive Rust syntax playground
cap-std - Capability-oriented version of the Rust standard library
todo_by - Compile-time lifetimes for comments.
kani - Kani Rust Verifier
proc-macro-workshop - Learn to write Rust procedural macros [Rust Latam conference, Montevideo Uruguay, March 2019]
cargo-deny - ❌ Cargo plugin for linting your dependencies 🦀
prae - prae is a crate that aims to provide a better way to define types that require validation.
awesome-wasm-runtimes - A list of webassemby runtimes
negate - Attribute macro that generates negated versions of`is_something` functions