š¾ Archived View for aelspire.info āŗ posts āŗ 2024-01-06-back-to-rust āŗ post.gmi captured on 2024-06-16 at 12:15:21. Gemini links have been rewritten to link to archived content
ā¬ ļø Previous capture (2024-02-05)
-=-=-=-=-=-=-
Iāve decided to return to Rust as my default programming language.
At this point I think that when I have an opinion, there is only one thing that will surely happen: At some point in future Iāll change my opinionā¦
Since some time Iām working on a personal project of mine, which I always dreamed of. And this time Iām actually making progress, not a big one, but progress nonetheless. And Iām feeling great about it.
Iāve tried to use Hare but I failed. My project requires using some 3D graphic library and windowing library, but available bindings/libraries for Hare are lacking.
What I always liked about Rust was very rich ecosystem of crates. But at the same time thing which made me disillusioned about Rust is very bad combination of build.rs script that runs during build and minimally-moderated central repository where anybody can upload anything. And Iāve moderate opinion about dependencies: Using library for everything including easy things (e.g. left-pad) is bad but going full NIH and implementing everything from scratch is completely unproductive. Developers should use their brains and decide if dependency is worth using or not. Some good-quality windowing library and binding for Vulkan are definitely in worthy dependency territory. So Hare ecosystem seemed severely lacking for my use-case.
Also, there are other things, Iām not particularly caring for, but add slight discomfort about using Hare:
Rust isnāt perfect but with Hare Iām feeling unproductive. There is so much I need to implement by myself, before I can make some progress on actual parts of my projects. So Iāve decided that having fun working on my project has priority over ideological reasons to not use Rust. Itās my hobby, so it should be fun, isnāt it?