https://felipec.wordpress.com/2025/02/13/rust-not-for-linux/
TL;DR: Rust trannies are gay
Look at this retarded syntax, yet MORE weird shit to add onto your required research project to understand basic Rust:
What in the hell is an 'a
Spoiler: the author gives off heckin incel energy:
Jump in the discussion.
No email address required.
I hate rust, but this guy looks like the same sort of
midwit as most rustaceans 
struct person {char name[50]; ...
Jump in the discussion.
No email address required.
Aside from just being a short example avoiding complexity from a variable length name array, maybe in hypothetical situation he knows all input names are guaranteed to be <= 50 chars.
(assuming that's what you mean)
Jump in the discussion.
No email address required.
They better be < 50 chars otherwise you'll have big problems, stuff like
strncpy(person.name, name_src, 50);
will fuck your shit up (yes, using 49 above will work but you'll lose the last char of the name).
Jump in the discussion.
No email address required.
its like you like rces
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Just use a
char *
and be done with it. The string is done when you hit a null value, no input constraints required.Jump in the discussion.
No email address required.
More options
Context
He could have used a char array in Rust as well to make them actually the same, but chose not to so he could show off the fancy lifetime syntax in Rust and make it look more complicated than it is. Same reason he didn't use "uint32_t age" in the C version even though that's the equivalent to "u32" - Rust doesn't have an equivalent to "int" in C because the standard C integer types are all really, really r-slurred and don't have fixed sizes.
Jump in the discussion.
No email address required.
More options
Context
If ur name is any longer ur probably from a backwards culture
Jump in the discussion.
No email address required.
More options
Context
Well yeah, I just found it funny that he talks about "C experts" and then gives a hello-world example. Like yeah maybe you don't want to get into the details, but rust's obtuse syntax does come with some benefits such as not having to mess with null-terminated strings and shit like that (I guess, never bothered to learn rust). It's C praise from somebody who's really not written that much C.
And don't use fricking flexible array members. I hate the fricking flexible array members man. Just use a normal pointer or a fixed PERSON_NAME_MAXLEN constant.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Also missing 5 levels of #defines, and all the variable names should be a single character to make sure we can fit all of our bullshit into 72 characters (with 8 space tabs)
Jump in the discussion.
No email address required.
More options
Context
struct sexualharassmentrecords
{char victims[5000];
unsigned long infractions;
}
Jump in the discussion.
No email address required.
More options
Context
More options
Context