- Joined
- Mar 28, 2023
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
How raw? Just jumping to a label in the same function? Jumping to arbitrary labels? Jumping to arbitrary memory addresses?View attachment 8339905
Me the last 2 weeks
Hey man, no need to name the entry point of the program. Everyone already knows it. Just jump straight to the unnamed address.Jumping to arbitrary memory addresses?
Forward only typically. I've been finding that it helps with code reuse and removing branches.How raw? Just jumping to a label in the same function? Jumping to arbitrary labels? Jumping to arbitrary memory addresses?
There is literally nothing wrong withView attachment 8339905
Me the last 2 weeks
goto.Try writing assembler without goto.There is literally nothing wrong withgoto.
c++ goto doesn't let you jump outside the current functionHow raw? Just jumping to a label in the same function? Jumping to arbitrary labels? Jumping to arbitrary memory addresses?
That's what longjmp is for.c++ goto doesn't let you jump outside the current function
pretty sensible limitation imo, i don't even know how you would do goto in and out of random functions without mangling the call stack in the process
The CPU loves unconditional jumps like a crackhead loves crack. I'm starting to get a taste for them myselfTry writing assembler without goto.
Yeah, that I personally wouldn't call rawdogging gotos.Forward only typically. I've been finding that it helps with code reuse and removing branches.
I didn't make the meme, I just laughed at itYeah, that I personally wouldn't call rawdogging gotos.
Forward jump only goto's are perfectly fine, in most cases, IMO. Backwards jumping or jumping across functions is where they get impossible to reason about.
I didn't make the meme, I just laughed at it
aka anyone who has ever opened a file on a Unix-like system??? What a stupid gorilla nigger I hate this guy. These are the people who work on C standards. It’s the tide, oh the dismal tide.Dumbass article nigger said:Octals have long been shown as extremely poorly designed in C and C-adjacent languages that picked up the very, VERY weird habit of leading zeros turning numbers into base-8 (octal) numbers. The justification was, as ever, “Unix Permissions!!!”. Unfortunately, that’s a feature for 0.001% of absolute and complete nerds,
I find it hilarious that a furry is working on the standards. The best part is how all of these improvements are perfectly reasonable things good languages like Ada have had for decades, but put there by men who didn't represent themselves as anthropomorphic animals.What a stupid gorilla nigger I hate this guy. These are the people who work on C standards. It’s the tide, oh the dismal tide.
I stumbled on this blog earlier while looking at the new standard proposal. They have an interesting one about different implementations of the embed directive which I found interestingaka anyone who has ever opened a file on a Unix-like system??? What a stupid gorilla nigger I hate this guy. These are the people who work on C standards. It’s the tide, oh the dismal tide.
C99 is the aryan man's standard anywayI find it hilarious that a furry is working on the standards. The best part is how all of these improvements are perfectly reasonable things good languages like Ada have had for decades, but put there by men who didn't represent themselves as anthropomorphic animals.
Suffer C language programmers, suffer.
Most of the features he talks about are alright. I don’t even mind the new octal syntax (just that absolutely boneheaded comment). Labeled breaks are, quite frankly, pointless redundancy in a language that has goto. The new if declaration thing is a welcome intrusion of Go into C, although making the conditional expression optional is dumb and works against readability imo. Case ranges are cringe and I will not be using them. C doesn’t have ranges as a first class feature like some languages, and so shoving this syntax in this one very specific situation is inconsistant and ugly. Moderns may not like it, but the proper C way to do this is with case fallthrough and explicitly including each value.I find it hilarious that a furry is working on the standards. The best part is how all of these improvements are perfectly reasonable things good languages like Ada have had for decades, but put there by men who didn't represent themselves as anthropomorphic animals.
Suffer C language programmers, suffer.
Technically, sure, but I know Common Lisp and Ada both provide the option to name certain program units specifically to avoid this problem of leaving nested units. Ada in particular allows the programmer to name just about anything, to an extreme degree, however. I've used goto in Ada once, when writing some Task exiting code that wasn't as pretty as I'd like. The Ada solution to goto is to make the labels ugly; they look like this:Labeled breaks are, quite frankly, pointless redundancy in a language that has goto.
goto Label; -- Damn, no Ada syntax for code blocks here. No Pascal either.
...
<<Label>>
TAGBODY and GO, they're just wrapped up in so many macros that the programmer never has to deal with them unless he feels like it.the way that this faggot have written that article makes me want to stay on C99 foreverI didn't make the meme, I just laughed at it
I didn't make the meme, I just laughed at it
i should man up and start writing everything in C89this guys github said:I also do Diversity and Inclusivity work in the technical space, working towards making a better and more equitable environment for everyone's contributions.