200 points · by URfejk · 6y ago · 108 comments
Their migration from Subversion to Git also provided the motive for the murder mystery book "git commit murder" by Michael W. Lucas.
In other news, my butcher has finally become a vegetarian.
But, joking aside, it's great that FreeBSD has improved Linux KPI layer, improved Linux application compatibility, and has synced their ZFS code with upstream ZFS-on-Linux.
That happened in Grenoble, France: The guy behind "La bouche'rit" ("The mouth laughs", a pun on "boucherie", the butchery), a vegan restaurant, was a previously a butcher.
I'd love to be able to use a dedicated transition tool of the quality FreeBSD would like and need.
From [0]:
> The software used for the conversion is a slightly modified fork of svn2git, as used by the KDE project.
> It requires a rules file to map svn trees and/or revisions to git branches or tags. The current rules don't make use of tags but simply store them as branches.
> See the project branch at http://svn.freebsd.org/base/user/uqs/git_conv/ for extra patches, rules and the scripts used to do these conversions.
--
Haven't used it myself though; I just noticed that ESR has spent considerable effort in creating reposurgeon.
FreeBSD builds using makefiles, and the BSD make is not the same as GNU make, especially for the sometimes-complicated scripting they have to do inside of them.
Adding cross-compilation to a complicated set of makefiles isn't impossible but can be some work.
Beyond that there are other issues... eg. The ELF binaries generated need to declare themselves as FreeBSD binaries. A C compiler set up to produce Linux binaries won't do that. Maybe also they depend on a specific compiler (FreeBSD is using clang lately). When you build FreeBSD you also build a compiler so maybe this part isn't such a big deal.
NetBSD has had this[0] for ~20 years (requiring only POSIX conformance from the build host). Think of it as a sort of first principle[1] in action. I wouldn’t be surprised if FreeBSD could achieve some success leaning on this work.
Another that the compiler may use platform tools (assembler, linker) to build binaries, and those tools they may need a library (say one for writing ELF binaries) that isn’t available. All of them can be ported, but that can be a lot of work for a limited number of users.
Moreover, those users typically have (access to) the target hardware, as they have to be able to test the end result. So, a ‘normal’ compiler may not be optimal, but still be good enough for them.
Because of that, you tend to see more cross-compilers the slower the target hardware.
If WSL really works out, though, it might be the other way around – Linux on Windows might work really well, be able to do things Linux itself can't, like interfacing with Windows-only hardware, using DirectX, and be the superior experience in total for lots of people. It will be much, much harder to justify the expense of buying a whole different set of hardware and support it if the net result is a worse experience across the board. Businesses tend to not care much about freedom of software and the like.
Not that most people would want to run most of those, but Microsofts corporate customers are fed up with supporting those Linux laptops and all the problems related to that.
No, it will not and — without massive changes at Microsoft and in Windows — will never be. Source: have a Windows box, am repeatedly amazed at how bad it is. Seriously, it is embarrassing to use Windows. I think the only reason people enjoy it is the fact that they have not gotten a chance to really spend time in a good tiling window manager on X11/GNU/Linux. The GUI is ugly and laggy. The ads are an insult. The shells are either childish or stupidly (emphasis on the stupid) verbose, and gratuitously incompatible.
There seriously is no comparison: in 2020, Linux is head and shoulders above Windows on the desktop.
It's been 8 years since I've even had to touch Windows professionally and without any overt effort on my part.
It just takes unnecessary effort to keep up with what just works for Linux and I didn't see much benefit sticking to FreeBSD.
What I like with FreeBSD is the slower pace of evolution, so there is less breaking change per unit of time, that makes me spend less time fixing things while being up to date, and when it break there is always a good documentation available. Things I like in FreebSD: pf, zfs, bhyve, rc.d, good separation between user configuration changes and system configuration.
But this isn't FreeBSD development -at least not in the sense that you're creating FreeBSD apps in Linux. This is simply giving an alternative to downloading the isos. If you you need to verify that the source does what it says, now you can build it yourself on Linux.
As someone who dearly wishes they could make NetBSD apps on Linux (edit: I mean build pkgsrc packages for NetBSD on Linux) I don't see it being that much of a game changer -though it is a nice feature on a couple of different levels (being able to build a system on bare metal instead of in a vm, and the code being so portable it can be built in a foreign environment)