Part of the reason I hate C so much is that the last project I wrote in C was an X window manager and I realized how much shit I was reimplementing that has been standard in any language worth anything at all since the 70s.
It also made me hate X.

oh god how did this get here i am not good with computer

.png)
Background music:
Click here because I can't put an audio widget in the profile
The scenes with the shark are usually very intense and disturbing.
I use Arch BTW
Fun fact: Neo-Nazi dipshit cartoonist Stonetoss is in fact Hans Kristian Graebener of Spring, Texas
Part of the reason I hate C so much is that the last project I wrote in C was an X window manager and I realized how much shit I was reimplementing that has been standard in any language worth anything at all since the 70s.
It also made me hate X.
i would not blame c for that, i am pretty sure everyone hates x, which is why we have all collectively decided to hate wayland instead
Oh I blame C. X gets the blame for what X is responsible for. The fact that Wayland managed to be such a catastrofuck in its own right makes me insane daily
wayland gets a bad rap but at least it lets you scroll with middle mouse in firefox
we love C - we learned it in the late 80s when, no, that stuff was NOT standard in other languages yet, though certainly Lisp had it - but we would never use it for a new project today, unless it was very small and purely for recreation
it was really Perl that normalized high-level string processing as part of the language. that broke the floodgates because it was so obviously a good idea, and everyone else did it
and hash tables (we eventually got to where we could implement a hash table from scratch in about half an hour but it was still, like... nice moving to languages where we didn't have to)
Yeah, hash tables were not a standard language feature for a long time but ALGOL 68 and PL/I both had quality string facilities; ALGOL even had pattern matching. Dynamic strings were a pretty common feature as well, as was better dynamic memory management
oh absolutely. neither made the leap to being popular on microcomputers, for reasons that we just realized we don't adequately understand... we think the Microsoft C compiler may have had something to do with it, but really we don't know. we wonder who we know who would.
That's
actually an interesting question and I feel like the answer lies with Unix winning in the early 80s? C was the prestige language... Digital Research released a microcomputer PL/I compiler in 1980 for instance, but it never took off. But yeah I'd love to know if anyone who was actually Around Then might have more insight
thanks! we try :)
hmmm yeah
we were EXTREMELY YOUNG at the time, so although we were learning to program and even picking up an autistic special interest in computing history, we weren't absorbing that kind of detail just yet
we'll ask around, if we remember, and report back
C is a great language if you're writing for a pdp11
im so spoiled by rust
you'd think we have come up with a half-decent replacement by now, right? software developers love reinventing the fucking wheel, so does someone wanna. i dunno. check the spokes on this one.
mmmmmm i gotta disagree. at least at the moment, rust is much more suitable as a C#/Java/Python/C++ (sometimes) replacement. it is not cut out to wear all the hats that C does, and I don't think it ever will be.
I had to google what X was, but I can say I've had a similar experience writing C code for WinAPI functions that require a HWND and working w/ the stdout/stdin, and especially getting asynchronous scroll wheel to work.
I think the combination of "Language with very few implemented features" and "Implementing other people's code" can be pretty awful a lot of the time.
Yeah, low-level Win32 programming is a similar amount of Fun to low-level X programming, you are not far off. I did my time back in the 90s, dammit.