Headlines |
2023-08-16 |
Haiku gets BSD style kqueue functionality |
|
The Haiku team published their monthly newsletter for July and one of the key points mentioned concerns application performance, particularly when running WINE. An overhaul of some code and implementation of BSD's kqueue() functionality has addressed the concern. "Many years ago, hamishm wrote a partial implementation of such an API, but it was not very well tested, and also Haiku-specific. Last month, waddlesplash dusted off the old patches, reworked them around the kernel refactors that have occurred since then, cleaned them up, and implememented the BSD kqueue() API on top of them. This then required multiple rounds of testing (mostly against the testsuite of libuv, the event-handling backend for node.js and other projects) and rewrites, until the final result was sufficiently robust to be merged (and the implementation, by that point, differed greatly from hamishm's original patches.)
The new API provides only a subset of BSD kqueue: it only supports EVFILT_READ, EVFILT_WRITE, and EVFILT_PROC. There are some other limitations, too (for example, the amount of data readable or writable is not generally returned in the data field.) However, it is already sufficient for libuv, .NET, WINE, and a number of other projects that use like APIs.
(This also crossed off a few items that had been on waddlesplash's personal to-do list for multiple years, and had been requested by kallisti5 and others working on porting Rust applications.)" |
More headlines from this project
Back to News
|
|
TUXEDO |
TUXEDO Computers - Linux Hardware in a tailor made suite Choose from a wide range of laptops and PCs in various sizes and shapes at TUXEDOComputers.com. Every machine comes pre-installed and ready-to-run with Linux. Full 24 months of warranty and lifetime support included!
Learn more about our full service package and all benefits from buying at TUXEDO.
|
Star Labs |
Star Labs - Laptops built for Linux.
View our range including the highly anticipated StarFighter. Available with coreboot open-source firmware and a choice of Ubuntu, elementary, Manjaro and more. Visit Star Labs for information, to buy and get support.
|
|