166
submitted 1 year ago by nsp@lemmy.sdf.org to c/technology@beehaw.org

NtDoom running inside the Windows kernel.

you are viewing a single comment's thread
view the rest of the comments
[-] peter@feddit.uk 2 points 1 year ago

Forgive me if this is a stupid question but why is it technically impressive? Is it not just the same as running it in usermode but with higher privileges?

[-] BarryZuckerkorn@beehaw.org 15 points 1 year ago

The API is much more limited for kernel mode, because Microsoft doesn't want to make it easy to crash the kernel. So it's not just a matter of taking old DOS code and making Windows run it in an old compatibility layer, but actually requires translating the whole thing into a much more limited set of commands to properly draw the graphics and respond to user input.

It's impressive like being able to play the French horn without using the valves, or painting beautiful pictures using only a mechanical typewriter. It's being able to do something that is trivially easy with normal tools, but with such a limited toolset that the accomplishment itself is impressive.

this post was submitted on 08 Jul 2023
166 points (100.0% liked)

Technology

37604 readers
140 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS