12 ms·
That's nice, but sad. Until QNX 6.5, there was a full windowed desktop environment, with the Photon window manager. I used QNX on the desktop when developing a
by Animats 10y ago
That's nice, but sad. Until QNX 6.5, there was a full windowed desktop environment, with the Photon window manager.
I used QNX on the desktop when developing a DARPA Grand Challenge vehicle from 2003-2005. Back then, at QNX 6.21, you had the window manager, the Eclipse development environment, Firebird (Firefox before the name change), and Thunderbird. Then QNX marketing cut off the free version, and all the free software projects stopped making builds for QNX. Desktop usability went downhill from there.
The desktop environment had very consistent performance, because QNX doesn't swap. (It's a real time system, after all.) I could run the real-time vehicle control system and simulator at a higher priority than the desktop and not have it miss a timeout while doing compiles and web browsing at a non real time priority.
I miss QNX. It's much simpler and saner than Windows or Linux. Yet all of POSIX is available. It's what home routers and similar devices ought to be running instead of Linux.
- shmerl 10y ago> It's what home routers and similar devices ought to be running instead of Linux. The bummer is that it's not FOSS.
- throwaway91111 10y agoWell, one day gnu/hurd will be the FOSS system we all deserve.
- notalaser 10y agoThe bummer for the companies doing the home routers is really just that it costs money. The only people who give a flying fsck about the F part are hobbyists, sadly. Source: worked in this industry.
- bluejekyll 10y agoNot having a hobbyist option, means there are fewer people trying to use it for new and interesting things.
- Frenchgeek 10y agoFunny there doesn't seem to be an OSS attempt of something like it... ( Or my google-fu is weak )
- frik 10y agoGoogle Fuchsia is a capability-based, real-time operating system (RTOS) being developed by Google. https://en.wikipedia.org/wiki/Google_Fuchsia https://en.wikipedia.org/wiki/Google_Fuchsia 15 years ago I waited for GNU Hurd, but now I am very interested how Google Fuchsia turns out. What I read it shapes up nicely, and I can imagine we all will use it in near future instead of Windows and other binary blob legacy operating systems; it might also replace Linux as Android kernel - but that is still just speculation.
- Animats 10y agoThat's going to be interesting. Some of the people at Google working on it are ex-QNX people.
- nickpsecurity 10y agoOh hell. I was initially skeptical but my hopes are up now that you say that.
- bitmapbrother 10y agoI know some are ex BeOS people, but I haven't heard of anyone from QNX on the project. Apple did hire the founder of QNX not too long ago, though.
- tyingq 10y agoFreeRTOS is here: http://www.freertos.org/ http://www.freertos.org/ Though the "RT" is the only real overlap. It's targeted more at lower end hardware, but does have an x86 implementation.
- nickpsecurity 10y agoMinix 3 for reliability part, DROPS for real-time part, OKL4 for mobile, and Genode for security part are basically it that I'm aware. It's really the mix of capabilities in one system that makes QNX great. I don't know anything that has that despite the architecture described in great detail in freely-available papers. Just waiting to be cloned or improved on. :) http://www.minix3.org/doc/reliable-os.pdf http://www.minix3.org/doc/reliable-os.pdf https://os.inf.tu-dresden.de/drops/overview.html https://os.inf.tu-dresden.de/drops/overview.html http://l4hq.org/projects/kernel/ http://l4hq.org/projects/kernel/ https://genode.org/about/index https://genode.org/about/index
- jacquesm 10y agoI wrote a QNX clone (32 bit when QNX was still 16 bit) and it was meant to become open source but that never happened. One of the most interesting projects I've worked on.
- AceJohnny2 10y ago> It's what home routers and similar devices ought to be running instead of Linux. It's what professional routers do run. Well, some of them at least. We used QNX at my last company, which made high-capacity IPSec gateways. We had control-plane boards and data-plane boards, with inter-board redundancy, which meant that if there was a failure on one of the boards, a standby was ready and functional within seconds. Part of this was thanks to QNX's QNet, which made IPC transparent over the internal IP network of the system. You could launch and control processes on any other CPU running QNX+QNet, a "node" in the sytem. It was very cool, and I miss it a bit. I certainly loved being able to kill and restart drivers, which were of course user-processes (QNX is a microkernel OS). Since I was doing driver development work, that was useful ;)
- geocar 10y agoI find a lot of similar joy working with Erlang. Having a proper (intra-application) messaging system makes a certain class of problems -- problems that you just get used to in Java, and Go, and Rust, and C/C++, and whatever -- just go away.
- vram22 10y ago>Having a proper (intra-application) messaging system makes a certain class of problems -- problems that you just get used to in Java, and Go, and Rust, and C/C++, and whatever -- just go away. Interesting. Examples?
- fest 10y agoWhile I haven't used Erlang, I have used other systems with nice messaging systems (PX4 autopilot and ROS) so I will try: 1) Data is passed between threads/processes using a message bus (essentially, a queue). This means, no need to synchronize data access, as every subscriber gets it's own message copy. 2) Suddenly, you need access to certain data from another module. If the program was architected as regular class hierarchy, you would somehow need to pass the reference to that required class instance or use a global function call. If there is a message bus where the required class is already publishing messages, you can simply subscribe to data from the required module and it is delivered via message bus. 3) You can replace modules easily. The only interface to other modules is via message bus, so you can replace the module with one that publishes the same type of messages. 4) If the message bus is designed correctly, you can move the modules/process to different machines, and they can access the message bus over network. Bus broker just sends the messages over TCP instead and that is totally transparent for both involved nodes. Btw, I am still looking for an infrastructure library just like that: https://news.ycombinator.com/item?id=14222202 https://news.ycombinator.com/item?id=14222202
- spc476 10y agoDuring college, I was hired by a small company that specialized in QNX based software to port several Unix utilities (I remember porting finger and at least one other program---I don't recall). It wasn't that bad as its POSIX support (even in the mid-90s) was pretty good. What really blew me away about QNX though, was that the network was invisible. You could construct a command line on machine A, to run a program on B with a file on C, redirect the output to a program on D with that output going back to A. My boss, sitting in the office next to mine, would run a communications program on his system while using the modem connected to my computer. Wild stuff. I also had a friend that owned a software company selling commerical X Window servers for a variety of systems. Their fastest version ran on QNX.
- vbezhenar 10y agoI think, you could do that easily using ssh with Linux. program1 | ssh server1 program 2 | ssh server2 program3
- geocar 10y agoIt's not exactly because ssh can't forward `/dev/ttyS0` It takes more than someone just adding a special adapter to produce such an interface, because you also have to change all of the modem applications that consume the `/dev/ttyS0` interface to also consume the unix-domain or TCP-based interface. Meanwhile with Qnet, an application simply goes open("/net/node1/dev/ser1") and gets the modem attached to node1. Plan9 has a similar capability.
- deleted 10y ago[deleted]
- AsyncAwait 10y ago>all of POSIX is available That's nowhere near enough for application development in 2017, POSIX is nice, but it's the bare minimum - kind of like WTO rules for international trade, nice baseline, but you still want better deals with individual countries. > It's what home routers and similar devices ought to be running instead of Linux. Given that QNX is closed source, the state of BlackBerry, the NSA leaks, the subversion of BB Messenger security etc., I'd contest whether that's a good idea.
- secure 10y ago> The desktop environment had very consistent performance, because QNX doesn't swap. (It's a real time system, after all.) Is it possible to configure Linux towards this sort of behavior? I disabled swap, and whenever my memory is exhausted aggressively (think a runaway program writing to /tmp, which is on tmpfs), my system comes to a grinding halt. How does QNX deal with memory pressure?
- Animats 10y agoIn the Photon GUI, there was a bar at the lower right of the screen showing how much memory was in use. If you tried to start a program and it wouldn't fit, you got an error message. Existing programs continued to run, but requests for more memory might return an error. In the real time world, you don't ask the OS for memory after startup for anything critical.
- eikenberry 10y ago> In the real time world, you don't ask the OS for memory after startup for anything critical. What?
- TickleSteve 10y agoDynamic memory allocation is frowned upon in both embedded and real time environments.
- eikenberry 10y agoThat makes sense, but I've never understood "the real world" to be a metaphor for those environments.
- sbierwagen 10y agoHe said "real time world"
- mycall 10y ago> It's much simpler and saner than Windows or Linux. So true. This is why Genode OS is grabbing my interest these days.