this post was submitted on 01 Mar 2025
195 points (93.0% liked)
Programmer Humor
20893 readers
1212 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Insist they index from 1. Like God and Fortran intended it. ;)
And Lua!
And Julia!
Fuck C and it's lazy shit pointer arithmetic array indexing shortcut. I.e. you just add the index ร size(t) to the array pointer.
Bounds checking? We've heard of it.
It's fast though.
so what if it's 100x slower /nosarc
Like riding a motorcycle in a tee shirt and shorts.
And sun glasses, don't forget the aviators.
While Mr "I can't code without a garbage collector" is still putting on his backplate of "oh no pointers are bad" and a duck typed full face helmet, to ride his interpreted moped, the big boys, Mr C-ool and Mr ASSembly, are already downing grain alcohol at the finish line.
But then again I really don't like to step out of my embedded RTOS bubble. It really depends on what you want to accomplish and how complicated your system is.
That sounds like a domain where memory safety is secondary to size and speed... though compile time memory safety guarantees could help.
Good thing we have so many options!
This is the hardest I've seen a someone try to not mention Rust. I'm actually impressed.
Have you seen rust? I couldn't code like that, what a silly language https://lemmy.world/post/26105353
I've ridden a motorbike in a T-shirt and kilt before. That's ... fun ...
And MATLAB!
MATLAB is basically a UI wrapper around Fortran's BLAS and LAPACK -- change my mind. ;)