New week, new Rust! What are you folks up to?
Merged a PR from /u/svartalf into
uom (type-safe zero-cost dimensional analysis) to add a number of
ElectricPotential units and then released the change as v0.21.1.
The last few weeks I’ve been researching ways to make
uom more ergonomic. So far I’ve been stymied by the lack of GATs and specialization issues with associated types. I have some additional ideas to look at this week.
I’m new to Rust but I have two learning projects on the go:
The second is a command line tool called mojo inspired by Bullet Journal. The daily entries are markdown files with notes, tasks, etc. I’m looking to make something to help with reviewing previous entries and migrate incomplete tasks to the current entry, or to a backlog for future prioritization. My biggest challenge right now is I want to be able to launch
vim from inside Rust, but Googling is not really getting the results I need
For my job, I’m currently building a blockchain API with dummy implementations to go with the MerkleTree API with even dumber implementation that I built last week. I’m learning a lot about traits.
In personal development, I’m writing a book on memory management in Rust. I’m learning a lot about emory management in Rust.
Not to dissuade the project, but I’ve used https://github.com/vimwiki/vimwiki for similar purposes. It’s pretty nice!
Switched my game from using
amethyst_animation to a logic clock based system, which is much simpler when choosing data based on collection indexes.
Probably deserves a blog post / talk, as the code change was done incrementally, such that it had a “feature toggle” to swap from the old implementation to the new one. Switch was done in one commit, so there’s this nice stat:
50 files changed, 83 insertions(+), 2514 deletions(-)
Btw, this doesn’t negate the value of
amethyst_animation – I didn’t need interpolation / multiple animations starting at different points in time.
Still continuing my journey to Rust contributing to https://github.com/svenstaro/miniserve/
I learn a lot, be it on Rust and on contributing in general. Also, I think the tool is great, and will be awesome when all features will be added. Exit SimpleHttpServer
Managed to publish a little command line utility called vdot today, https://crates.io/crates/vdot.
It can make
.env files from configuration downloaded from Vault.
Very new to rust, so I’m very open to feedback on where I could be doing better, feel free to drop comments in the repository.
I have progressed my mod music player project a bit further by getting to grips with the Rust module system and improving the set of sound effects supported by the player. The rust module system is like the rest of the language. Quite different from other languages but for a good reason.
See https://www.codeslow.com/2019/03/mod-player-in-rust-part-5-rust-modules.html for the full update.