(How to trigger programmers (and make them irrationally angry)
(How to trigger programmers (and make them irrationally angry)
Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅
You're viewing a single thread.
Insist they index from 1. Like God and Fortran intended it. ;)
39 0 ReplyAnd Lua!
14 0 ReplyAnd Julia!
5 0 Reply
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.
8 0 ReplyIt's fast though.
7 0 Replyso what if it's 100x slower /nosarc
1 0 ReplyLike riding a motorcycle in a tee shirt and shorts.
15 0 ReplyAnd 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.
12 0 Replyembedded RTOS
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!
4 0 ReplyThis is the hardest I've seen a someone try to not mention Rust. I'm actually impressed.
6 0 ReplyHave you seen rust? I couldn't code like that, what a silly language https://lemmy.world/post/26105353
1 0 Reply
I've ridden a motorbike in a T-shirt and kilt before. That's ... fun ...
5 0 Reply
And MATLAB!
5 0 ReplyMATLAB is basically a UI wrapper around Fortran's BLAS and LAPACK -- change my mind. ;)
7 0 Reply