What language was that jpeg compression written in?
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
You ever heard of lossless compression? Well they developed lossfull anti compression, it compresses and decompresses the images so many times that the added artifacts create a larger file than original ! Impressive ain't it?
Potato
YOU WERE NEVER MEANT TO ACCESS STARCH DIRECTLY
Fools haven't even written it well! Translated:
STOP WRITING
-
MEMORY WAS NEVER SUPPOSED TO BE AESSED DIRETLY
-
YEARS OF PROGRAMMING yet STILL ODE IS STILL WRITTEN with memory vulnerabilities
-
Wanted to aess memory diretly anyway? We had a tool for that: It was alled "ASSEMBLY"
-
"Yes please give me NULL of something. Please give me *&* of it" - Statements dreamed up by the utterly deranged
LOOK at what Programmers have been demanding your Respet for all this time, with all of the omputers we built for them
(These are REAL programs, written by REAL Programmers):
???? ???????? ????????????
They have played us for absolute fools
I really like C because I can just get to the heart of an action and make it happen without much surrounding code.
I could make classes and blah blah blah if I want to make a large, complex program but I'd rather write several small, simple to grok programs which pass information around so each program can do its one simple thing, quickly and easily. Chain the small programs together with bash or something, and bingo, you've got a modular high speed system.
I'm not a programmer, actually a mechanical engineer. But the Unix philosophy of simple, modular tools is great, provided one properly checks and sanitizes inputs.
What you're describing sounds like Python. Not really C's strong suit.
If you haven't checked it out yet, you certainly should!
Does anyone even know what Windows is written in?
Originally Windows was written in assembly and ran on top of DOS, but since Windows 2000 and XP, it's been exclusively running on the NT kernel, which is written primarily in C, with some C++ in there as well.
The actual userspace is mostly C++ and C#.
And basically the entirety of dotnet 6 forward is spans. It’s all spans. All the way down.
Well, you know those claims that Java runs on 18 trillion devices? How do you think they got there, hmmmmm?
Just use brainfuck for everything. The entry barrier for the programming industry needs to be higher anyway.
But what if I want a union struct to quickly interpret floats as ints and vice versa! I need my C hacks!
Computers are so fast now, we should just write everything in BASIC anyway
Welcome to the world of JavaScript
Python laughing nervously: "haha yeah... we shouldn't write in C, amirite guys?"
Imagine having anyone tell you how to access your memory.
Do people still think, after all this time and so many different languages, that there will be one language to rule them all? I mean technically you can drive nails with a rock, but you don't see a carpenter using one. Right tool for the job. Always was, always will be.
Of course there is, it’s Rust
/s
I enjoy the selection bias in the comments for these sorts of posts. >_< There's a few people saying "I kinda like C", a few saying "use Python instead", and a whole lot saying "Rust is my lord and savior". Completely disjoint from the real world usage of the languages for whatever practical, pragmatic, or ideological measures they are used for.
Yesterday I tried using an honest-to-god pointer pointer pointer, and I think the compiler refused on moral grounds.
There first version of sudo rewrite in Rust has been released last year: https://www.memorysafety.org/blog/sudo-first-stable-release/
I think Linux is even written in C
And Linux was never meant to access memory directly. Boom. Roasted.
Still not sure if you’re high or trolling.
C is meant for embedded stuff. #changemymind
That article is incomplete. Nowhere do I see JavaScript listed.
😂
node-os is a full operating system built on top of the linux kernel
Search for leak in sudo's changelog: https://www.sudo.ws/releases/changelog/