Hiya folks!

I'm John from the Developer Relations team at QNX. I'm a loooong time lurker of this forum and excited to make my first post.

I just wanted to let you know that we've kicked off a new program to start opening the doors to QNX like things used to be. Many of you probably used or tinkered with (the very open) QNX back in the day. You can now easily get a free non-commercial license to use the newest QNX. We've also just released some sample apps and a ready-to-go QNX 8.0 quick start target image for Raspberry Pi. So you can get QNX and the development tools for free now to learn, experiment, and build.

It's been a long time in the making, so I'm really excited to get to post about this first phase of the QNX Everywhere initiative. My team and management have open ears, so please share feedback about what more we can do to open things up, be more transparent, and get you what you need to create an awesome embedded QNX project.

Cheers!

  • johndoe0815 17 hours ago |
    To add some details - the source code for QNX was available from 2007 until the takeover by RIM/Blackberry in 2010.

    So do you plan to offer access to QNX source code again in the future?

    https://www.qnx.com/news/pr_2471_1.html

    • JohnAtQNX 16 hours ago |
      Don't hold me to timelines, but we're definitely headed in the direction of being more open and transparent. We're hearing that this is important to our customers and the community alike. Stay tuned!
      • f1shy 16 hours ago |
        But then it will be clear that almost nothing was done in that time…
      • nisten 16 hours ago |
        The stock is almost dead. Please just opensource it instead of taking all that to the grave with you. Just do it.
      • balou23 16 hours ago |
        So from what I gather, this is the third time you want to be open and transparent with your sources?
      • Onavo 15 hours ago |
        You are not John "patent troll" Chen right? Your ceo suck
        • serf 13 hours ago |
          he retired last year, but it's amusing to think of some exec-level ceo going onto forums to peddle merch.

          with BB's stock performance : maybe?

  • java-man 17 hours ago |
    This is a good move!

    In my opinion, any platform should be available for free for any non-commercial purpose. This is how people get started, and this is how the platform proliferates.

    I might even suggest going a bit further: provide some limited support for non-commercial users, for example, make it super-easy to file a bug.

    But otherwise, it's a win-win for both the free tier (students, hobbyists) and the corporate.

    • JohnAtQNX 16 hours ago |
      This is great feedback, thanks! I absolutely want to find ways to provide some support -- a bug portal is a fantastic idea. For now we're accepting issue reports though gitlab.com/qnx.
    • VoxPelli 14 hours ago |
      Eg the Business Source License and the Functional Source License makes it always available for non-commercial use
  • tlack 17 hours ago |
    Kudos on your bold undertaking! I've been a side-lined QNX admirer for some time, though not a potential user in most cases. A good next step would be a series of blog posts where the author takes on common types of enthusiast projects and unpacks how QNX's strengths can be applied in those scenarios.
    • steve_adams_86 17 hours ago |
      I’d love to see this. I’m curious about QNX but at a loss as to how it could benefit me as someone who tinkers with robotics at home.

      I also work for a non-profit org which does coastal margin research. We have several people working on custom hardware. Could this benefit us?

  • throw0101a 17 hours ago |
    • ilhuadjkv 17 hours ago |
      Wait, http://127.1/

      In the browser in the crackberry video

      what the....

      • Jtsummers 16 hours ago |
        127.1 is the same as 127.0.0.1. 0 bytes are inserted based on the following:

          x     -> 0.0.0.x
          x.y   -> x.0.0.y
          x.y.z -> x.y.0.z
        • bryanlarsen 16 hours ago |
          But sometimes 127.1 means 127.1.0.0/16. For example in the output of `netstat -rn` on MacOS.
          • Jtsummers 16 hours ago |
            Good to know.

            I was also coming back in to edit my comment and write that my x -> 0.0.0.x was technically wrong and the same for the others. If you stick to only single-byte values then what I wrote was correct but if the values span multiple bytes they fill in the missing 0s appropriately, as in:

              256   -> 0.0.1.0
              1.256 -> 1.0.1.0
        • elcritch 16 hours ago |
          Similar rules apply to ipv6 addresses as well.
          • jandrese 16 hours ago |
            IPv6 at least sensibly has a different delimiter for when you are eliding zeros.
            • moefh 14 hours ago |
              It's not really about eliding zeros, though. It's kind of a cursed thing:

                x       -> x3.x2.x1.x0
                x.y     ->  x.y2.y1.y0
                x.y.z   ->  x. y.z1.z0
                x.y.z.w ->  x. y. z. w
              
              Where x0 is the 8 least significant bits of x, x1 is the next 8 higher bits, and so on.

              The "zeros" happen when the last number is smaller than 256 (or 65536, etc.), but it doesn't have to be. For example 10.258 is a valid way to write an IPv4 address, it's the same as 10.0.1.2.

      • inChargeOfIT 16 hours ago |
        little known fact: you can write shorthand for any ip address. It simply omits 0. Ie 127.0.0.1 (or 127.000.000.001). Try pinging it. `ping 127.1`

        10.0.0.3 -> ping 10.3

        • BenjiWiebe 8 hours ago |
          And the shortest IP to ping, for a quick connectivity check: 1.1 (1.0.0.1 is cloudflare dns alternate address)
      • simlevesque 16 hours ago |
        what's the problem, there's a self hosted web server on it.

        If you are talking about the short url, well ipv4 allows it and they needed to save space to fit on the floppy ;)

      • deathanatos 16 hours ago |
        It's a particularly cursed form of writing IPv4 addresses:

        > A popular implementation of IP networking, originating in 4.2BSD, contains a function inet_aton() for converting IP addresses in character string representation to internal binary storage. In addition to the basic four-decimals format and 32-bit numbers, it also supported intermediate syntax forms of octet.24bits (e.g. 10.1234567; for Class A addresses) and octet.octet.16bits (e.g. 172.16.12345; for Class B addresses). It also allowed the numbers to be written in hexadecimal and octal representations, by prefixing them with 0x and 0, respectively. These features continue to be supported in some software, even though they are considered as non-standard.

        (https://en.wikipedia.org/wiki/Dot-decimal_notation#IPv4_addr...)

        Never use this.

        • chungy 10 hours ago |
          I'm not sure it's "cursed", I find it useful shorthand and use it frequently.
    • JohnAtQNX 16 hours ago |
      Not this time! =). But today's floppy equivalent is a micro-SD card.. Right? Right?
  • altairprime 17 hours ago |
    For QNX 8.0, here’s a saved-you-five-minutes direct link to the developer terms associated with noncommercial use:

    https://support7.qnx.com/download/download/51624/BB_QNX_Deve...

    (I am not your lawyer, this is not legal advice. This is not a comprehensive review, assessment, or summary of possible interpretations of that license. Seek professional counsel from a lawyer before acting on anything stated below.)

    These terms open with a ‘user did not have an opportunity to review and agree before binding themselves, their business, and/or their institution’ clause that may well wholly invalidate the entire document in the US, so please review these with your lawyer before use, so that your usage is not put at risk due to legalese overreach.

    Academics, only students and faculty of your institution qualify, and your usage under this license will be viewed by your legal team as you signing a binding agreement on behalf of your employer; make sure you’re not exposed to liability through open source contributors or at risk of being fired for misrepresenting yourself as a signing authority for your institution.

    Cloud users, your license is restricted to AWS per their terms; use on GCP, Heroku, or any other server instance not under your personal contractual control may result in owing licensing fees.

    Only OSI definitions of “Open Source” are permissible here; this disqualifies anyone licensing software under a restrictive non-commercial license from making use of the QNX non-commercial license, as per OSI, all such restrictions are not “open source”.

    Social apps are excluded by the “high risk” clause, which prohibits any use under these terms to develop applications that could harm society. Take care not to create viral applications that violate this clause.

    They collect and retain all serial numbers identifiable on all hardware you use in association with this product.

    Your noncommercial license may be severed unconditionally at any time without recourse, regardless of whether you have faithfully complied with the terms; at which time you may be compelled under contract to provide an undefined ‘certification’ of indeterminate cost that you deleted all QNX code provided to you.

    Stay safe, folks.

    • gmueckl 12 hours ago |
      Since when are social apps high risk? The high risk clause is clearly targeted at applications that have safety requirements (IEC 61508, ISO 26262 etc.). A crashing Twitter client won't injure or kill anyone.
      • minetest2048 7 hours ago |
        This is their definition of “High Risk Application”:

        any product, device, component, or system which if it fails or is interrupted, may result in loss of life, or other serious or catastrophic personal injury and/or substantial financial or commercial or societal loss.

        So its not just safety-critical applications, it also includes "societal loss". What does that mean I have no idea. Does losing Twitter client leads to "societal loss"? You can argue both ways

        • altairprime 4 hours ago |
          Only a court of law can determine what that means with certainty, as written anyways. They might even determine that it’s invalid! At which point they’ll just sever the agreement anyways, and until nullified or upheld it serves as a form of uncertainty gatekeeping.

          I cannot possibly imagine what motivated them to put in a “no edgy apps” clause and then post it on a bleeding edge site like HN. A job’s a job, I suppose.

  • mech422 17 hours ago |
    Will Photon be available as well ?
    • 0x457 15 hours ago |
      This isn't an OS meant for desktops.
      • bigfatkitten 15 hours ago |
        There are many uses for graphical UIs outside general purpose desktops.
      • speed_spread 14 hours ago |
        It used to be desktop-friendly enough to develop on. It's not a purely embedded OS.
  • CyberDildonics 17 hours ago |
    Reinventing QNX will always be seen as cutting edge.
  • peppertree 17 hours ago |
    20 years too late but ok.
    • ok123456 17 hours ago |
      And about a month after the RT Linux patches were put in the kernel master.
    • Joel_Mckay 16 hours ago |
      Agreed, a walled garden is still a walled garden...

      Even a $12 SoC is no longer resource constrained with a stripped minimal Linux kernel. QNX missed their launch window decades ago...

      • f1shy 16 hours ago |
        The just bought a cow and wanted to milk to death. RIM is just a slow company to react.
  • foolswisdom 17 hours ago |
    For anyone who (like me) was confused at what this is, it's a Unix like OS for embedded systems.

    https://en.m.wikipedia.org/wiki/QNX

    • simlevesque 16 hours ago |
      They are the brains of a ton of cars on the market, like all Ford cars. Used for complex calculations like automatic transmissions.
      • JohnAtQNX 16 hours ago |
        I think we're at something like 235 millions cars on the road today with QNX inside. The volume blows my mind. We're also hiding inside lots of healthcare products, industrial control systems, etc.

        There's lots of interesting key differences between something based on Linux, for example, and QNX. Worth digging into if you're interested in these things. My colleague wrote a short ebook and the intro has a good summary: https://gitlab.com/elahav/qnx-rpi-book/-/tree/master/pdf

        • WillAdams 14 hours ago |
          There is however also TRON:

          https://ethw.org/Milestones:TRON_Real-time_Operating_System_...

          which was demoed running on an 80186 with _multiple_ windows running videos w/o dropping a frame.

          Described as "The most installed operating system in the world":

          https://www.linuxinsider.com/story/the-most-popular-operatin...

          Unfortunately, the U.S. State Department viewed the Japanese plan to place it on all computers in their educational system as anti-competitive.

          Really wish it was available for the Raspberry Pi.

          • AstroJetson 8 hours ago |
            There is a micro kernel version that runs on RP2040 would that work for you?
            • WillAdams 8 hours ago |
              Unfortunately, I want a desktop environment, so probably not.
      • criddell 16 hours ago |
        QNX was the OS behind the ICON computer that was used in schools across Ontario in the mid-80’s. At the time, I thought they were pretty cool.

        https://en.wikipedia.org/wiki/ICON_(microcomputer)

        • JohnAtQNX 15 hours ago |
          Wow, I didn't know this! Thanks for sharing!
        • justin66 15 hours ago |
          Wow. 80186. That's something you don't see every day.
        • wwweston 13 hours ago |
          I think my (American) HS had two of these just a few years later, but I didn't remember any QNX connection!
          • wisemang 12 hours ago |
            I’d be very surprised! I thought it was very much an Ontario ministry of education thing.
        • wisemang 12 hours ago |
          Discussed on HN at least once before: https://news.ycombinator.com/item?id=41163875
      • wolrah 16 hours ago |
        > They are the brains of a ton of cars on the market, like all Ford cars. Used for complex calculations like automatic transmissions.

        I would seriously doubt that QNX or anything like it resembling a "real OS" is running on the automatic transmission. If the transmission controller is running any OS at all it's likely a microcontroller running a much more specialized RTOS.

        QNX is very common in automotive applications, but in things like digital instrument clusters and ADAS where the software is complex enough to benefit from a full networkable OS with support for a lot of different high speed buses but the use case still needs real-time guarantees and/or microkernel stability. I've specifically seen QNX's hypervisor marketed for digital clusters where the critical data display and interaction with the ECU could happen within a fully certified QNX environment that would be designed to be as stable and reliable as possible while allowing infotainment applications to run in a VM instance of Android, Linux, or even more QNX where software reliability was less critical. If it crashes, the important instruments are still working.

        Ford's "Sync 3" and "Sync 4/4A" infotainment systems run on QNX as well, though being just infotainment they didn't really care about the realtime aspect (though I'm sure stability was a big thing compared to their Windows CE based predecessors). They've moved to Android for their latest revision.

        • toast0 15 hours ago |
          > Ford's "Sync 3" and "Sync 4/4A" infotainment systems run on QNX as well, though being just infotainment they didn't really care about the realtime aspect (though I'm sure stability was a big thing compared to their Windows CE based predecessors).

          I've got a Sync 2 car, and I can't say I've noticed instability. The UI toolkit is slow, but the story on that is someone's cousin did something some Macromedia stuff that barely worked and they shipped that. I've got some issues with GPS offset, but that's pretty stable. I had worse stability with the Chrysler UConnect in my 2017 Pacifica, and that was reportedly based on QNX; it would sometimes crash and restart, or the screen would not come on at all unless you knew the magic buttons to hold to force reboot.

          • wolrah 10 hours ago |
            FWIW I have a 2015 that shipped with a late version of MyFordTouch and I upgraded in 2021 to Sync 3 hardware from a 2016 model.

            Whatever version of MFT my car shipped with was pretty bad, hitting the category button in the satellite radio controls was about a 1/5 chance of a crash. It also wasn't great at handling my USB drive full of MP3s. A few months later an update came out that was actually never officially released for my car, but if you put the right files on the USB drive it installed just fine. After that update those crashes were gone. All that was left, and it happened until I upgraded the system, was maybe once every 2-3 months the Bluetooth stack crashed and took the entire media UI with it, I'd have to use the physical Source button to switch to AM/FM and then switch back to regain control though whatever was playing would keep working.

            I upgraded to Sync 3 and haven't crashed it since. Sometimes it gets in a fight with my wireless android auto adapter, but it's never had an issue in wired mode which is all it officially supports so I'm not going to fault it there.

      • Geee 14 hours ago |
        Does this mean it's good or bad? These companies aren't exactly the beacons of innovation.
      • altairprime 13 hours ago |
        Subaru runs WinCE, or still did ten years ago anyways. Hopefully they cutover to something else someday!
  • steve_adams_86 17 hours ago |
    What would be a good hobbyist project to learn QNX?
    • f1shy 16 hours ago |
      None, I guess. It is just a Posix OS, with not the brightest future.
      • 0x457 15 hours ago |
        Maybe not the brightest future, but it's more than just a POSIX OS.
        • f1shy 6 hours ago |
          what are the extras? RT can also linux.
    • JohnAtQNX 16 hours ago |
      We have a couple of students working on bringing up the hardware in the Pimoroni Trilobot kit on QNX, but adding some ML to the camera for some kind of autonomous steering perhaps. It will be the perfect blend of intensive processing (camera+ML) with hardware control (short high-priority interrupts). (P.S. hope to open-source this when they are done, along with some blog posts or tutorials -- stay tuned.)

      Separately, I think making a GPS-synced weather station would be a fun project. QNX is often used when tight timing is needed for telemetry, so using it to collect weather (and other) data, including from pulsing hardware like an anemometer, and then publishing it to an online service would be a lot of fun.

      If software-only is more your style, there may or may not be someone in the office next to me porting some classic games right now! =)

    • hawski 16 hours ago |
      I would like to explore it's IPC. I heard a lot of good about it. For example that it is has quite a nice API and is efficient.

      Maybe I will tell it all wrong, but I remember that for example it could be easy to do RPC on the same machine for the isolation. A client calls the server and the scheduler would switch context immediately to the server process upon IPC.

    • snvzz 11 hours ago |
      I'd rather look at seL4, pragmatically speaking.
      • nickpsecurity 7 hours ago |
        I thought QNX had more features for real-world uses. seL4 was a separation kernel. They’re microkernels stripped down.

        You already have to add things to microkernel-based systems to make them useful. You have to add even more to those based on separation kernels.

    • nickpsecurity 10 hours ago |
      Cash register that takes input, does calculations, display updates, and syncs with a database for inventory and pricing. It’s not hard to build a simple one. Make sure you use decimal, not floats, to avoid weird errors.

      What would be QNX specific would be making sure the main app is always responsive to user input. That the network, DB, or other things don’t slow it down. That might be done by scheduling dedicated time for both input and the main loop. Non-blocking I/O so main loop can check the progress of other things. Maybe a monitor in there watching for freezes.

      If any component freezes, have it restart and get new/updated state. If that works, next version is a two-board, highly-available system with QNX’s networked IPC.

  • masijo 17 hours ago |
    I need to know if it comes with Photon microGUI! Please, lord, let it happen...
    • wmf 16 hours ago |
      Photon was dropped years ago. They use a completely new graphics architecture now.
  • AceJohnny2 17 hours ago |
    My previous company, which made high-availability (Active/Standby) routers for mobile networks, used QNX as the OS. I remain impressed by its capabilities.

    My memory is rusty, but we ran QNX on the control-plane processors, and it natively allowed launching processes on remote processors over the internal network of the router. That is: their low-level IPC was IP-capable. QNX's IPC was essential for our HA failover functionality.

    Also, device drivers as user-space processes that you could restart on crash was great (we were developing our network drivers, so this would occasionally happen). Also, better respect for devices actually showing up in the /dev/ tree, unlike Linux where network devices are a notable exception.

    One funny story, I once spent days debugging an issue which turned out to be due to me accidentally marking const the return values of some IPC, which caused my process to crash in between QNX's IPC function and mine! Whatever level of debugger (C/userspace) I was using at the time could not catch the error ^^;

    • ahoka 2 hours ago |
      I also worked on routes for mobile networks. Everything ran Linux, especially the control plane. Line cards were also linux, but the only task they had to do is to program the ASICS as the control plane told them to do. None of those features are relevant, you could do the IPC over HTTP or whatever you wanted.
  • MichaelZuo 16 hours ago |
    For attracting more developers can you compile a comarison table with the benefits of QNX versus competitors?

    The existing information out there is of questionable reliability and probably out of date too...

    • JohnAtQNX 16 hours ago |
      This is a good blog post idea. I'll get it on our backlog.
  • jsheard 16 hours ago |
    TIL the Blackberry brand still exists in this space. Similar to Nokia I suppose, the consumer side no longer exists but the enterprise side is still going.
  • baq 16 hours ago |
    I don't want to create an account just to know if it'll work on a pi zero w, will it?
    • JohnAtQNX 15 hours ago |
      Right now, in the Pi family, only the Pi 4 on the BCM2711.
    • Jtsummers 14 hours ago |
      https://blackberry.qnx.com/en/developers/board-support-packa... - no need to create an account, BSPs listed here and you can filter by several fields.
      • myself248 13 hours ago |
        As I was scrolling down, I saw all the TI Jacinto and Sitara dev boards, and I wondered if there might be one for the Beaglebone. And indeed, scroll a bit further!

        That's convenient, as I have a lot more of those sitting around than I do Pis at the moment.

  • SushiHippie 16 hours ago |
    My experience looking at the page as someone who has never heard of QNX:

    First there is so much text that wants to tell me how great this software/tooling/resources is, without telling me what exactly it is.

    As I still wanted to know what it is, after reading your comment here†, I clicked on the front page https://blackberry.qnx.com/en which has a concise introduction

    "Real-Time OS and Software for Embedded Systems

    Launch your critical embedded systems faster with our commercial RTOS, hypervisor, development tools and services."

    An RTOS for embedded system, aha! That would be valuable information on the QNX Everywhere page. (Real-Time OS / RTOS isn't mentioned once)

    Then I found the resources section nearly at the bottom, which has quick start guide, where I can see what I will get when I sign up for a free license and that would be exactly what I (as someone who has no clue what to expect from QNX) would want to see at the top, after a short introduction to what it is and why I want to try it out.

    Maybe this page is more intended for people who are already aware of QNX, but if you intend to "catch" new people I really would recommend you to reorder/simplify this page, by putting relevant information (like a short introduction, why I would want to try it and a quick start guide) at the top instead of a wall of marketing text.

    † this comment was first under a comment from the author, which now got moved to the HN post text

    • f1shy 16 hours ago |
      Bad product, bad company, bad marketing. Consistent.
      • AlotOfReading 16 hours ago |
        You'd be one of the first people I've seen that doesn't like QNX itself. Normally people complain about the licensing or RIM. What issues do you have?
        • f1shy 6 hours ago |
          Lack of drivers, slow, not full of bugs, but some annoying, which they wont fix (there was a month ago a thread here about it).
    • toyg 11 hours ago |
      > as someone who has no clue what to expect from QNX

      Apple doesn't have to explain on their homepage what they do. QNX, in some sectors, has been a very well-known brand for a few decades, which is probably why their marketing material is stuck in that mode.

      The obvious fact though, as your comment demonstrates, they're now just another nobody.

  • armaautomotive 16 hours ago |
    This is very interesting and I'm happy to see this. It's probably not relevant but i'm remembering reaching out 20+ years ago for a license to use in a Darpa GC team and getting a quote for 16K which made it unavailable for our make shift team but I have a tremendous amount of respect for the company and their work to build QNX. I will probably be looking into this for something in the future.
  • farseer 16 hours ago |
    With linux options in embedded space aplenty, who would want to move to a propriety os? QNX's big brother Vxworks has already been pushed out of most consumer embedded devices and is now limited to space probes and critical medical equipment. I just don't see a future for QNX anywhere.
    • NexRebular 16 hours ago |
      Not everything has to be linux. It's good to have options for avoiding monoculturalization.
      • eikenberry 15 hours ago |
        It's not a real option (to Linux) though at it is still governed by a non-free license.
        • EasyMark 6 hours ago |
          not everyone cares about that. They want something they know and something that works for them, not everything has to be FOSS
    • elcritch 16 hours ago |
      Dealing with Linux can be a PITA. Once you get a base system up you still need to roll a bunch of our own stuff. Do you use System unit or systemd, etc. The driver api's are pretty unstable.

      I make embedded linux device and I'm curious if QNX could make things easier, especially for long term stability.

    • mcflubbins 14 hours ago |
      There's BSD too (e.g. Playstation, Apple Airport, Some POS devices and printers)
    • smarx007 14 hours ago |
      For real-time systems, QNX should be compared to FreeRTOS, CMSIS/RTX, VxWorks, or, if you after the new cool stuff, Zephyr, perhaps, but not Linux.
      • znpy 3 hours ago |
        > but not Linux.

        I disagree. Linux merged the real time stuff (https://news.ycombinator.com/item?id=41594862) not so long ago so it's now a real-time capable kernel, and hence it should be held comparable to other real time kernels.

        • smarx007 2 hours ago |
          Good luck certifying an automotive or an industrial system that can lead to loss of life or severe disruption if it malfunctions. As far as I am aware, QNX, VxWorks, and CMSIS have all been used in systems that passed certifications. As IoT &co. get applied more broadly in our society, they are put in more places where they are expected to function flawlessly. I would rather want my power grid or water utility operator to use CMSIS, for example, than rt-linux.

          The only serious user of rt-linux which uses it to build a hard-RT system that I know is SpaceX. Look up the Reddit AMA post from them on how rt-linux is used. They are staying on a specific kernel version, had to do kernel patches (other than applying rt-linux), they use a very specific model of an old Xeon for low latency interrupts, incorrect programming of one process can disrupt the RT behaviour of another process, and most importantly, they have a secondary board, a truly real time one (PowerPC based, IIRC) to communicate with the real hardware.

  • beardyw 16 hours ago |
    > Many of you probably used or tinkered with (the very open) QNX back in the day.

    Well I didn't and it was not easy to understand what it is from your website. Wikipedia came to my rescue. You may want to consider that.

  • j1mmie 16 hours ago |
    I'm interested in building a Unity game for Raspberry Pi 4. Does QNX have good graphics support for RPi currently?
    • JohnAtQNX 16 hours ago |
      That's awesome! It's decent, yes. The starter image comes with a graphical app launcher you can check out. I'll poke the team about releasing the source for that launcher soon (I think they wanted to clean it up so it's a good sample).
  • Animats 16 hours ago |
    If only you could believe them.

    QNX has been "opened" twice before. Each time, there was a rug pull, and it went closed again.

    Before the first rug pull, open source groups routinely added QNX to their target list. There was a Firefox for QNX. Eclipse had QNX as a target. GCC and most of the Gnu command line tools could be built for QNX. There was a desktop environment, Photon. I used that as a primary desktop for three years when working on a DARPA Grand Challenge vehicle.

    All of that went away after the Harman acquisition of QNX in 2004.

    Then, in 2007, QNX went open source. You could even look at the microkernel. It wasn't openly licensed, but you could look inside and build it.

    In 2010, RIM acquired QNX, and, with no warning, closed the source. All open source development related to QNX ceased, and QNX lost all credibility in the community. So QNX shot itself in the foot. Twice.

    Note the contractual terms.[1] "TERMINATION. This Agreement and licenses granted hereunder may be terminated by either Party upon written notice to the other Party". QNX can pull the plug at any time. Since they've done so twice in the past, there's a good chance that will happen again.

    Now, if QNX is serious about this, the way to go is to use the licensing model Epic uses for Unreal Engine. Unreal Engine is behind most AAA game titles. The basic terms are that you can download the source and use it for anything you want, and there's no charge until you get the first $1 million in revenue from your product. Then Epic takes a 5% royalty.[2] This has been extremely successful for Epic. There's not much of a piracy problem, because if your game gets enough revenue to matter, it has enough visibility that their licensing people will notice. Meanwhile, there's a large pool of people using Unreal Engine.

    That's the way to do it if you want more adoption of QNX. Take the Epic term sheet to your lawyers and management. And have them take a look at Unreal Engine's revenue growth vs. QNX.

    As I once told a QNX sales rep, your problem isn't that you're being pirated. It's that you're being ignored.

    [1] http://www.qnx.com/download/feature.html?programid=51624

    [2] https://cdn2.unrealengine.com/UnrealEngine/faq/UnrealEngineE...

    • Tomte 16 hours ago |
      For everyone else, your QNX comment from 2015: https://news.ycombinator.com/item?id=9872640
      • stevesimmons 15 hours ago |
        As someone who knows only that QNX is a RTOS and that "real time" is good in some vague hand-wavy way, I found this 2015 comment a very succinct, concrete and illuminating description of one aspect of QNX's architecture that makes it properly real-time.

        So thank you very much for the link.

        • scheme271 11 hours ago |
          "Real time" is only good if you need guaranteed responsiveness within certain time limits. It can actually be suboptimal and slow you down if you don't need it and want to optimize other things like throughput.
          • AlotOfReading 10 hours ago |
            Though in practice, the act of designing your code for realtime tends to produce better performance than the status quo of doing nothing. Most uses of this warning seem intended to promote the latter rather than to get people thinking about their actual requirements.
          • vbezhenar 9 hours ago |
            Who needs throughput? Server software, but Linux is already dominant there and everyone's happy. For everything else, including desktop and mobile operating systems realtime sounds like a good idea.
            • mlyle 7 hours ago |
              Absolutely deterministic latency isn't a requirement for the desktop like it is for industrial control.

              If 99% of the time performance is faster, and the remaining 1% of the time isn't that bad, most people will take the trade of higher average performance. If it's running the antilock braking in your car, that's pretty bad.

            • ChrisC-POV 7 hours ago |
              That's waaaay too broad a grouping. You're thinking of PC's, basically, in one form or another (or their modern replacement, mobile devices).

              Industrial automation and hard real-time embedded devices like those that control surfaces in Fly-By-Wire systems are out there and with those it's not a matter of "throughput" but a matter of timeliness.

              I did a major project with QNX about a decade ago where the maximum allowed latency between any device on the (fiber-optic) network being asked a question by the master controller and the reply - then the processing of the reply - was less than 1 millisecond, full stop.

              Come in late and most of the time the sky doesn't fall in. But on the occasions that it does, you potentially have a 4 meter wide ribbon of red-hot steel flying out of the stands at 50mph. Or you blow one of the transistors that controls the 10-20 megawatt DC motors in each stand. (These "transistors" were boxes about 7' tall, filled with oil, and cost northwards of $200k).

              Sometimes it just doesn't pay to be late.

            • caskstrength 3 hours ago |
              > For everything else, including desktop and mobile operating systems realtime sounds like a good idea.

              Why on earth would you need real time on desktop? Every time the topic is discussed on internet bunch of confused people chime in with this sentiment that doesn't make much sense. "RTOS" is not some magic that somehow makes everything on your desktop fast. All it would do in reality is make everything slower for 99% of your interaction but guarantee that "slowness" is uniform and you don't have any weird latency spikes in other 1%. Note that for cases that are not "nuclear reactor control system that requires Very Certified OS with audited and provable reaction times" RTLinux is already available, but distros are not inclined to leverage it on desktop for reason described above.

      • mwcampbell 13 hours ago |
        > Somebody really should write a microkernel like this in Rust.

        I wonder how far Redox's microkernel design is from what that comment describes.

        • Teever 10 hours ago |
          A friend of mine is working on this OS:

          https://gitlab.com/uxrt

          • tcbawo 8 hours ago |
            I see this was submitted to HN a couple times over the last few years and has not received any comments. Can you describe the goals and status of this project? Does it fit into any larger ecosystem? Is it a research project or intended for eventual mainstream adoption?
            • Teever 7 hours ago |
              I'll start by saying that micro-kernel OS development is a bit beyond my skill set but I can tell you that the goal is more or less to make an open source QNX with features from Plan 9 that is suitable for desktop use and higher level embedded platforms.

              I'm not sure what you mean by larger ecosystem but a compatibility layer with Linux binaries is on the feature list. You can read the extremely detailed architecture notes document here[0]

              It is absolutely intended for mainstream adoption and the project has recently received interest and funding from a very large OEM. I don't want to say who it is because I am not certain if they want it publicized yet. It's probably okay for me to say but I'm erring on the side of caution.

              If you or anyone you know is interested in contributing to the project let me know or reach out to Andrew Warkentin on gitlab.[1]

              [0] https://gitlab.com/uxrt/uxrt-toplevel/-/blob/master/architec... [1] https://gitlab.com/andreww591

            • andreww591 4 hours ago |
              Basically I'm trying to write a better Linux than Linux and a better QNX than QNX, at least for certain use cases that is. At least initially, my primary focus is on workstation/enthusiast desktops and higher-end embedded systems (some types of servers, especially ones where high security is important, are also a focus as well but maybe not quite as much for now). Pure consumer desktops aren't really much of a priority; the goal is to make something that's approachable but definitely not dumbed down. Almost every day I see people complaining about mainstream OSes and I think there's an opportunity for an OS that's cleaner and more integrated than Linux and has various advanced features not found in Linux, but still tries to maintain a high degree of compatibility with it. I'm not really trying to clone QNX or Linux 1:1, but I am trying to maintain similar enough semantics to allow easy implementation of compatibility layers for both systems.

              At the moment I have a working microkernel and an incomplete process server with a partially-implemented VFS but no support for running regular user processes. Currently I am working on some of the first special filesystems built into the process server (specifically an early log/console device at the moment).

              The kernel is a hard fork of seL4 (the biggest addition at the moment is a preliminary implementation of QNX-style arbitrary-length arbitrary-address message copying); I've forked it because seL4 is focused on lower-end static embedded systems, and full verification of just the kernel isn't really particularly useful for a dynamic OS when all of the servers are unverified. The process server is written in Rust, and it's likely most of the other low-level servers will be as well, although I'm not really writing a "Rust OS" as such. Many of the basic utilities will most likely be BSD-derived, and some of the higher-level desktop-related stuff may be written in various other languages (haven't completely decided there).

        • andreww591 4 hours ago |
          Redox's IPC is a fair bit weaker of a design than that of QNX or my seL4-derived kernel. It works sort of like that of QNX in that it has direct copying of messages between address spaces and RPC-like semantics with direct context switch from sender to receiver and back, but it is more limited and implemented in a slower way. Also, there seems to be no consideration for real-time performance at all.

          Outside the core IPC model, the namespace model is also more limited than that of QNX; QNX allows multiple servers of a given type mounted anywhere within a namespace, whereas Redox's scheme-based namespace model only allows a single server of a given type per namespace, mounted on a fixed top-level prefix.

      • tcbawo 10 hours ago |
        Thank you for adding that link. What I find particularly remarkable is that the author of that comment is John Nagle himself (of Nagle’s Algorithm fame https://en.m.wikipedia.org/wiki/Nagle%27s_algorithm).
    • stackghost 16 hours ago |
      Shitty dx is baked into RIM/Blackberry's institutional DNA.

      I had a long conversation with their engineering people way back before BB10 came out. At the time you had to apply to get access to the full blackberry SDK, and IIRC you also had to sign an NDA. Meanwhile Android and iOS were in full swing and wouldn't you know it, the platforms that had better developer experience, that prioritized making it easy to write apps, were successful.

      Blackberry is just institutionally incapable of handling this sort of relationship with the community. It's that legacy telco "us vs them" mindset at the top of the org, and it filters down whether implicitly or explicitly.

      • baby_souffle 13 hours ago |
        It was worse than an NDA! You also had to start your application with a trip to a notary to get your ID confirmed.

        And if their signing servers were down…You couldn’t load had just compiled onto your own dev / test device.

        I loved using my blackberry but I hated developing against it. Bb10 was its own little adventure but had similar draconian dx

        • hinkley 12 hours ago |
          One of the dirty secrets of the mobile industry, particularly before Apple showed up and spoiled all the fun, was how many execs and chunks of the ethos were airlifted out of Ma Bell. The kind of moat-building we're seeing take over the internet over the last couple decades is something that mobile carriers already had in heaps.

          It was also common for carriers to extort very high fees from anyone selling apps on their platforms. People bitch and moan about Apple taking 30% (which is more like 15% now) but I saw mobile app execs complaining about only grossing 30% after the carrier fees, and so you could only either make blockbusters and pay for R&D on volume, or set your VC money on fire to fatten up the carriers and get nothing, except more powerful carriers, for your efforts.

          I'm not at all surprised to hear that RIM was only slightly less evil.

          • tdeck 9 hours ago |
            I remember getting some LG phone in maybe 2007 and being excited because I read you could write 3rd party apps and games for it. Then I tried reading the BREW developer docs and trying the emulator, which were both abysmal. Then I read that just to try an app on my phone I would need to pay hundreds of dollars (IIRC it was $400) to get it signed.

            That totally killed my desire to develop for my flip phone.

            • mikepurvis 7 hours ago |
              It's crazy to think that that's an ecosystem where paying a dollar or more for a ringtone had been normalized.
          • blackoil 7 hours ago |
            Was this North America specific. I remember using sdk/dev tools for Symbian. I don't remember timelines, so maybe they changed after iPhone release.
            • jampekka 3 hours ago |
              If I recall correctly the Symbian SDK was freely available more or less from the Psion start. Not sure about it's different "editions" though.
        • rbanffy 12 hours ago |
          > Bb10 was its own little adventure but had similar draconian dx

          I did some development for it but the bureaucracy killed my will to do more.

          It was a great phone OS though. The real time nature makes even modest hardware responsive.

          • stackghost 9 hours ago |
            The BB10-powered Passport was my favorite device
            • rbanffy an hour ago |
              I still want one. Can’t find any.
        • f1shy 5 hours ago |
          Even worst! When everything was signed, you would get no support at all! Worst experience ever!
      • cmrdporcupine 12 hours ago |
        From the people I know who worked there, same crap in internal culture, too.
    • yjftsjthsd-h 16 hours ago |
      > Now, if QNX is serious about this, the way to go is to use the licensing model Epic uses for Unreal Engine. Unreal Engine is behind most AAA game titles. The basic terms are that you can download the source and use it for anything you want, and there's no charge until you get the first $1 million in revenue from your product. Then Epic takes a 5% royalty.[2] This has been extremely successful for Epic. There's not much of a piracy problem, because if your game gets enough revenue to matter, it has enough visibility that their licensing people will notice. Meanwhile, there's a large pool of people using Unreal Engine.

      One option: Dual-license as GPLv3 (the 3 is important!) or commercial license. Hobbyists and FOSS projects will be quite happy to use a GPLv3 OS. The big commercial users - traditionally cars and other embedded uses - will not want to be legally obligated to give users the ability to install custom firmware (which GPLv3 basically requires), so they'll still pay for it. Everyone wins.

      (IANAL, this is not legal advice, interpret licenses yourself.)

      • dystnitem4r3 13 hours ago |
        Even more critically, dual-license commercial and AGPLv3 to avoid the AWS loophole (hosted services or source modifications without licensing it commercial.)

        AGPLv3 is perfect for kernel and userspace tools because, while it doesn't guarantee licensing revenues, as soon as they do anything to modify it they have to release those changes to ANY users of the system, whether downstream distributors or simply users of the network services they provide. Since they have to provide any IP/patents they used to do it under copyleft terms, QNX would get publicly visible benefits, albeit with changes that might not be useful under the commercial license without negotiating a CLA with the modifying party, but under the commercial license you could negotiate terms/a discount to trade their new code for a reduction in their cost of licensing. It's a win/win from either an open source PR or a behind the scenes commercial negotiation point. Obviously your lawyers, bean counters, and C-suite have to get onboard, but if you are serious about growing QNX's marketshare now that Linux is gaining real-time kernel support in mainline, you had better point out to your bosses they need to make the decision quick and stick to it, or there won't be a next time.

        Edit: Adjustments made to clarify my position and suggestion.

        • winocm 12 hours ago |
          My honest opinion is that the prevalence of licenses like GPLv3 and AGPLv3 end up indirectly leading to people recreating the wheel, rather than using the wheel that exists already.
          • talldayo 12 hours ago |
            I think wheel-reinvention is the perfect punishment for people that want to be stingy with their wheel development. Copyleft infringement deserves no more empathy than copyright infringement.
          • karmakaze 12 hours ago |
            Working as intended. If they don't want to share, then they can't benefit.
            • winocm 9 hours ago |
              It's not so much that as there is the net-negative side effect of having people redo the same work over and over again at their day job or whatever. It horrifies me when I think about the number of hours of people's lives wasted on things like that.

              It applies to both sides of the argument, with organizations keeping things to themselves or others avoiding codebases for the inverse reason.

              • fjkdlsjflkds 7 hours ago |
                > It's not so much that as there is the net-negative side effect of having people redo the same work over and over again at their day job or whatever. It horrifies me when I think about the number of hours of people's lives wasted on things like that.

                Given that this issue applies to all proprietary/non-opensource software, which is the overwhelming majority of software out there, you can hardly blame GPL3 for this fact of life.

              • Brian_K_White 7 hours ago |
                But who cares if someone chooses to redo work they didn't have to? I don't care about that at all. Self inflicted wound.

                They presumably can salve that horrible wound with all the money they get (not make or earn, just get) from their chosen modus operundi.

            • mikepurvis 7 hours ago |
              Absolutely. LLVM exists because GCC is GPL; that's a feature not a bug.
              • badsectoracula 6 hours ago |
                LLVM exists because its original developers wanted to do research, not because of GPL and at the time there wasn't even a C compiler for it, not to mention that GCC wasn't designed at all to do what LLVM did.

                The license angle with Apple did happen because of GCC's switch to GPLv3 but that came years later - and GCC still wasn't (and AFAIK still isn't) designed to be used like LLVM or (later) Clang, like using it as a backend for IDEs, analyzers, language servers, etc. The two projects aren't interchangeable with only the license being the thing that differentiates them.

                • f1shy 5 hours ago |
                  They could have very well used lots or reusable parts of GCC. It was possible, and were many projects trying to change GCC.
                  • baq 2 hours ago |
                    gcc was specifically designed to not have many reusable parts to avoid people ripping them out. modularity only happened after LLVM and clang specifically started eating its lunch.
                    • Y_Y 2 hours ago |
                      > LLVM and clang specifically started eating its lunch

                      I don't know how you can eat GCC's lunch. I feel like in this analogy GCC eats from a communal trough and is very happy to share. A company that sells licenses can lose customers, the GNU project just wants the world to benefit. GCC is still ubiquitous and has plenty of developers and mindshare, what more could they want?

                    • f1shy 2 hours ago |
                      Most certainly not. The modularity was not great, but BIG chunks of code could be copied. I did that myself.
              • talldayo 4 hours ago |
                I don't even understand how you can point to LLVM as an example of this failing. GCC is still alive and well, and perfectly suited for the task it was always intended to fill. People that wanted a commercial C compiler always had the option to purchase one at-cost, GCC was intended as an alternative to that process, not the alternative. It may be hard to remember, but less than 50 years ago squabbles over compiler licensing was what most developers had to deal with.

                Respectively, LLVM fills it's own gap nicely. It has the classical BSD-like issue where hundreds of unique and disperate forks exist with no roadmap to bring them together, but that's also technically a "feature" of each license and not a bug. If GCC developers felt their job was obsoleted by Lattner, there wouldn't be a reason to update and maintain it. The end result has been healthy competition, accountability for either team, and better optimizations for everyone using either compiler.

        • lolinder 10 hours ago |
          > AGPLv3 is perfect for kernel and userspace tools because, while it doesn't guarantee licensing revenues, as soon as they do anything to modify it they have to release those changes to ANY users of the system, whether downstream distributors or simply users of the network services they provide.

          This is actually fairly ambiguous in the text. It says "if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version". This is fairly straightforward when applied to a database—if you modify an AGPL database and offer it as a hosted version then your users are obviously interacting with it over the network—but much less straightforward when talking about an AGPL program that doesn't intentionally build in network connectivity.

          The GPL FAQ addresses this provision [0] and it seems to support a more conservative reading. My understanding from the FAQ is that a Program that is not "expressly designed to accept user requests and send responses over a network" derives no benefit from being AGPL vs GPL, even if a web app interacts with that AGPL code over IPC or similar.

          [0] https://www.gnu.org/licenses/gpl-faq.html#AGPLv3InteractingR...

          • jraph 4 hours ago |
            Yep, I think the agplv3 behaves like the gplv3 for programs that are not network services.

            With the twist that if your non networked, agplv3 program happens to contain code that's interesting to build a network service, this code can only be used under the agplv3 :-)

      • adev_ 3 hours ago |
        > The big commercial users - traditionally cars and other embedded uses - will not want to be legally obligated to give users the ability to install custom firmware (which GPLv3 basically requires), so they'll still pay for it. Everyone wins.

        Yes. And it is even more than that.

        Blackberry could have a general QNX verison under AGPLv3 and keep the "safety certified" version proprietary and they would not loose a single customer.

        What the automotive world, robotic world and others are paying for is not standalone QNX... it is the safety-critical certified version of QNX.

        It is easy to understand: Making an RTOS is easy. Making an RTOS (and a compiler) ASIL-D ISO-26262 certified is a freaking nightmare. And this is why companies are paying for QNX.

        Opening the QNX source code under GPL would increase significantly the number of software ported on QNX and consequently the adoption of QNX.

        Unfortunately, Blackberry is way too stupid to do it: It is not in their culture. That is very unlikely to happen.

    • apitman 15 hours ago |
      Even getting the licensing right isn't sufficient. They could license it as MIT today, close source it again tomorrow, and within a few releases no one would be using the MIT version.

      Unless someone is interested in maintaining a full fork. It's the same reason Google can do whatever they want with Chromium even though it's technically open source. No one else has the resources/will to maintain it so there's no credible threat of a fork.

      • justin66 14 hours ago |
        That's not a great example. Maintaining a full fork of QNX would not be terribly complex compared to maintaining a full fork of Chromium. The latter targets standards which are moving and evolving. Nobody cares which version of POSIX QNX is compatible with. (Also, Chromium is much bigger)

        I think a fork could have some maintainers. I'd be more worried about people wanting to put new features in than anything else.

      • miki123211 12 hours ago |
        Between Microsoft on one hand and all the other browser companies (Opera, Brave etc) on the other, I wouldn't be so sure.

        Following Google's lead is massively cheaper than having a custom fork or engine, but it's not impossible. If Google does something wild and unpalatable to all these companies, I wouldn't be surprised if we see a Linux Foundation version of Chromium, with custom skins on top.

        That could even get Mozilla to jump on the bandwagon, especially if they lose 9x percent of their revenue due to Google's antitrust remedies, which is not that unlikely.

    • PaulHoule 15 hours ago |
      Also I wonder how many applications really need more real time responsiveness than you can get out of Linux. We even have

      https://arstechnica.com/gadgets/2024/09/real-time-linux-is-o...

      If I use Linux I know I won't have to have a discussion about licensing, I know I won't get rug pulled, etc.

      Also the ban on commercial use is heinous. I am going through this with Arangodb right now. I love the product, but I have no budget for a cloud instance they manage and I have no budget to talk with their sales people about a commercial license. I have several systems that use it (including one that's about 80% of a way to a "too big for free" database) and I don't know if their fate will be (a) open sourcing, (b) a product or (c) a system that makes money for me directly but for me the short path is to switch to postgres, not talk to people whose business model doesn't necessarily allow my business model.

      • sitzkrieg 14 hours ago |
        rt linux is not appropriate for many hard realtime requirements

        i have seen some try and fail in an effort to save $perceived_value

        • eikenberry 13 hours ago |
          Is there a good libre real-time OS you would recommend over it?
          • serf 13 hours ago |
            chibios is great, but I haven't followed their culture or licensing in a few years now.

            my experiences then would lead me to recommend it, though.

            • monocasa 13 hours ago |
              ChibiOS doesn't really compete in the same space as QNX. It's a single address space executive that's more like FreeRTOS than QNX.
          • MisterTea 13 hours ago |
            RTEMS is one and there is also eCOS. RTEMS has flown in space a few times so it is proven.

            Forgot to mention: the neat part of RTEMS is it allows one to sort of turn a Unix program into a bare metal program.

            • gerdesj 10 hours ago |
              Why do RTEMS and eCOS trump, say, Linux? Linux on a RPi has also famously flown (really!) in space.

              It's all very well asserting something but a bit more chat would be nice.

              I'm not sure what "turn a Unix program into a bare metal program." means.

              • fragmede 10 hours ago |
                Say all your program does is read some sensors via gpio, save those readings in ram, do a bit of math on that state, then set some other gpio pins, and that's all the entire system does. when it turns on, it should jump right into doing that and nothing else.

                It may be easier to write that on a full sized Linux system, but come time to deploy it, all that Linux code that isn't being used is a liability for bugs and unexpected behavior to crop up. One approach is to slim down Linux to avoid that (eg removing systemd, esp for systems that don't have enough ram to run it), but another approach would be to just use something less complicated than Linux. It would suck to get to space only to find that something had messed up permissions on the gpio pins again so your satellite didn't deploy and now you've wasted a launch. If there's no permissions system to mess up, that can't go wrong.

                As far as bare metal, I presume it means to port a Unix program which has all sorts of assumptions about running on a Unix operating system, to an OS that's not one, with simplified models for a lot of things, and for the system to reliably run that program on boot and not do anything unecessary. Like run cups.

                • PaulHoule 9 hours ago |
                  For some tasks you don't need even need an OS and that competes with QNX. For instance I do hobby experiments with persistence of vision displays on AVR-8 and assembly language on the bare metal is so simple but it is simple hardware and simple software, bigger jobs need something more.
              • adrian_b 3 hours ago |
                As it has been already said, with RTEMS and other similar real-time operating systems it is easy to predict the worst case time for the handling of any event. This is absolutely necessary when controlling many kinds of hardware devices.

                This is completely impossible with standard Linux. Real-time Linux might offer some guarantees, but I am pretty sure that they are rather soft.

                Linux is already too big to be easy to understand and audit in order to be certain that you really know which will be the worst case.

                With a simple OS like RTEMS, a competent programmer can become an expert in its internals in a month or so, and then it is easy to understand what exactly will happen in any circumstance.

                I have used in the past some commercial real-time operating systems, like pSOS and VxWorks, but the free RTEMS has been much better than those, especially because being open-source it allows a much deeper customization than any proprietary solution.

          • ranger_danger 10 hours ago |
            I believe seL4 is formally verified.
            • indolering 9 hours ago |
              Verified worst case execution time analysis. So instead of just hanging on it until it achieves the desired responsiveness (like QNX and rt Linux) Sel4 can actually back up its claim.
              • nickpsecurity 7 hours ago |
                In that case, you’re just hanging on the specs, prover, compiler, and other dependencies. Things most developers can’t even begin to verify. That also assumes the hardware works which isn’t safe if talking about cosmic rays.

                Empirical testing of “verified” software often found errors, too. High-assurance, security certification used to require formal methods, thorough testing of code, review of anrtifacts, and pen testing by independent team. We should do that today.

                In this case, you’d do white box and black box testing of the WCETS of seL4.

        • RandomThoughts3 13 hours ago |
          Agree but I have seen more people wrongly think they need hard real time than people incorrectly picking their kernel.
        • xcrunner529 13 hours ago |
          I don’t doubt this but it’s worth noting that I believe spacex uses Linux as their RTOS.
          • mschuster91 12 hours ago |
            SpaceX can afford that by their _very_ resilient design and accepting, even anticipating failure.
        • worthless-trash 7 hours ago |
          talk nerdy to me, which ones ?
        • jonaias 7 hours ago |
          RT Linux is not the only alternative. There are now plenty of options for achieving hard real-time performance without relying on proprietary RTOS solutions:

            Dedicated Real-Time Cores: Many SoCs include dedicated cores specifically for hard real-time tasks.
            Microcontroller Companions: Pairing a microcontroller running a lightweight RTOS with a larger, general-purpose processor as a supervisor (You can use normal Linux).
            FPGAs: Custom FPGA implementations can deliver deterministic timing where ultra-low latency or specialized processing is needed.
          
          And ofc, RT Linux, that in my experience is suitable for over 80% of hard real-time applications (an estimation, based on experience as a former user—your mileage may vary).
      • Animats 9 hours ago |
        Real time is about worst case time, not average.

        The classic test for a real time OS is simple. You write a program that waits from an interrupt from an input pin. When the input is raised, there's an interrupt. That activates a user process. The user process turns on an output pin.

        You hook this up to a signal generator and a scope. Feed in a square wave. See the delay between input and output. If there are outliers, delays much larger than the normal delay, the system is doing real time properly at all.

        If it passes that test, run some other program at a lower priority than the one that's monitoring the input pin. The results should not change. The other program should reliably be preempted.

        QNX could pass that test, at least when I last used it.

        Note that this requirement conflicts with many modern CPU and OS features, such as sleep modes, power-saving under light load, and paging. Classically, you didn't care, because the control CPU used far less power than whatever large piece of equipment it was controlling. But for things that run on batteries, it's a problem.

        Something that's given trouble: "system management mode". Some industrial computers used code running in system management mode to help out with some peripherals, such as making flash memory look like a hard drive. This time-stealing shows up in the interrupt latency test. QNX techs used to quietly have a blacklist of embedded computers to avoid.

        • Stratoscope 6 hours ago |
          > If there are outliers, delays much larger than the normal delay, the system is doing real time properly at all.

          Just to clarify for anyone reading, I think you meant:

          > If there are outliers, delays much larger than the normal delay, the system is not doing real time properly at all.

    • wakeupcall 13 hours ago |
      Back before 2004, QNX could have still been relevant as there was still a lot of OS experimentation from the user/developer themsevels. They could have attracted enough people to carve a niche even in the desktop space at that time.

      After beos failed, I played/developed with QNX until they pulled the rug. I was on it full time on my main dev machine. I loved it.

      When they closed it I got severely burned to the point that I will not touch a any closed development platform. I see from the license they didn't change a bit.

      Not that it matters anymore.. they're largely irrelevant today except for whatever existing markets they already have. It would be fooling to choose QNX today: we now have good alternatives, and all of them with open licenses.

      • Suppafly 2 hours ago |
        I remember being really excited about QNX for a few months after BeOS closed up. It had a cool desktop environment and was mostly posix so it was more or less familiar coming from Be or Linux.
    • snvzz 11 hours ago |
      >QNX went open source.

      Not open source. Those words have a specific definition[0], which QNX never met.

      0. https://opensource.org/osd

    • johnklos 6 hours ago |
      So it's not just me. I asked for a license to do pkgsrc package building on QNX, got rejected, and couldn't even get a human to respond to my messages with anything that didn't resemble a copied-and-pasted form response.

      They gave the impression at the time that they really couldn't be bothered with open source. This just happened to be not long after 2010.

    • hulitu 4 hours ago |
      > As I once told a QNX sales rep, your problem isn't that you're being pirated. It's that you're being ignored.

      Microsoft realized that a long time ago. That's why you could always get Windows for free if you knew where to look.

      QNX will lose even more since linux merged the RT patches. There is almost no reason to use QNX on an embedded system where linux is also available.

      It is sad. With GNU it could have been something interesting.

    • relistan 3 hours ago |
      I worked for a startup in Germany that was acquired by RIM/Blackberry in 2011. The company tried to get all the employees to sign new contracts for their existing roles and pay. The new contracts put severe IP limitations on everyone. All open source was forbidden. Many of us were very active in open source at the time. (I had worked for the Eclipse Foundation). A friend who wrote fiction was told he’d need written permission for each story he wanted to post or publish. They insisted that German engineers sign contracts where the binding language was English even though it was provided with a German translation. Many of us just left instead. My favorite line from the transition team sent from Canada was about how lucky we were going to be that they’d let us keep our awesome office in Munich because everyone at RIM worked in dark concrete dungeons. Yeah, how lucky we were that we could keep what we had.

      Open anything is just completely foreign to that company’s DNA. I would not trust them an inch.

  • mikercampbell 16 hours ago |
    With all due respect, I’ve never spent so long clicking through a website trying to figure out what it actually was.

    What is QNX haha

    • mikercampbell 16 hours ago |
      I mean, I figured it out from HN but still.
    • Animats 15 hours ago |
      QNX is a microkernel-based real time operating system. The kernel is tiny; it was about 60KB (not MB) twenty years ago. All the kernel does is message passing, timers, CPU dispatching, and memory allocation. Everything else is in user space, including file systems.

      Everything is a message, rather than being a file. Messaging works like a function call - you send a block of data to another process, wait, and get a reply back. Processes which receive messages act like servers - they have a thread or threads waiting for incoming requests, and when a request comes in, it's handled and a reply is sent back. It's a microservices architecture.

      Unlike Linux, it's a fast microservices architecture. Message passing and CPU dispatching are integrated. When a process sends a message to a service process, the sender blocks. (Timeouts are available.) If the service process isn't busy, control immediately transfers to the service process without a trip through the CPU dispatcher. When the service process replies, the reverse happens, and control goes back to the original sender. With most inter-process communication systems, there's queuing delay for this kind of operation. QNX got this right. This is the core insight behind QNX.

      Yes, there is message passing copying overhead. In practice it's under 10%. I've sent video through the message system. Copying is less of a problem than you might expect, because, with today's large CPU caches, the data being copied is probably warm and in cache.

      All this is real-time aware. Higher priority processes get their messages through first. If you call a service, it inherits the caller's priority until it replies. This prevents priority inversion, where a high priority process calls a low priority one and gets preempted by lower priority work. This works so well that I was able to do compiles and web browsing on a single-CPU machine that was also running a robot vehicle.

      There's a tool for building boot images. You put in the kernel, a standard utility process called "proc", and whatever else you need available at startup. For deeply embedded systems, the application might go in the boot image. It's all read-only and can execute from ROM if needed, which is good for applications where you really, really want startup to always work.

      Files and file systems are optional. For systems with files, there are file system and disk drivers to put in the boot image. They run in user space. There's a standard startup program set that creates a Unix-type environment at boot time. This is all done in user space. The file system is accessed by message passing.

      System calls look like POSIX. Most of them are implemented in a library, not the kernel. Service processes do the work. When an application calls POSIX "read", the library makes an interprocess function call to the file system or network service server. Program loading ("exec") is done in user space. The boot image can contain .so files. "Exec" is done by a .so file that loads the image. So the kernel doesn't have to worry about executable format, and program loading is done by untrusted code.

      Because it uses POSIX, most command line UNIX and Linux programs will compile and run. That's QNX's big advantage over L4. L4 is a good microkernel, but it's so stripped down it's just a hypervisor. Typically, people run Linux on top of L4, so all the bloat comes back.

      There is no paging at the OS level. That would kill real-time. There's a paging to disk library that can be used by programs such as compilers with big transient memory needs, but most programs don't use it. The effect is that responsiveness is very consistent. I miss using QNX desktop. There's no lag.

      So that's an overview. Microkernel done right.

      • snvzz 11 hours ago |
        >Microkernel done right.

        That'd be seL4.

        • nickpsecurity 6 hours ago |
          So, we have to look at our requirements first. QNX systems want performance, UNIX compatibility, increased reliability/security, field-proven, and supportable. They want certain features that increase developer productivity, too. You can run a lot of stuff on QNX within its existing security expectations.

          Whereas, seL4 is a separation kernel. It does almost nothing but with high security. To do anything, you have to add software to it that can undermine its security or performance claims at a system level. These are also unproven additions most people know nothing about. That overall deal might be fine if one component being ultra-secure is your highest goal.

          QNX is usually better than seL4 for most needs. Even security people because they’ll want useful functionality which they’d have to secure on seL4 anyway.

  • Retr0id 16 hours ago |
    I was excited to see "free", and even more excited to read "like things used to be", but after reading more closely I see it's merely free-as-in-gratis, as opposed to the more interesting definitions.
  • fauria 16 hours ago |
    In case you are wondering: QNX is a commercial Unix-like real-time operating system owned by BlackBerry, aimed primarily at the embedded systems market.

    From https://www.sealevel.com/2023/01/02/what-is-qnx

    • fulafel 16 hours ago |
      The "unix-like" characterisation seems it might be be from the Wikipedia QNX article and repeated by a lot of web content. But it doesn't seem really accurate to me and it's not used by their own web site or documentation. It seems quite opposite to Unix in a lot of ways even though it has some API compatibility.
      • fauria 16 hours ago |
        You should update the Wikipedia article in that case.
      • bitwize 15 hours ago |
        It's got a POSIX API layer, but it's about as "unix-like" as Haiku.
      • bregma 15 hours ago |
        How does it seem like the opposite? It's POSIX.
        • fulafel 6 hours ago |
          Check out eg this paper about the OS: https://cseweb.ucsd.edu/~voelker/cse221/papers/qnx-paper92.p...

          Yes it has some source-level Unix compatible app-facing interfaces, but we don't call the Steam OS/Deck a Windows-like either. (eg Windows NT was also POSIX certified)

          • bregma 7 minutes ago |
            I'd definitely call the Steam Deck unix-like, although GNU/Linux is less POSIX-conformant than QNX is.

            Source-level and command-level compatibility is what makes something "unix-like". Paying a hefty annual license fee to the Open Group is what makes your OS "Unix". I don't believe there is any benefit to BlackBerry paying such a fee so they can slap their logo on their web site since the US DoD is not a target market for them.

            Nevertheless, arguing that something is not "unix-like" just because it's very much like Unix is, well, odd.

      • Lammy 14 hours ago |
        Perhaps Wikipedia by way of the old QNX FAQ? https://web.archive.org/web/20080424102623/https://www.bitct...

        “In the early 80's they began work on a small message passing kernel based OS that had some user interface similarities to UNIX.”

        “They called their product QUNIX, reportedly because it was a "Quick UNIX". They named their company Quantum Software Systems Limited. The QUNIX name lasted a year or two until they received notice from AT&T; that a change would be appropriate. Always ready for a challenge, they changed the spelling to QNX® without changing the pronunciation.”

  • hacknews20 16 hours ago |
    Great. Long over due, maybe too late.
  • initramfs 16 hours ago |
    I found this a while back. Unsure if it's related https://github.com/vocho/openqnx

    (I prefer 32-bit because most applications don't need more than 4GB RAM, but I guess 64-bit could be useful too)

  • bexsella 15 hours ago |
    I’ve had a lot of experience in developing on QNX over the years, and with each successive year, the call to migrate to Linux got stronger. The day to day developer experience is great, you can very easily setup a CMake toolchain and bypass the need for QNX’s Momentics, which if you’re just developing for QNX is something you will want to do. But, in my experience the driver support simply isn’t there, and that became painful. A fair few major board manufacturers treat QNX integration as a complete afterthought, and at a point you start to feel that this is directly related to RIM’s decision to shutdown source access to QNX. I’ve since left that company, but I imagine there is still a call to use Linux.
    • bregma 15 hours ago |
      I use CMake for QNX all the time. It just works, out of the box.
  • brynet 15 hours ago |
    I don't have great expectations for this, we've been rug pulled before.

    https://www.osnews.com/story/23565/qnx6-is-closed-source-onc...

    They then killed the self-hosted QNX entirely, no downloadable .ISOs after 6.5. No working toolchain, so porting software became difficult, pkgsrc abandoned.

    They are completely noncommittal, nothing short of actually open-sourcing it, MIT/BSD, would convince me otherwise.

  • jauntywundrkind 15 hours ago |
    I wonder how much DBus (the Inter-Process-Communication (IPC) standard Linux desktops have been based around) is baked into QNX & instrumental to it! Maybe I can find out now?

    https://ioactive.com/pdfs/IOActive_Remote_Car_Hacking.pdf or https://insights.sei.cmu.edu/blog/vehicle-cybersecurity-the-...

    That was such a time. It's sad that it was a security panic, to me, because there was incredible promise there... All of the cars infotainment, windows, interior lighting, HVAC, all these things are just DBus services hosted on QNX? And I can just connect to my car & modify them, in some cases even over the air? QNX & DBus could have been a huge selling point, could have been such an awesome way to debundle the car from its infotainment. If only.

    Really interested to see if DBus really does underpin much of QNX, or whether this was just a time & place. Seeing how monolithic versus networked QNX is in general would be fascinating; is there one or two QNX hosts & lots of devices, or so the story more distributed that that?

  • sriram_sun 15 hours ago |
    Is there an eBPF equivalent for QNX? Also, with the real-time linux patch (which has been mainlined now), I'm able to run C++ ROS2 control loops @ 1ms down to even 250us on commodity off the shelf i3 and i5 hardware with dedicated cores.

    I've worked on vxWorks, QNX and Linux and I found the pace of development using Linux the fastest.

    • craftkiller 15 hours ago |
      Wouldn't that not make sense for QNX? eBPF is for running code in kernel space but QNX is a microkernel. The microkernel approach would be to just run another userspace program like any other program.
      • sriram_sun 5 hours ago |
        Good point! I was look at it from a users pov. Let's say I have a BPF script for monitoring a set of processes - their disk, network and CPU with some filters on specific messages. Now can I use it in qnx or what's the equivalent? It can run in userspace for all I care.
  • wkat4242 15 hours ago |
    Oh cool, does this also include the unfortunately discontinued desktop version of QNX? I've always wanted to try out a real time OS
    • eikenberry 15 hours ago |
      Why not real-time Linux? It's even been accepted into mainline now.
      • wkat4242 15 hours ago |
        Is that a true RTOS though? I thought it was only a partial implementation
  • rw_grim 15 hours ago |
    > Develop open-source software (OSS) that is interoperable with QNX software, provided you make the resulting OSS publicly available at no charge.

    Even the GPL doesn't have this restriction...

  • nrclark 15 hours ago |
    @JohnAtQNX can you remove the "everybody needs an account" restriction from your website downloads, and also remove the license mechanism from qcc? That would go a long way towards encouraging hobbyists to try it out.

    Your money comes from high-volume licensing deals, where you presumably get a per-unit license fee. That revenue stream is jeopardized by pissing off the CI/CD teams that have to support QNX product lines.

    • JohnAtQNX 15 hours ago |
      Hiya! We've discussed how to make that work. It's good to hear the same thing from an outside voice. I'll bring it back to the table to inch it along. Thanks!
      • jiggawatts 7 hours ago |
        This is in the same category as VPN vendors that require a login to download their VPN client.

        When you're a consultant or a random sysops person in a huge enterprise, that's infuriating. There is zero benefit to the vendor doing this, nobody can ever benefit from "pirating" a free component that can't be used without another paid component.

        I've permanently blacklisted vendors for pulling this kind of thing.

        Most recently Crowdstrike: I was up all weekend doing emergency server rollbacks and they had the nerve to publish critical information behind a login!

        Tip: If your company ever uses the word "you" in any communication of any kind, then that company has made a serious error of understanding. There is no "you" at an enterprise customer! There's teams of many people each, and not all of them are even aware of who has an account and for what.

      • wolrah 6 hours ago |
        I will echo this. Back around 2000 I recall getting a QNX live CD with a magazine. That was the ultimate in low friction, I didn't even know QNX was a thing but a copy of it landed in my lap so I gave it a shot.

        At the time it didn't support my sound card or modem so it was dead in the water for me but it was an interesting experience that earned the platform a near mythical spot in my mind for decades following.

        Keep friction low if you want people to try your thing.

  • ksaj 15 hours ago |
    Please consider bringing back some legacy software.

    When I was learning computers, we learned on QNX (poor kids younger than I started on Windows!) and there were some very interesting software packages that I think don't exist anymore.

    For example, QPaint. What made it interesting, is that you could save your image in a few image formats, or as a C header for inclusion in a C program. It could also import/export Logo generated images.

    There was also a software voice module. I assume it had different voices because when it was demoed to us, it was a robot guy voice, but later there was an educational graphical interface that looked like a girl's face, and it of course had a female voice when it spoke. It would be strange to have two things do exactly the same thing, so I suspect they were the same software for speech.

    I think it was simply invoked with 'speak'. We used to prank other students by speak -something- /dev/tty.... where the tty pointed to other people's nodes on the server network. Fun times!

  • GuestFAUniverse 15 hours ago |
    Typical marketing euphemism: "Built-in Support for Open-Source Components"

    Read: we take free things thankfully, but we don't live by the same standards.

  • vundercind 15 hours ago |
    QNX and BeOS were the only operating systems I tried in the early '00s that could make old single-core mid-90s Pentiums feel excellent and snappy to use. Far, far better than any Windows version, or Linux.

    I assume it's mostly scheduler stuff and much better multimedia stacks, in both cases. I always hoped the operating systems of the future would feel more like that. Closest we've got is probably iOS and it cheats by killing processes all the time. The future is lame.

    • Aurelius108 14 hours ago |
      Although they’re cheating, I give them props for trying. I abandoned Android when even Samsung didn’t make an honest effort to make their phones responsive. It’s nice that Apple consistently values responsiveness because then Google, Samsung and Microsoft have some incentive to address their bloated products.
    • Baeocystin 14 hours ago |
      I non-ironically dream for the day that a modern computer is as snappy booting as my old Commodore 128, as fast to reset, and as responsive to all keystrokes.
      • genewitch 13 hours ago |
        devuan on vbox boots ~2x slower than CCS64 under emulation. If you're talking about "to a desktop" or something, i don't do that, i just boot to a shell on devuan and COMMODORE 64 BASIC V2 on the CCS64
    • smallstepforman 14 hours ago |
      BeOS was “pervasively” multithreaded, which in non marketing speak means the kernel did not have a giant lock (since it was designed as a many core system from day #1). Its contemporary OS’s at the time had a giant single lock. BeOS also had 750ms preemption interval (or was it 3ms, I dont remember) while Linux and Windows had 20ms, then later 10ms, so this is what you fealt. A couple of decades later and most OS’s matched the finer locking granuality in kernel space, minus the premption interval (argument being throughput vs latency, since scripted OS benchmarks measure overall throughput, not GUI responsiveness). A perfect example is media buffers that benefit from smaller buffer sizes, at the cost of less throughput. Musicians notice better responsiveness in BeOS, hence the monicker “Media OS”.

      Also, in GUI space, the BeOS/Haiku app server still offers a more distributed workload compared to other desktop environments. Every windows is assigned its own thread, the app gets its own thread, and the app and application server have 1 thread per app and window to ensure they are not blocked waiting for slow app message parsing. So minimum BeOS app with graphical “Hello World” window is 4 threads. So even if the app is busy, the rest of the system still feels responsive.

      All this comes at a throughput cost, as well as an app development complexity cost, especially for ported apps. Haiku needs to marshall Qt/Gtk/toolkit messages from many windows into a single message queue to prevent multithreaded bugs from popping up (since in their original environment, all app message loopers were not multithreaded). This marshalling needs additional lock/unlock calls in Haiku even when not needed (messages to same window).

      Haiku native apps, on the other hand, are smooth as ice. See this screenshot of Medo video editor where all windows are working in their own threads (https://raw.githubusercontent.com/smallstepforman/Medo/refs/...). On modern systems, this app is smooth as ice, which for a video editor is heresy. Disclaimer: I wrote the linked Haiku app.

      • throwaway313373 8 hours ago |
        > BeOS also had 750ms preemption interval (or was it 3ms, I dont remember)

        3ms vs almost a second is a pretty big difference...

    • KerrAvon 14 hours ago |
      iOS has very strict process/resource management because it wants to preserve both available RAM (for responsiveness) and your battery life. I wouldn't call it cheating (even in jest); it's a very deliberately and carefully designed feature of the OS.
      • xp84 12 hours ago |
        Sure, and that's fair, but to me the "cheating" is more about how it is limited to only certain types of computing. On a Mac, or indeed any non-Apple OS since Windows 3.1, you've been able to for instance, start a long-running, resource-intensive process like encoding a video, minimize that window, and open say, Minesweeper or read a text file for an hour, all knowing that the OS wouldn't dare interfere with your background task. In iOS you can be assured that the moment you background an app, iOS can and will send something to kill it at any minute, and there's not even a way to explicitly allow a certain app to be immune from being killed, even on a one-time basis.

        All of this is totally by design (and thinking only of phone handsets I'm sure some people would defend this), but it is maybe the #1 thing that prevents this otherwise capable hardware from being used for more things. (Not to mention how much it hamstrings iPad OS).

        • EasyMark 6 hours ago |
          most people just want a phone, to check email, watch a youtube video, check tiktak, etc. they don't want to do serious computing on their phone. I'm in that crowd. I have more computers than you can throw a stick at, I don't need that out of my phone.
      • eitland 6 hours ago |
        And yet I can't get more than a full days use out of it if I use the phone to read news during my commute etc.
    • xarope 10 hours ago |
      I feel sad that people don't remember OS/2 anymore. It was also able to run multiple dos windows, have video running in the background etc, and that was in the late 90's.
    • workfromspace 31 minutes ago |
      As someone also have used BeOS and OS/2 Warp, I miss the snappiness of old systems. (I never got my hands on QNX)

      What OS nowadays is the closest to that snappiness? Haiku OS? (I'm a happy M1 Macbook user, but it sometimes feel note nough.)

  • justin66 15 hours ago |
    @JohnAtQNX the way to put the rug-pulling concerns to bed is to license all the source code under the ISC License, BSD 2-clause License, or MIT License.

    This would certainly have an impact once that was done. Of course I cannot speak to what that would do to your software business...

    • JohnAtQNX 14 hours ago |
      I hear it loud and clear. We're certainly in the early days of this initiative, but as things progress I'll make sure to bring up source code licensing as a community concern.
      • kragen 11 hours ago |
        Things aren't going to progress if you are asking people to risk you rugging them a third time. They have alternative operating systems to invest their time in that are safer.
  • idatum 15 hours ago |
    I recall running QNX on my iPAQ handheld, sometime in the late 2000s. It was pre-iPhone, so seeing a Unix-like O/S on a handheld device back then was quite a treat.
  • Baeocystin 14 hours ago |
    I still remember being blown away by the single-floppy QNX demo that included a web browser. It was so fast.

    I wish you guys the best. I can only imagine what a gordian knot it must be getting all the legal ducks in a row to actually open things up. Like others have mentioned, after two rug pulls, we're all wary, but there's so much to enjoy about QNX, I hope you manage to get traction with this.

    • bigiain 13 hours ago |
      That QNX demo floppy was _magical_ back in the late 90's, revealing just how fast things _could_ feel on a 486 DX2 or DX4 CPU compared to the same use on Linux/Windows at the time.

      I've always had a somewhat positive view of QNX since then, but intermediate ownership and open/commercial status changes always kept me away from it. Sadly, this "opening" is familiar enough, and previous experience lead me to believe unless it gets a truly open GPL license and a large enough FOSS community to maintain a fork, this'll just get rug pulled again...

  • VoxPelli 14 hours ago |
    We need to start treating “non-commercial” as the ambivalent term that it is.

    Eg: All “non-profit” and “personal” use likely isn’t necessarily “non-commercial”, but those two can be easily identified based on who it is that makes use of the software.

    So what is the definition of “non-commercial”? Nothing in itself. Eg. Creative Commons elaborates a lot on what it means in that context: https://wiki.creativecommons.org/wiki/NonCommercial_interpre...

  • kmbfjr 14 hours ago |
    What I need to know is, does it come with Solitaire using the “Giants of Computing” card deck?

    Because if it does, that is worth it right there.

    We ran QNX for ASI statistical multiplexing in TV. I would always fire up a game while waiting for logs.

  • parl_match 14 hours ago |
    Why would I use QNX for any project when RTOS Linux is mature? Why would I care? So you can rug-pull license changes?

    Should I use it because it's cute? It's academically interesting? Sure, I've used QNX in the past for those reasons. The next time I pick a soc for a project, and its associated bsp, I'm not going to look for QNX. I'm either going to use whatever freertos distro they include or install the android build tools so i can push an apk to its wackity ass android fork.

    I suppose if i was doing automotive or medical, the story would be different. But I know the space well enough to know that you have many competitors all nipping at your heels, and with the linux rtos changes, it's not going to get better.

    This is not 2010. There are options. While QNX has languished behind obscure and annoying licensing requirements, literally dozens of companies have been developing alternatives. Some of them are quite big, and in some cases, have gone to space.

    At this point, if you want QNX to be taken seriously, you're going to have to do better than "start opening the doors to QNX like things used to be".

    I'll take it one step further - if it's not completely open source for commercial use, I have no interest in using it. I could be enticed to put up with an Epic-style license if the associated tooling and bsp support was worth my time. I have zero interest in paying a license to get started. Again - not 2010.

    Your product has been commoditized and now it's a curiosity. The only way it gets enough active development and adoption is if its a community effort.

    • Dinux 14 hours ago |
      Amen
    • gosub100 14 hours ago |
      You would use it if you wanted to get a job doing RTOS dev and wanted to show you had some skin in the game.
      • parl_match 12 hours ago |
        lmao "skin in the game". what a useless cliche.

        that's such a lame excuse, and if for some stupid reason, i chose the rtos first, i would simply choose one of the many competitors that have positive mindshare and increasing install base. freertos, rt linux, hell even vxworks.

        the simple fact is that rtos are more commodity than ever. if im going to start a project, im going to do it based on the requirements, find a soc and bsp that has excellent support for those requirements, and then follow up writing a task for whatever rtos it uses.

        for example, im not using freertos because its "cute" and has a neat little floppy disk demo. im currently using amazon's freertos beceause that's what the espxx family supports. im using the esp32 because it has the power profile i need for my sensor project.

        in today's market, it's absolutely asinine to choose the rtos first. i honestly have no idea what qnx is a first class citizen on anymore. I actually feel bad for anyone who's spent their whole career in QNX-land - that train might be coming to a stop and there's probably a lot of people who would rather not retrain.

        actually, there's a nugget of wisdom in there for the qnx team: i should be able to buy a $20 board that runs qnx, and fits into the power, performance, and hardware profile of something like the esp32. integrate it heavily with platform.io. let me use qnx without having to specifically go and seek it out and hack on it a bunch.

      • sov 10 hours ago |
        any commercial rtos shop where QNX may be appropriate is either using 1. some wacky expensive proprietary rtos that you've never heard of, 2. freertos or 3. real-time linux depending on what they need. asking what makes QNX a compelling rtos when freertos exists, is widely supported and used, and has an MIT license is a very valid question.

        further, no one in embedded actually cares what RTOS you used. they are all similar enough that you won't get stuck if it's a brand new RTOS

        • intern4tional 9 hours ago |
          QNX is heavily used in industries where functional safety or particular high assurance models are required.

          Sure FreeRTOS has a SafeRTOS mode, but its not sufficiently functional for a modern ADAS stack or complex robotics systems. QNX is used in all major automotive companies around the world for a reason, and a crucial part of NVIDIA's DriveOS stack.

          • gmueckl 7 hours ago |
            QNX is in a space with few competitors. FreeRTOS or ThreadX are designed to provide microcontrollers with scheduling and memory management functionality. They don't depend on fancy things like MMUs or provide frameworks for networking or file systems out for the box. The flipside is that you can compile them down to maybe 30kB of machine code.

            QNX is designed for more powerful and featureful hardware to drive a software stack with true process isolation and generally provide the bells and whistles of general purpose OS on top of a hard realtime core. It can run complex GUIs without sacrificing its real time capabilities. Not many competitors live in that particular space.

          • karlgkk 4 hours ago |
            > and a crucial part of NVIDIA's DriveOS stack

            fwiw they have been working hard to support linux as a second option, and have been major contributors to Real Time Linux

            sooooooo

      • throwaway313373 8 hours ago |
        I don't think that "skin in the game" means what you think it means.
      • ryukoposting 8 hours ago |
        Maybe you would have used QNX as an engineer flex in 2012, but as an embedded firmware dev myself, I'd laugh if someone suggested we use QNX for anything. Besides the licensing issues... just why? It confers no imaginable benefit versus any one of dozens of alternatives. It's like if someone suggested I run Haiku on my work laptop.
        • cbsks 7 hours ago |
          ISO 26262 ASIL D safety certification, mature tooling and ecosystem, easy to hire experienced devs, “it worked for the last 5 projects”, etc.
          • karlgkk 4 hours ago |
            There's a few vendors that sell FreeRTOS forks that have that cert. SAFERTOS is a very common one

            > mature tooling and ecosystem

            Amazon has been working on freertos for a long time

            > easy to hire experienced devs

            tbh if you've used one rtos, you've used them all. the learning curve is in the concepts, not the api. any good vendor will have engineering support that helps you where appropriate

            > “it worked for the last 5 projects”

            inertia only takes you so far

    • EasyMark 6 hours ago |
      Name/reputation still means a lot to some people, as does not learning yet another OS. Not everyone cares if something is FOSS or not. Different people have different leaning when it comes to this stuff, and that shouldn't be surprising.
      • karlgkk 4 hours ago |
        > Name/reputation still means a lot to some people, as does not learning yet another OS

        Great, people on QNX can keep using it. A stagnating user base doesn't make for a good business.

        > Not everyone cares if something is FOSS or not.

        No, but I would rather not enter into onerous licensing terms if better ones exist

  • rbanffy 12 hours ago |
    Thanks, John. QNX has always been one of my favourite OSs (I still have my Blackberry Q10) since I learned C on it in the mid 1980’s. A full-featured multi-tasking OS running from a 360K floppy on a PC/XT is not something easily forgotten.

    I’m glad the company is making this investment again.

  • ConanRus 12 hours ago |
    why didn't they just open it for all with a proper license? as soon as you're move toward a commercial product with qnx you're immediately own them money. and no money with linux. who will us qnx on these terms?
  • upintord 12 hours ago |
    Any tips on loading onto a Kyocera duraforce? tia
  • SuperNinKenDo 12 hours ago |
    Fool me once, shame on you, fool me twice, shame on me, fool me 3 or more times, and I'd need to get my head checked for possible brain damage.

    I feel bad for saying this because probably someone out there spent energy building political capital in the organisation and has stuck their neck out a bit to make this happen, but yeah, I'll have a look and a play, but no way would I invest serious energy into the QNX platform with these current terms.

    Not that you're missing anything. I'm no wizard.

  • marcodiego 11 hours ago |
    Oh that's nice. But you know... There's a free (as in freedom) OS called Linux that now is also realtime. QNX is interesting for a few less cases now.
  • Beijinger 11 hours ago |
  • michrassena 10 hours ago |
    I hope the QNX can fix their antiquated password process on this site. Apparently I still had an account from the last time they opened things up, and I asked for a password reset. I received a six character temporary password by email and used that log in. Then when I changed the password (which wasn't prompted for when I logged in, I had to hunt down the change password option), I was limited to alphanumerics and 20 characters. Edit: I'll also add that the entire process of setting up an account, getting a license, granting yourself a license, then downloading the software center all just to download the Raspberry Pi image was a lot of roundabout steps for something I'm going to play around with on the weekend and never look at again. I know this is an exercise to gain customers, but still a hassle even for those familiar with the process. Ultimately it reads as if QNX is deathly afraid of giving something away.
  • Havoc 10 hours ago |
    For the love of god put what the thing is into the first sentence. Still have no idea wth qnx is
    • krapp 10 hours ago |
      If you don't already know, or can't even be bothered to read their linked site, you probably aren't the target audience.
      • Havoc an hour ago |
        > can't even be bothered to read their linked site, you probably aren't the target audience.

        People who are not the audience need to read it to determine that they don’t need to read it because they’re not the target audience? That’s your solution over them integrating “QNX is an embedded Os” into their opening paragraph?

        What a strange response to a rather simple hey could you be clearer request

  • BenFranklin100 10 hours ago |
    John, Would it be possible to get this installed on a BlackBerry Passport or Q10. The passport is my favorite phone of all time.
  • xvilka 9 hours ago |
    We (Rizin) would love to improve QNX support of our FOSS reverse engineering and debugging framework. We already support[1][2][3][4] it, but can't reliably test. Would be awesome to have the QEMU image out of the box, just like Windows provides ready to use limited VMs for testing[5].

    [1] https://github.com/rizinorg/rizin/tree/dev/librz/bin/format/...

    [2] https://github.com/rizinorg/rizin/blob/dev/librz/bin/p/bin_q...

    [3] https://github.com/rizinorg/rizin/blob/dev/librz/debug/p/deb...

    [4] https://github.com/rizinorg/rizin/tree/dev/subprojects/rzqnx

    [5] https://developer.microsoft.com/en-us/windows/downloads/virt...

  • qwerty456127 7 hours ago |
    Cool. If there's Photon, PhAb, and everything looks and feels the same like in QNX 6 I'm in. I couldn't even find the download button though. If registration is mandatory then I'm not interested.
  • RachelF 6 hours ago |
    Been fooled by QNX before, a long time ago, and it cost us a lot. Never again. Go away now QNX, real-time Linux has won.
  • faragon 6 hours ago |
    Working with QNX today is like working with 25 year old software: tiny community, few examples, lots of issues for which you end doing avoidance workarounds, etc.

    I would have more interest on it if being open source.

  • graymatters 5 hours ago |
    QNX is squeezed from above by Linux, especially as real time patches have finally been fully accepted. And from below by FreeRTOS and Zephyr. Current attempt to open source is a desperate move by QNX as their market share is disappearing. Why would anyone in their right mind step on the same landmine, called QNX, which already pulled a rug from under the developers feet once? Absolutely no trust in QNX ecosystem. Save yourself pain and aggregation. Don’t use QNX.
    • bregma 15 minutes ago |
      There are not any real time patches for Linux: there's only the low-latency kernel. Low-latency and realtime are different things. A lot of the time the two can appear superficially similar, until they don't and your airplane falls out of they sky.

      The realtime executives are not operating systems. Executives and operating systems are two different things.

      QNX is a realtime operating system. It addresses the niche of a realtime operating system that isn't being met by anything else out there, and has been doing so for 40 years, even if free versions for hobbyists haven't been available for many of those years. It's not about market share since that's always been there. It's about mindshare and given the comments here, that's obviously missing.

  • billpg 3 hours ago |
    I remember when QNX was going to be the OS for the first post-Commodore Amiga machines. Fun times.

    I'm old.

  • nbittich 3 hours ago |
    > Obtaining the SDP involves the following steps: 1. Register for a myQNX account. 2. Request a free licence. 3. Download QNX Software Centre. 4. Install the SDP on your computer

    You lost me at step 1.

  • wrd83 3 hours ago |
    I think the ship has sailed already. the people I know, who used QNX switched to linux for usability reasons.

    You can run linux on many workloads where QNX used to dominate, why bother then.

  • znpy 3 hours ago |
    Hey, what iPIs are supported ?

    I have an old first-gen raspberry pi, would QNX work on that ?

  • sgt 3 hours ago |
    Can we still put QNX on a 1.44M floppy and boot from it?
  • mcmisieck 3 hours ago |
    You can get 30-day trial, Partner or Academic license. So what's new exactly?
  • supermatt 2 hours ago |
    15 years too late (since you last snatched QNX away from us), and with a license that you can revoke at any time. What are you blackberry folk smoking?

    I guess your "benevolence" is no coincidence given that real-time support was merged into the linux kernel a month ago...

  • lcooper 2 hours ago |
    You should have done this 20y ago