this post was submitted on 19 Jun 2023
16 points (100.0% liked)
Furry Programmers
293 readers
2 users here now
English-language general programmers community
Please treat pawb.social’s rules as though they were the rules of this community, even if you’re posting from another instance!
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm Vincent! (That's my fursona's name, anyway -- sorry but you're not getting my real one.) I was initially trained on Python, which I'm still quite fond of, but Rust has been my weapon of choice for several years now. Absolutely loving how fast it is.
My current project is a desktop e621 client that supports several search features the site doesn't, like searching for one of two tags but not both, searching for one or more of these AND one or more of these, etc. In order to support these features, I do not use the e621 API for searching -- instead I download a CSV dump of the entire e621 database from https://e621.net/db_export/, load it into RAM, and run the searches locally on the user's machine. Using the excellent
rayon
crate for headache-free parallelism, on the 5700X in my Thinkpad E15 (yeah, I know, E series Thinkpad 🤢) I can search all 4 million posts in around 80 milliseconds. That's still a lot slower than I'd like, but it's a helluva lot faster than I could get if I was writing this in, say, Java.Relatedly, since I wanted this application to have Flash support, I'm now working on a crate allowing you to embed a Ruffle player as a widget inside egui.