šŸ’¾ Archived View for aelspire.info ā€ŗ posts ā€ŗ 2024-01-06-back-to-rust ā€ŗ post.gmi captured on 2024-03-21 at 14:45:09. Gemini links have been rewritten to link to archived content

View Raw

More Information

ā¬…ļø Previous capture (2024-02-05)

-=-=-=-=-=-=-

Back to the Rust programming language

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?

Navigation

ā†© Back to home