
r/rustjerk

Rust linter for method ordering (looking for feedback)
Hi,
I'm learning Rust (I have experience with Java and Go) and built a small linter funcorder-rs.
It checks that inside impl blocks, methods are ordered as:
- Constructors (
pub fn new() -> Selfetc.). - Public methods.
- Private methods
More than looking if you guys find it useful (which it's also nice) I am wondering if I am using idiomatic Rust, best practices, etc.
This is the link: https://github.com/manuelarte/funcorder-rs
Cheers!
It's over. Node.js is rewriting Cargo. Pack it up boys, RIIR has failed
We spent years rewriting their entire frontend toolchain (SWC, Oxc, Rspack) in pure, blazing-fast, memory-safe Rust to save them 2 seconds of build time.
And how do they repay us? They rewrote our sacred cargo publish in TypeScript just because GitHub Actions is a 'Node.js native environment' and they didn't want to wait for rustup to install.
The audacity. The absolute lack of fear of garbage collection.
Here is the proof of our defeat:https://github.com/tu6ge/publish-action/issues/15
One line, no unsafe, no unwrap -> crashes the entire linux kernel. And "people" have the gall to call this a "safe" programming language.
Don't code while tired/late at night. You'll come back the next day and have to figure out how to refactor things like this:
Yes, that is a struct called bool. How do I refactor this?
Do I have a future with Rust? Because I don't see it.
How can I await it ?
Check out my CCC fork!✨✨✨
In this growing age of ✨✨✨AI✨✨✨ content it is imperative we as rust developers embrace it. Even in the world of C code, there has to be ✨✨✨AI✨✨✨.
This is why I implemented AI(Automatic-quotes In-place-of-string-literals) in the MOST MODERN ✨✨✨C✨✨✨ Compiler written in RUST!!!
https://github.com/wadsaek/claudes-c-compiler/commit/bdaa75cad6d7dd13dcc93b62b2dcd9b7bd818b54