With how buggy their flagship OS has become, why would I trust anything else they release to be better? Or even if it does work well now, why should I expect it to stay that way? Microsoft has burned through all possible goodwill at this point, at least for me.
Microsoft open-sources LiteBox, a security-focused library OS
101–110 of 239 posts
Re: Microsoft open-sources LiteBox, a security-focused library OS
#102Re: Microsoft open-sources LiteBox, a security-focused library OS
#103Earlier quoted context omitted.
> So for example with this project, you could take a Linux application's codebase, recompile it linked to LiteBox If you have to recompile, you might as well choose to recompile to WASM+WASI. The sandboxing story here is excellent due to its web origins. I thought the point of LiteBox is that recompilation isn’t needed.
Looking more closely, it looks like there are some "North" sides (platforms) with ABI shims (currently Linux and OP-TEE), but others (Windows, for example), would still require recompilation. > If you have to recompile, you might as well choose to recompile to WASM+WASI. I disagree here; this ignores the entire swath of functionality that an OS or runtime provides? Like, as just as an example, I can't "just recompile…
Re: Microsoft open-sources LiteBox, a security-focused library OS
#104With how buggy their flagship OS has become, why would I trust anything else they release to be better? Or even if it does work well now, why should I expect it to stay that way? Microsoft has burned through all possible goodwill at this point, at least for me.
Microsoft employ over 100,000 engineers. I'd advise against assuming that everything produced by any of them is bad because of bugs in Windows.
Re: Microsoft open-sources LiteBox, a security-focused library OS
#105Earlier quoted context omitted.
> Kernel and low level stuff are actually very stable and good. In their intended applications, which might or might not be the ones you need. The slowness of the filesystem that necessitated a whole custom caching layer in Git for Windows, or the slowness of process creation that necessitated adding “picoprocesses” to the kernel so that WSL1 would perform acceptably and still wasn’t enough for it to survive, those a…
This is not due to slowness of the file system. Native ntfs tools are much faster than Unix ones in some situations. The issue is that running Unix software on windows will naturally have a performance impact. You see the same thing in reverse using Wine on Linux. Windows uses a different design for IO so requires software to be written with that design in mind.
Not true. There are increasingly more cases where Windows software, written with Windows in mind and only tested on Windows, performs better atop Wine.
Sure, there are interface incompatibilities that naturally create performance penalties, but a lot of stuff maps 1:1, and Windows was historically designed to support multiple user-space ABIs; Win32 calls are broken down into native kernel calls by kernel32, advapi32, etc., for example, similar to how libc works on Unix-like operating systems.
Re: Microsoft open-sources LiteBox, a security-focused library OS
#106With how buggy their flagship OS has become, why would I trust anything else they release to be better? Or even if it does work well now, why should I expect it to stay that way? Microsoft has burned through all possible goodwill at this point, at least for me.
Re: Microsoft open-sources LiteBox, a security-focused library OS
#107Earlier quoted context omitted.
> Kernel and low level stuff are actually very stable and good. In their intended applications, which might or might not be the ones you need. The slowness of the filesystem that necessitated a whole custom caching layer in Git for Windows, or the slowness of process creation that necessitated adding “picoprocesses” to the kernel so that WSL1 would perform acceptably and still wasn’t enough for it to survive, those a…
The file system isn't slow. The slowness will be present in any file system due to the file system filters that all file system calls pass though.
Also, as far as my (very limited) understanding goes, there are more architectural performance problems than just filters (and, to me, filters don’t necessarily sound like performance bankruptcy, provided the filter in question isn’t mandatory, un-removable Microsoft Defender). I seem to remember that path parsing is accomplished in NT by each handler chopping off the initial portion that it understands and passing the remaining suffix to the next one as an uninterpreted string (cf. COM monikers), unlike Unix where the slash-separated list is baked into the architecture, and the former design makes it much harder to have (what Unix calls) a “dentry cache” that would allow the kernel to look up meanings of popular names without going through the filesystem(s).
Re: Microsoft open-sources LiteBox, a security-focused library OS
#108Earlier quoted context omitted.
NTFS, not so great.
NTFS is just fine. Stable, reliable, fast, plenty of features for a general purpose file system.
If even MS internal teams rather want to avoid it, it seems like it isn't a great offering. https://news.ycombinator.com/item?id=41085376#41086062
Re: Microsoft open-sources LiteBox, a security-focused library OS
#109Re: Microsoft open-sources LiteBox, a security-focused library OS
#110at first I thought library OS might have meant an OS meant for use at a library. Honestly far less interesting to know I was wrong.
Is it not? You link the "library os" and you no longer need an os (when running in a supervisor) IIUC.
That's also what I thought this was, and came to the comments expecting to see something neat about why libraries might need bespoke operating systems.