But the complication I suppose is data-structures being accessed by drivers that reside in the core kernel and other assumptions that come with linking against a monolith program like the Linux kernel. It would be momentous to simply get Linux drivers to comply with a kernel-agnostic ABI.
BlueOS Kernel – Written in Rust, compatible with POSIX
21–30 of 70 posts
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#22It would be neat if there was a standard interface for device drivers, similar to what POSIX does for user-space. That way, interesting kernels like this one can just comply with that and the enormous amounts of Linux modules can be ported to comply with that standard so that they can also be loaded by redox, blueos,etc.. But the complication I suppose is data-structures being accessed by drivers that reside in the c…
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#23From their website (translated): Blue River Operating System 2 is the industry's first operating system written in the Rust language from the kernel to the system framework. A series of security features of the Rust language can detect security vulnerabilities caused by improper memory use during the compilation stage, making it inherently more secure from the source.
Wasnt Harvey OS written in Rust?
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#24Earlier quoted context omitted.
> development happening in China but I find it very hard to find resource in English about what’s actually happening. For years I've had this issue with pretty much everything happening in China, from business to politics to culture. For me personally, getting a window into China has been the number one game changer with LLMs. It's easier than ever to find and digest Chinese sources.
I feel like this a problem in general for topics outside “the West” or even just the Anglosphere. There is a tantalising amount of information that is siloed away in other languages. I was reading a Wikipedia article on one of the campaigns waged by the Ottomans in Europe and the English version was threadbare (and poorly written) in comparison to the Hungarian Wikipedia equivalent which was three times longer and ha…
Or are the most motivated to push a narrative in relation to it.
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#25It would be neat if there was a standard interface for device drivers, similar to what POSIX does for user-space. That way, interesting kernels like this one can just comply with that and the enormous amounts of Linux modules can be ported to comply with that standard so that they can also be loaded by redox, blueos,etc.. But the complication I suppose is data-structures being accessed by drivers that reside in the c…
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#26I regularly see articles pop in here about OS development happening in China but I find it very hard to find resource in English about what’s actually happening. Could anyone give an overview of what Huawei and Vivo are doing? I understand it’s mostly RTOS to use on phone. How does it compare to QNX and Linux? Is it as ambitious as Fuchsia? Apparently they are shipping. It’s weird that we have reached a point where t…
It's even harder to get an accurate picture of what Chinese companies are actually doing. Like the wiki page for Huawei's OS Next is pretty incredible. By which I mean, rather actually unbelievable. https://en.m.wikipedia.org/wiki/HarmonyOS_NEXT They created a brand new microkernel with Linux ABI and driver support in containers? Or... did they just slightly fork Linux and pretend they invented it?
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#27I regularly see articles pop in here about OS development happening in China but I find it very hard to find resource in English about what’s actually happening. Could anyone give an overview of what Huawei and Vivo are doing? I understand it’s mostly RTOS to use on phone. How does it compare to QNX and Linux? Is it as ambitious as Fuchsia? Apparently they are shipping. It’s weird that we have reached a point where t…
It's even harder to get an accurate picture of what Chinese companies are actually doing. Like the wiki page for Huawei's OS Next is pretty incredible. By which I mean, rather actually unbelievable. https://en.m.wikipedia.org/wiki/HarmonyOS_NEXT They created a brand new microkernel with Linux ABI and driver support in containers? Or... did they just slightly fork Linux and pretend they invented it?
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#28It would be neat if there was a standard interface for device drivers, similar to what POSIX does for user-space. That way, interesting kernels like this one can just comply with that and the enormous amounts of Linux modules can be ported to comply with that standard so that they can also be loaded by redox, blueos,etc.. But the complication I suppose is data-structures being accessed by drivers that reside in the c…
Most other OSes have had driver ABIs throughout all their existence.
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#29It would be neat if there was a standard interface for device drivers, similar to what POSIX does for user-space. That way, interesting kernels like this one can just comply with that and the enormous amounts of Linux modules can be ported to comply with that standard so that they can also be loaded by redox, blueos,etc.. But the complication I suppose is data-structures being accessed by drivers that reside in the c…
If one existed, companies would not be compelled to release their drivers' source, and would just release closed source drivers. As it stands, kernel drivers must be open source because the kernel API/ABI changes, and drivers must be recompiled against new kernel releases. It's infeasible to release a compiled driver .ko and have it work with new kernel releases.
Similarly, companies will not be incentivized to mainline their drivers for hardware outside of hobbists' interests. We're blessed with a plethora of drivers for enterprise, cloud and industry hardware that would otherwise have never been released beyond vendors' customers' deployments.
What would happen to the Linux driver ecosystem is what happened with Nintendo, Sony, Apple and FreeBSD. You get closed source drivers siloed away in proprietary systems that will never be released. The deployed drivers will come with restrictions on use and distribution, as well, so it wouldn't be like you could pluck out compatible drivers to use elsewhere.
Re: BlueOS Kernel – Written in Rust, compatible with POSIX
#30Earlier quoted context omitted.
I feel like this a problem in general for topics outside “the West” or even just the Anglosphere. There is a tantalising amount of information that is siloed away in other languages. I was reading a Wikipedia article on one of the campaigns waged by the Ottomans in Europe and the English version was threadbare (and poorly written) in comparison to the Hungarian Wikipedia equivalent which was three times longer and ha…
> the fact that the ones “closest” to the event in question will generally be the ones most qualified and ready to report upon it. Or are the most motivated to push a narrative in relation to it.