170
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
[-] LedgeDrop@lemm.ee 24 points 1 year ago

Windows (and most other operating systems) have a "user land" and a "kernel space".

"user land" is where all your applications run. A "user land" application can only see other applications and files owned by the same user. Eventually, a user land app will want to do "something". This can be something like read a file from disk, make a network connection, draw a picture on the screen. To accomplish this, the user space app need to "talk" to the kernel.

If user space apps were instruments being played in an orchestra, the kernel would be the conductor. The kernel is responsible for making sure the user land apps can only see their respective users files/apps/etc.

The kernel "can see and do everything", it reports to no one. It has complete access to all the applications and every file. Your device drivers for your printer, video card, ect all run in "kernel space".

Basically, the OPs link: they've ported Doom to run effectively like a device driver. This means that if doom crashes, your PC will blue screen.

This has no practical purpose, other than saying "yeah, we did it" :)

[-] Technoguyfication@lemmy.ml 7 points 1 year ago

Print drivers in Windows have actually been in userspace for a while now. That’s why the cheap drivers that come with your $40 Inkjet from Walmart don’t cause bluescreens anymore.

[-] M_Djallo@feddit.it 4 points 1 year ago

Thank you both for your reply! Now I got it!

[-] darkmugglet@lemm.ee 3 points 1 year ago

And that is the sheer absurdity: doom as a device driver. Sheer and unabashedly luncacy, because why the fuck not. I approve

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

Technology

37804 readers
399 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