Click here to Skip to main content
15,887,376 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: 1 stable 2 super stable Pin
Nelek9-Sep-23 3:25
protectorNelek9-Sep-23 3:25 
GeneralRe: 1 stable 2 super stable Pin
obermd8-Sep-23 11:14
obermd8-Sep-23 11:14 
GeneralRe: 1 stable 2 super stable Pin
Calin Negru8-Sep-23 21:49
Calin Negru8-Sep-23 21:49 
GeneralRe: 1 stable 2 super stable Pin
Richard MacCutchan8-Sep-23 21:49
mveRichard MacCutchan8-Sep-23 21:49 
GeneralRe: 1 stable 2 super stable Pin
Calin Negru9-Sep-23 3:37
Calin Negru9-Sep-23 3:37 
GeneralRe: 1 stable 2 super stable Pin
Jacquers9-Sep-23 4:21
Jacquers9-Sep-23 4:21 
GeneralRe: 1 stable 2 super stable Pin
honey the codewitch9-Sep-23 4:44
mvahoney the codewitch9-Sep-23 4:44 
GeneralRe: 1 stable 2 super stable Pin
trønderen9-Sep-23 5:17
trønderen9-Sep-23 5:17 
Remember the ring protection. Drivers are not supposed to run in ring 0. The (hardware) ring protection is effective at all times; it is not turned on or activated. Making use of it does not affect performance.

Then comes the questions of placing the various OS data structures in the appropriate ring. I wouldn't be surprised if there are essential data structures in ring 1 (/2) that really should be located in ring 0. But then the OS code referencing it must be located in ring 0 as well. If the OS wasn't originally architected with a ring protection in mind, cleaning it up later may be a rather nasty job.

I've never been inside Windows source code, but my experiences, not the least with (but certainly not limited to) Windows Docker, seems to indicate that it "Everything is deeply intertwingled" (to quote Ted Nelson). Picking apart a crow's nest to put some of the stick in the "ring 0" pile, without breaking any of the other sticks, requires extreme care.

Then learning Zephyr, seeing how it is possible to divide OS functionality into clear cut, small pieces so that you load exactly what you need and nothing more, was a revelation to me. It is the diametrical opposite to Windows. Of course: Zephyr and Windows targets (almost) completely different problem domains. Yet I am quite sure that a general OS like Windows could be built with much more of the Zephyr modular philosophy.
GeneralRe: 1 stable 2 super stable Pin
honey the codewitch9-Sep-23 5:52
mvahoney the codewitch9-Sep-23 5:52 
GeneralRe: 1 stable 2 super stable Pin
Daniel Pfeffer9-Sep-23 7:15
professionalDaniel Pfeffer9-Sep-23 7:15 
GeneralRe: 1 stable 2 super stable Pin
honey the codewitch9-Sep-23 8:11
mvahoney the codewitch9-Sep-23 8:11 
GeneralRe: 1 stable 2 super stable Pin
trønderen9-Sep-23 8:06
trønderen9-Sep-23 8:06 
GeneralRe: 1 stable 2 super stable Pin
honey the codewitch9-Sep-23 8:11
mvahoney the codewitch9-Sep-23 8:11 
GeneralRe: 1 stable 2 super stable Pin
pmauriks10-Sep-23 21:41
pmauriks10-Sep-23 21:41 
GeneralRe: 1 stable 2 super stable Pin
Calin Negru11-Sep-23 3:52
Calin Negru11-Sep-23 3:52 
GeneralRe: 1 stable 2 super stable Pin
sasadler11-Sep-23 5:45
sasadler11-Sep-23 5:45 
GeneralOuch! Team USA shocked by Germany in Basketball World Cup semifinal | CNN Pin
0x01AA8-Sep-23 6:18
mve0x01AA8-Sep-23 6:18 
GeneralCCC 08-09-23 Pin
pkfox7-Sep-23 21:29
professionalpkfox7-Sep-23 21:29 
GeneralRe: CCC 08-09-23 Pin
Peter_in_27807-Sep-23 21:39
professionalPeter_in_27807-Sep-23 21:39 
GeneralRe: CCC 08-09-23 - Winner Pin
pkfox7-Sep-23 21:53
professionalpkfox7-Sep-23 21:53 
GeneralBadger! Pin
Super Lloyd7-Sep-23 20:04
Super Lloyd7-Sep-23 20:04 
GeneralRe: Badger! Pin
OriginalGriff7-Sep-23 21:08
mveOriginalGriff7-Sep-23 21:08 
GeneralRe: Badger! Pin
Richard Deeming7-Sep-23 21:33
mveRichard Deeming7-Sep-23 21:33 
GeneralRe: Badger! Pin
dandy728-Sep-23 8:11
dandy728-Sep-23 8:11 
GeneralRe: Badger! Pin
k50548-Sep-23 10:05
mvek50548-Sep-23 10:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.