MadhuGururajan

joined 1 year ago
[–] MadhuGururajan 2 points 15 hours ago

oh nevermind.. carry on then (Tis a joke about not wanting to touch THAT mess, in case it's not clear)

[–] MadhuGururajan 2 points 3 days ago

I don't know the details of the MPK. So I consider it as some kind of function that maps {process PID, DLL} => Set of UID. And by UID, I AM talking about the system level user ID. Remember that this feature is a processor level feature. So it has to be transparent to the OS (well at least, to the OS Scheduler). Hence the output of this feature should be understandable to the OS kernel. Or so I hope as the implementation details are vague till now.

[–] MadhuGururajan 1 points 5 days ago (2 children)

which office are you? I am missing such fresh perspectives. Everybody wants someone with 10 years experience in 5 different stacks on 5 different languages/tools.

[–] MadhuGururajan 1 points 5 days ago

The company probably wanted a savant for monkey's pay.

[–] MadhuGururajan 5 points 5 days ago (2 children)

The gist is that a system call is introduced to go into the PCB and change the Effective UID of a process. Security is ensured by a processor MPK which is a CPU provided guard so that a {Process, Library} has only a restricted set of Effective UIDs it can switch to. This operations is supposed to use 30 to 50 clock cycles. So entry + exit is supposed to be done in 100 cycles. This is considered low overhead context switch compared to the traditional context switch on Linux for slower IPCs. They don't do a comparison against iouring, or simply multi-threaded process.

[–] MadhuGururajan 0 points 1 week ago

well yes... that's what one expects when they go DIY.

[–] MadhuGururajan 1 points 1 week ago (1 children)

or simply use a well designed programming language.

[–] MadhuGururajan 3 points 1 week ago

lol this whole article and this thread is a bunch of bikeshedding I haven't had the privilege of enduring in some weeks.

[–] MadhuGururajan 1 points 2 weeks ago (1 children)

THAT is the message you took from all this? What you're going to root for the smug ignorant asshole?

[–] MadhuGururajan 1 points 2 weeks ago

probably for the labour it takes to do the OEM install and verify that everything is up to date and works.. like audio and multi-monitor.

[–] MadhuGururajan 6 points 2 weeks ago

I often compare vibe coding to lord of the rings. Saruman blocks the fellowship's path with difficult challenges. So too does solving hard problems in programming. So Gandalf decides they will take the mines of moria (vibe coding). He knows better but does so anyway. The rest of the fellowship naively follows him down (junior devs). Most of the path is just minor hiccups and the juniors fumbling around. But they get to a certain point and things start to get too heated. The hordes of goblins being the bugs introduced by the LLM as they keep changing the code via different prompts. Then they inevitably awaken the Balrog.. the monstrous Complexity Demon that was brewing behind the vibe coding sunshine and roses.

[–] MadhuGururajan 1 points 2 weeks ago

the arch maintainers are not terminally online like some of us.

view more: next ›