• 0 Posts
  • 88 Comments
Joined 3 years ago
cake
Cake day: September 1st, 2023

help-circle

  • I am a firmware level guy, so my work is in C/assembly, but for a while I was tasked with enabling a new framework to run some of our low level diags. Most of that work was in a Linux kernel module (still C obviously) but I also had to do the higher level interface and, yeah, the people that started the new framework did it in C++17 and then 20 by the time I got involved.

    I don’t think there was a subset per se, but like any biggish codebase there were idiomatic ways of doing everything.

    Ironically, the new framework is now almost 10 years old and the framework it was meant to replace (which is dogshit C++03) is still puttering around with a skeleton crew of maintainers.







  • So, the answer to the question “Can Linux directly host another Unix-like operating system’s binary interface?” at the moment is “partly, experimentally, and impressively.”

    As if there was any question on that? You can have Linux “handle” Windows PE binaries by telling it to invoke wine, dealing with a Unix-like scenario is a much lower bar.

    The question is who is this useful for? FreeBSD has the Linux compatibility layer because it’s playing catch up to Linux, but the Venn diagram of stuff FreeBSD can do but Linux can’t is tiny, especially if extra special kernel feature stuff is stubbed.

    Can anyone name a project that is BSD first, doesn’t rely on BSD kernel features, doesn’t have a native Linux port, and isn’t a distro tool?