this post was submitted on 21 Jan 2024
9 points (90.9% liked)

Programmer Humor

32469 readers
488 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 9 months ago (3 children)

Does anyone even know what Windows is written in?

[–] [email protected] 0 points 9 months ago (1 children)

Well, you know those claims that Java runs on 18 trillion devices? How do you think they got there, hmmmmm?

[–] [email protected] 0 points 9 months ago

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.

[–] [email protected] 1 points 9 months ago (1 children)

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#.

[–] [email protected] 0 points 9 months ago (1 children)

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!).

[–] [email protected] 0 points 9 months ago (1 children)

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.

[–] [email protected] 0 points 9 months ago (2 children)

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.

[–] [email protected] 0 points 9 months ago (2 children)

Atom died about 13 months ago.

Just because they're in a relative lull in the desktop space doesn't mean they've stopped.

[–] [email protected] 0 points 9 months ago* (last edited 9 months ago) (1 children)

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.

[–] [email protected] 0 points 9 months ago

Github had been funding development of Atom until MS bought them, put Atom on maintenance mode for 4 years, then killed it.

[–] [email protected] 0 points 9 months ago

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).

[–] [email protected] 0 points 9 months ago (1 children)
[–] [email protected] 0 points 9 months ago

Unless I'm missing something, the most recent example there is from 2002 which, to my own horror, was more than 20 years ago.

[–] [email protected] 0 points 9 months ago (2 children)
[–] [email protected] 0 points 9 months ago

yeah but which craft?

[–] [email protected] 0 points 9 months ago (1 children)
[–] [email protected] 0 points 9 months ago

C or C++ usually