MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xpqmpe/unhappycrustaceans/
r/ProgrammerHumor • u/DonMahallem • 20d ago
13 comments sorted by
19
How dare thee leave that boolean unintialized ?
9 u/WernerderChamp 20d ago let mut myvar: bool; println!("{}", myvar); //print yesn't 5 u/Noname_1111 19d ago something something law of the excluded middle 2 u/Anaxamander57 19d ago This a calculus of constructions household, young lady! Show the truth value itself, no hiding behind double negations.
9
let mut myvar: bool; println!("{}", myvar); //print yesn't
5 u/Noname_1111 19d ago something something law of the excluded middle 2 u/Anaxamander57 19d ago This a calculus of constructions household, young lady! Show the truth value itself, no hiding behind double negations.
5
something something law of the excluded middle
2 u/Anaxamander57 19d ago This a calculus of constructions household, young lady! Show the truth value itself, no hiding behind double negations.
2
This a calculus of constructions household, young lady! Show the truth value itself, no hiding behind double negations.
11
Under the C
Under the Ceeeeeeeeeeeee
6 u/GresSimJa 19d ago Pointers, assembly, manage your memory with malloc() and free()! 1 u/intoxicuss 19d ago What’s wrong with pointers and explicit memory management? Kids today are so spoiled. Assembly, though, is just masochism. 1 u/gpkgpk 18d ago I get chills just thinking about ASM.
6
Pointers, assembly, manage your memory with malloc() and free()!
malloc()
free()
1 u/intoxicuss 19d ago What’s wrong with pointers and explicit memory management? Kids today are so spoiled. Assembly, though, is just masochism. 1 u/gpkgpk 18d ago I get chills just thinking about ASM.
1
What’s wrong with pointers and explicit memory management? Kids today are so spoiled. Assembly, though, is just masochism.
1 u/gpkgpk 18d ago I get chills just thinking about ASM.
I get chills just thinking about ASM.
Imagine if rust had
// rustc-ignore-next-line borrow-check
5 u/Confronting-Myself 19d ago the humble unsafe: 3 u/Anaxamander57 19d ago Has no effect on the borrow checker, technically. It does let you build and use different types that the borrow checker assumes will always be correct.
the humble unsafe:
3 u/Anaxamander57 19d ago Has no effect on the borrow checker, technically. It does let you build and use different types that the borrow checker assumes will always be correct.
3
Has no effect on the borrow checker, technically. It does let you build and use different types that the borrow checker assumes will always be correct.
https://github.com/tsoding/Crust
using rustc directly is already a bad move
19
u/Daemontatox 20d ago
How dare thee leave that boolean unintialized ?
11
u/gpkgpk 19d ago
Under the C
Under the Ceeeeeeeeeeeee
5
u/afl_ext 19d ago
Imagine if rust had
// rustc-ignore-next-line borrow-check
2
u/ANixosUser 15d ago
https://github.com/tsoding/Crust
1
u/overclockedslinky 15d ago
using rustc directly is already a bad move