4 ms·
I've worked with QNX for years and wrote a clone, this is an amazing little OS that you can build rock solid services on. It's a pity that there never was much
by jacquesm 3y ago
I've worked with QNX for years and wrote a clone, this is an amazing little OS that you can build rock solid services on. It's a pity that there never was much interest in something along these lines but open source.
- rwmj 3y agoI was going to ask if someone had written a clone. As in "if QNX is so tiny and elegant, surely it must be easy to clone!" - I'm sure it was harder than it seems. Do you have a link to your version? How compatible was it?
- jacquesm 3y ago100% compatible at the call level. Another HN'er has actually managed to resurrect it partially. And no, I don't have a link and the project is not in a presentable state.
- weinzierl 3y agoI've seen FreeRTOS being used besides QNX and other proprietary RTOSes in automotive applications. Do you know how similar or different FreeRTOS and QNX are?
- jacquesm 3y agoCompletely different under the hood, not to be compared, but both have their uses.
- trollerator23 3y agoI think FreeRTOS is monolithic, isn't it?
- Matthias247 3y agoYes it is. It's more or less a scheduler library, that you link together with all the other code you have to get a microcontroller system image. There are no processes in FreeRTOS, just tasks (threads).
- pmoriarty 3y agoI would have loved to see an open-source of something like QNX for music production, as it would be very useful for its hard realtime guarantees and low latency. In my experience Linux has been pretty awful at this.
- zokier 3y ago> In my experience Linux has been pretty awful at this. isn't the problem these days just crappy random hardware more than anything else; Linux itself, especially with rt patches, together with jack should have good enough rt perf for audio use. I've seen reports of <5ms roundtrip audio latency on linux even with usb hardware.
- anthk 3y agoNow pipewire superseded both jack and pulse.
- zokier 3y agoThat is more of an aspirational goal for pipewires future than practical reality today.
- kramerger 3y agoI believe most people working with music on Linux switched to piprwire as soon as it became stable. Could be wrong, but I think it has been default on Ubuntu Studio and alike for at least a year now.
- rubicks 3y agoThe preemptrt patchset (now making its way into mainline) has excellent support for realtime scheduling. The problem is (as it has always been) undocumented NMIs in bog-standard COTS board firmwares. See the `hwlatdetect` man page for details.
- cvwright 3y agoWasn’t QNX itself open source for a short time? I seem to remember eagerly grabbing a copy from Github around 2010-2011, but unfortunately that was on a work laptop from a previous job.
- _delirium 3y agoThey did publish the source to the kernel in 2007, although not under an open-source license: https://openqnx.com/node/471 https://openqnx.com/node/471
- tkhattra 3y agoAndy Valencia's open source microkernel VSTa [1] from the early 90's was inspired by QNX and Plan 9. [1] https://sources.vsta.org:7100/vsta/index https://sources.vsta.org:7100/vsta/index
- jnwatson 3y agoFuchsia is open source.