1. 56

    1. 2

      Does Haiku make it a goal to be fully POSIX-compliant? Does it do so completely natively without wrapping other functions? I saw your post about it here and understand that it’s already POSIX-compliant enough to be considered a proper UNIX-like OS, but I’m curious if you plan to take it all the way or if you already have.

      1. 6

        Yes, it is POSIX “natively”; most of the POSIX APIs directly invoke syscalls (or other POSIX functions.)

        The only POSIX APIs we do not have are ones which do not make a lot of sense anymore (like “hostid”) and are barely used, and also some XSI extensions not in POSIX proper (like XSI shared memory; we do have mman shared memory as well as file-mapping shared memory.) We may eventually get around to implementing these; but at least we don’t that often run into missing POSIX APIs when porting new software.

        1. 1

          Oh wow, that’s awesome! So if POSIX compatibility isn’t a problem, what are the biggest hurdles when it comes to porting new software to Haiku? If I target POSIX-compliant Linux, do I automatically achieve Haiku support?

          1. 10

            I think you will be surprised at just how many nonstandard API calls and flags Linux has. You will have to read the manpages very carefully, and use one of the “strict” macros before including headers, to be sure you are using pure POSIX :)

            But yes, porting POSIX-compliant applications is very easy. Command line tools that already run on at least Linux and FreeBSD usually can be ported in the space of a few hours if they are not precisely compliant and require build system patches, type changes, etc., or a few minutes if they really and truly use POSIX only. So, more or less, yes, you “automatically” get Haiku support.

            Most of the hurdles when porting applications are in using platform-specific APIs (more complex things like browsers do a lot of this for memory management, for instance) or GUI toolkits (we have Qt and now wxWidgets, but the GTK3 port is still a work-in-progress and not in the package repos yet.)

      2. 1

        Do any graphics cards have 3D acceleration yet? It doesn’t seem so from looking at the wiki but it’s always possible that it isn’t totally accurate or I missed something.

        1. 3

          No, none do. But there are things in the works…

      3. 6

        I don’t have much (really any) use for it, but man it makes me happy every time I see that these guys are keeping the spirit of BeOS alive.

        1. 14

          It’s not just “for the spirit of BeOS” anymore; we’re trying to become a legitimate competitor of the “Linux desktop” (and by some respects at least, succeeding.) Obviously we have a lot of catching up to do, still.

          1. 2

            I wish you the best of luck.

            I really liked Haiku when I tried it a few weeks ago, but I am still tethered to Firefox for useful addons like uBlock Origin. Perhaps Haiku will become more popular if Firefox continues to decline and the addon ecosystem goes to shit with it (a real possibility IMO).

            Do Haiku users tend to use /etc/hosts for ad blocking?

            1. 2

              Some users use Otter Browser which is QtWebKit-based and has an adblocker built in, I think. I have heard of users using /etc/hosts, yes.

            2. 1

              I know, that’s mainly why I’m not all that interested, we already have a million UNIX-alikes. But I’m just glad it’s still out there, just the same.

              1. 7

                It’s not so a UNIX-alike, Haiku inherits from BeOS a unique philosophy in the field of user experience and interface design. It’s a really satisfying system to use.

          2. 4

            I noticed with some interest that there’s an Emacs port. HMMMMM.

            1. 4

              NVMe support

              Thank you! This was stopping me from installing Haiku on one of my laptops. Looks like I’ve got a project for tonight! :)

              1. 2

                Congratulations! It’s a pleasure to see all the improvements and stability haiku is getting!

                Just a minor detail in the release notes, the Haiku Book link points to Documenting the API, not the main api documentation page.