Primitive, provincial knuckledragging Americans/Brits/Right-wing country’s citizens don’t want to learn C or understand how their computer truly works. 😆
Yeah. That tracks
C is okay with good tooling. I wish it was possible to mix C and Rust code in the same project. I could be wrong but last I looked C code will have to sit outside in a library or something and called externally from Rust.
C is fun. Thats why I use it :P
The same way juggling chainsaws is fun I suppose. :)
Look up function pointer types to make this language seem even more insane
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.
Microsoft is quickly writing more and more Rust code these days. They rolled out Rust kernel components even before Linux, and their efforts actually include rewrites rather than making the API available to developers.
There’s decades of code in Windows, but the successful conversion for DirectWrite font parsing is probably a sign of things to come. MS seems to even be porting some COM modules to Rust, which would be the last thing I would start to port (so many pointer pointers!).
True! Their embrace of Rust is certainly heartening to see.
Let’s just hope they don’t follow it up with the other two E’s in their typical playbook.
Please do go ahead and name the last open standard that Microsoft intentionally destroyed.
EEE is the fucking boogeyman on Lemmy. You just mention it’s name and a bunch of nerds shit their pants and upvote.
I did upvote… but my pants are pristine
Unless I’m missing something, the most recent example there is from 2002 which, to my own horror, was more than 20 years ago.
Atom died about 13 months ago.
Just because they’re in a relative lull in the desktop space doesn’t mean they’ve stopped.
There may be good examples out there, but I’d argue Atom isn’t one of them. VS Code was clearly intended to be a spiritual successor with MS branding IMO, it is a fork of Atom, and it is equally open source (MIT license).
Atom usage dropped off dramatically in favour of VS Code or the fully open source VS Codium, there’s no point in Github writing it’s own code editor when it’s hosting a much more popular, more powerful, and equally open source editor in one of its repos.
Github had been funding development of Atom until MS bought them, put Atom on maintenance mode for 4 years, then killed it.
witchcraft
Makes sense
C or C++ usually
yeah but which craft?
Well, you know those claims that Java runs on 18 trillion devices? How do you think they got there, hmmmmm?
Windows actually came with a Java runtime for a short while. Then Microsoft got sued, the Java VM was killed, and C# was created (which looks, feels, and behaves very similar to Java) as an alternative.
Just imagine what would’ve happened if Microsoft and Sun worked together. Java would be in everything on Windows now, not just as a basis for modded Minecraft.
C is meant for embedded stuff. #changemymind
Ease of access to the underlying hardware in your programming language is only ever needed for embedded programming in the current year. Change my mind.
Every operating system running on bare metal needs access to the hardware. And if not on bare metal, it needs access to the virtual hardware.
What language was that jpeg compression written in?
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?
we do live in the future
Impressive
and the Nobel goes to some nerd playing with electrons. Unbelievable
Potato
YOU WERE NEVER MEANT TO ACCESS STARCH DIRECTLY
“Somewhere, someone whispers…”
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.
This is why the post and the thread are so funny (assuming people are being intentionally funny)
Search for leak in sudo’s changelog: https://www.sudo.ws/releases/changelog/
Leaks aren’t usually security critical though, and I’ve never heard of sudo triggering the OOM killer.
Also, no general purpose language that I’m aware of can guarantee a lack of memory leaks.
no general purposd language can guarantee a lack of memory leaks
You’re going to summon every Rust enthusiast on the platform
Especially since sudo is generally quite short lived. Unless it is leaking a significant amount of memory waiting for authentication that never comes it is insignificant. It would actually be pretty easy to argue that
sudo
just shouldn’t free memory at all. This would be better for security (all pointers live forever) and possibly faster as upon exec the kernel can just wipe all state rather than havingfree
carefully account for the releases.
my controller may be old, but i only pay 20 thousands eurodogs for a board support pckage ,per user per ip per nation per year. I dont even pay for their eclipse ide! C is the laand of free fuck yeah! My debug partner is compatible with only 200 euro per flexcable. Don`t tell em my debrugs parnter is not oem spec🐵.
I feel like such a fool
w… windows 10?
W10: :(
I think I saw online that Windows was written in C++
C++, but a very ugly and oldschool dialect of it.
Yes, you already said C++, no need to repeat yourself :P
Well… I love C, just the semplicity of the syntax and low level aspect of it makes it the only language you need. F*ck high level languages
C is simple in the same way that a circular saw with no safety features is simple. I like having fingers better.
low level aspect of it makes it the only language you need
about that https://queue.acm.org/detail.cfm?id=3212479
Yesterday I tried using an honest-to-god pointer pointer pointer, and I think the compiler refused on moral grounds.
Ah, a three star programmer.
But I like C, it’s like a smaller Golang