I noticed this Lemmy instance didn’t have a general programmers community, so i decided to create one aimed at discussing programming more in general.

Wether you’re a senior or junior dev, C user or Javascript user, everyone into programming is welcome here, the only rules to follow (so far) are the same ones used by this instance.

  • @AVincentInSpace
    link
    English
    1
    edit-2
    2 months ago

    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.