miniblog.
← Back to all posts
Mar 18, 2020 at 07:10
Cute/evil trick for writing a Rust script using a shell header that's a valid Rust comment!
Scripting in rust with self-interpreting source code
I have a soft spot in my heart for rust and a passionate distrust (that has slowly turned into hatred) for interpreted, loosely typed languages, but it’s hard to deny the convenience of being…
Wilfred Hughes
Related Posts
Jul 14, 2017 at 18:27
Cute Rust trick to avoid breaking compatability in new lib versions: import from the new version of the same lib!
semver-trick/README.md at master · dtolnay/semver-trick
How to avoid complicated coordinated upgrades. Contribute to dtolnay/semver-trick development by creating an account on GitHub.
Wilfred Hughes
Shared words: Rust, Cute, trick Score: 75.1
Jan 21, 2023 at 21:50
Rust's RFC 3191 will let libraries package debugger scripts so you get a better experience when using gdb or windbg:
3191-debugger-visualizer - The Rust RFC Book
rust-lang.github.io/rfcs/3191-debugger-visualizer.html
Wilfred Hughes
Shared words: Rust, script, using Score: 67.2
Aug 22, 2017 at 22:19
Great post on writing and optimising an interpreter using Rust:
Redirect
blog.jeffsmits.net/compsci/2017/08/06/a-stratego-interpreter-in-rust/
Wilfred Hughes
Shared words: Rust, writing, using Score: 63.6