@lucy@netzsphaere.xyz @arcana@fedi.layer02.net give in and embrace rust
@lucy@netzsphaere.xyz @arcana@fedi.layer02.net technically it’s separate you can just use rustc without cargo if you hate yourself that much
@lucy@netzsphaere.xyz @mia@shrimptest.0x0.st @arcana@fedi.layer02.net python is worse since it will silently fail or install different versions of libraries than the ones you initially picked
Dennis Ritchie had a proposal for variable-length arrays, but by the time he had the idea, it was already out of his hands and in the hands of the standards committee, and they hated everything he ever suggested.
interrupt handler
) or time-sensitive (factoring prime numbers). Importantly, it also matters when you are debugging, because you can see a pointer is being read through. A memory-safe language, you don't have that concern.
"The fundamental problem is that it is not possible to write real programs using the X3J11 definition of C. The committee has created an unreal language that no one can or will actually use."
adopted it and Apple acquired NeXT.) If it was just Apple, I wouldn't have suggested it.@lucy@netzsphaere.xyz @p@fsebugoutzone.org the answer that you'll be unhappy with is that all of that exists in C, it's called cpp and the cppstdlib. more seriously though, you should try writing 2024 standard cpp, it really is like a different language almost
@lucy@netzsphaere.xyz @p@fsebugoutzone.org i don't know what you mean
#includeing the specific headers, you don't need to support that shit ¯\_(ツ)_/¯@eris@p.enes.lv @p@fsebugoutzone.org yeah and my perception is that it's baked into the executable so it's fair to just consider that as part of your program, unless you're talking about dlls that you might need to execute the program.
i didn't understand what you meant by "it still is" but i get it now, you should read into the new module imports and all the other changes with the latest cpp definitions, they've been hard at work basically defining an entirely new standard library and conventions that give you the safety that you're looking for. even if you can still technically use a random naked pointer or other c stuff, i would argue that modern cpp gives you that security if you don't use the old c-style of doing stuff
@eris@p.enes.lv @p@fsebugoutzone.org or like have you ever worked with a codebase that's used RAII instead of plain c stuff? if not then i can understand how it would feel that way
@p@fsebugoutzone.org @lucy@netzsphaere.xyz with enough ifndefs and defines, anything is possible
@p@fsebugoutzone.org @eris@p.enes.lv is that not always an option? i guess i didnt go as deep into c++
@p@fsebugoutzone.org @eris@p.enes.lv @lucy@netzsphaere.xyz o yeah that is true i sort of use them interchangeably