Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor5192hLong enough to beat @12bitfloat :P
Extracting books.
Extracted books.
***benchmarking***
Time C: 1.597700595855713
Time Rust: 11.118101596832275
Time CPP: 4.090646266937256
Time Borded CPP: 2.62941575050354
Time Jest Rust: 5.983397006988525 -
retoor5192h@jest_dotty go to https://library.molodetz.nl -> click on books (is not a link...) and download the markdown version of ultimate-rust-2025 guide to give to LLM before you ask it questions. It contains information about the most common libraries and concurrency and so on. There is also a prompt built in so the LLM will use that reference when generating source. Hopefully now LLM's will provide decent (modern) Rust code. I do the same for python libraries and such. The source code is not AI crap - are real snippets from internet and only new modern ones. You can also search in it (prompt against it): https://devrant.molodetz.nl/preview...
It's not completely finished yet, but I do so much deep researches with massive prompts, that i decided to save the result. Will just add to the knowledge bank from now on.
Related Rants
https://youtube.com/watch/... 🪦
I've been in rust-land too long
maybe I'm not incapable. I hear another language mentioned and I'm like "oh that's so easy" where before I had the energy to argue that I just didn't like it. now my spirit is broken and tattered and I've yet to even finish anything of any significant size or feature-list in rust, at least not to the degree my standards would've been at somewhere else. I wasn't an incapable programmer before =-=... so maybe it's all because of this quest
imperative. imperative. spell out every insignificant detail. you can never abstract away actually duplicate logic. but you'll find you'll have to duplicate concepts in code that never needed duplication before. over and over and over again.
by this point I have the vision to see what all the operations I need done are the same no matter the way I structure my code. be it a process / operating system, a slotmaps, something linear and basic, or this events system I made up... the domain logic is all the same. I don't optimize the domain logic anymore. I just want the most basic thing to work and it's sad. it doesn't solve any problems. it just gives me new ones. to the point where I'm not doing anything fancy anymore. I'm not doing anything majestic. I just don't have the energy. I just want it to work and I can't get anything that isn't super simple to, without becoming very ugly and having lots of cringe edge cases. fuck I loved the beauty of capturing all the edge cases with a super simple line in JavaScript: it was fucking elegant.
I think everybody is just lying to themselves. I've not seen a person start and finish a rust project. I've seen them get stuck in refactoring / rewrite hells worse than every other language though. you assume it's normal but in rust it really isn't. it's so so so much worse. it feels normal but that's a lie. it's exponentially worse -- other languages maybe 2-3 rewrites (the third because you're picky). rust it's normal to be on the 6th and you've barely moved wtf. I've not seen a single person make it out. hell even established libraries are full of rot, regularly rewriting parts of themselves. he's right. they're just powered by slogans. how is this a serious language? reinvent the baseline. reinvent the baseline.
rant
rust