lunicoDee,

I think some gentoo with “bare minimum to boot” bootloader, kernel and init would beat that

WallK,

So 2ms increase? It was 27ms WITH bubblesort???

some_guy,

I wanted to comment on this being a cool read, but there’s too much happening in this thread that is beyond my knowledge. But anyway, cool that this guy is optimizing things like a mofo.

sodiumbromley,
@sodiumbromley@lemmy.blahaj.zone avatar

I also thought it was a fascinating read and wanted to comment, but your comment made me scroll down and now I don’t even know what Linux is anymore.

TCB13,
@TCB13@lemmy.world avatar

“You may not like it, but this is what peak performance looks like.”

ShittyRedditWasBetter,

Yeah, that was the reason holding me back. It was the boot up time.

frezik,

The more interesting story here is that in 2023, FreeBSD was still using bubblesort. They made it go 100 times faster than a really slow thing, and we’ve known it’s slow for a long time.

Qkall,
@Qkall@lemmy.ml avatar

You kid and aren’t wrong, but this was a huge metric when I was first getting into Linux. I remember seeing it prodominantly posted on Ubuntu’s site … I wonder which version… I think 4 or 6?

theshatterstone54,

I like the idea of FreeBSD, but I can’t see the point of giving up on my Linux conveniences to switch over to it. What advantages does it provide, and are they worth the switch, considering I’m losing a lot of software, as well as any semblance of gaming?

MigratingtoLemmy, (edited )

If you’re losing software and are no longer gaming, much of complicated driver compatibility issues from peripherals like GPUs won’t matter to you.

FreeBSD is the *nix OS which is stable like Debian but doesn’t use Systemd like, similar to distributions like Gentoo/Antix/Slackware

therafal,

You can use other init systems on Gentoo, like OpenRC. You can also use other distros like Void(which uses Runit as PID 1), or Artix, which can use OpenRC, Runit, s6 and dinit. Most of those are much better option than systemd, however, you can have compatibility issues with some packages that relay on systemd.

MigratingtoLemmy,

I plan to use simple services like a hypervisor, rsync, ZFS, and NFS/Samba. This is for a NAS

MigratingtoLemmy,

By “like”, I meant “akin to”. I mentioned those distributions because they don’t use Systemd

therafal,

Oh, okay, I misunderstood you.

phoenixz,

Systemd is not inherit to Linux. There are loads of distros out there that dont use it. I reluctantly use it but would still remain on Linux if I wanted to drop it

MigratingtoLemmy,

Most linux distributions have adopted Systemd. My distaste grew as even Arch and Debian opted to use it. I do not like using it out of principle. Of course, I realise that there are distributions that do not use Systemd, but I have yet to come across a system meant for stability (similar to how Debian is perceived in the linux world but with Systemd) without Systemd. Slackware comes close, but having to use an unofficial package manager doesn’t seem great when things break.

dino,

Void linux?

merthyr1831,

Dont think BSD is ever going to be a Linux competitor, it’s not meant to be honestly. But there’s always space for a lightweight and fast general purpose OS that can (among other things) boot up really quickly.

JonnyRobbie,
@JonnyRobbie@lemmy.world avatar

At some point, the same could have been said with win -> linux.

theshatterstone54,
  1. Open Source
  2. More privacy
  3. More customisability
  4. Better performance
  5. More choice
  6. Better software security
  7. Features that Windows doesn’t have or is only now implementing (floating bars, file manager tabs etc.)
  8. Better command line experience
  9. Better scriptability (if that’s a word)

Those are the ones I can think of off the top of my head.

frezik,

The advantages on the server side were always clear. Same with development environments for things that run on those servers.

true_blue,

Yes but the advantage of Linux over windows is obvious. It’s open source. Where’s the advantage of FreeBSD? Companies can make their own proprietary fork and give nothing back?

duncesplayed,

What advantages does it provide

ZFS, mostly. There are some smaller peripheral things (like much better manpages), but these days the big one is probably ZFS. Zero licensing conflicts allows it to be an integral part of the kernel.

lnxtx,
@lnxtx@feddit.nl avatar

FreeBSD 13.0-RELEASE switched to the OpenZFS implementation[1]:

The ZFS implementation is now provided by OpenZFS. 9e5787d2284e (Sponsored by iXsystems)

So no big differences now, except for the licensing.

[1] www.freebsd.org/releases/13.0R/relnotes/

lambda,
@lambda@programming.dev avatar

Can you explain the differences between the license like I’m five?

raptir,

Linux is licensed under the GPL, which is described as “copyleft.” The GPL requires that if you want to use GPL code you need to license your modified code under the GPL.

FreeBSD is licensed under the BSD license, which is a permissive license. Basically as long as you stick the license statement in your documentation you can do whatever you want with BSD-licensed code. This is why commercial uses (like the Wii’s OS) tend to be BSD-based rather than Linux-based.

theshatterstone54,

like better manpages

I want them now! I want the better manpages! Has someone decided to create inproved manpages for Linux? I think this could be a great idea for a project or an organisation. Manprove, the organisation to improve Unix manual pages.

dino,

Isn’t this actually impossible because manpages are maintained by distros? And the benefit of freedbsd being everything is created by the same team? Aka FreeBSD being a complete distro and not just a kernel?

AnUnusualRelic,
@AnUnusualRelic@lemmy.world avatar

The source code used to be cleaner and easier to customise if you needed something specific. And if you leaned that way (of closing up everything), the license is much more lenient of course.

Other than that, nothing much. It’s interesting for the sake of it, but bsd has lost the Unix race (which isn’t necessarily a good thing).

squaresinger,

The advantage is that you can rebrand it, close the source and sell it as your invention.

Btw, did you know that Apple invented Unix?

MazonnaCara89,
@MazonnaCara89@lemmy.ml avatar

Apple invented Unix?? What the hell are you talking about?

Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna at Bell Labs developed and invented Unix.

squaresinger,

!woosh ;)

This was a joke about how Apple just takes open source stuff (in this case, they used FreeBSD as a basis for MacOS/iOS/iPadOS/tvOS/watchOS), rebrands it and then claims it was theirs.

MazonnaCara89,
@MazonnaCara89@lemmy.ml avatar

💀

6xpipe_,
@6xpipe_@lemmy.world avatar

Where do they claim it was theirs? macOS is FreeBSD at its core, but Apple has built a lot of shit on top of it. It’s absolutely not FreeBSD with a name change.

pastermil,

On AWS Firecracker

How about on baremetal?

navi,
@navi@lemmy.tespia.org avatar

Best I can do is 8 seconds.

nyakojiru,
@nyakojiru@lemmy.dbzer0.com avatar

Still , as with Linux, you spend hours in configuring something that in windows just installs and runs … not saying windows is the best OS , but as all companies … it is less time consuming and everything just runs on it.

remotelove,

More context please. There are a ton of things that “just work” on Linux, just like Windows. I have spent hours troubleshooting and configuring things on Windows as well.

With either OS, time spent configuring and installing things is heavily dependent on the experience of the user and their ability to interpret logs and error messages. With most OS’s, configuration and troubleshooting is just a matter of “knowing where to look” combined with understanding how the OS itself works.

Server services are much easier to configure on Linux, IMHO. Additionally, I find configuration to be much more flexible and (generally) more intuitive than Windows but that is my opinion. However, I have worked with both Linux and Windows since they were created, so I have a good number of years of experience.

My point is that it really depends on what you are wanting to do.

(Rant: Deep troubleshooting in Windows has always sucked and the methods to do so have changed a thousand times over the years. It’s a royal pain to keep up, TBH. Very rarely have I needed “reinstall Linux” because something was broken beyond fixing.)

squaresinger,

The guy before isn’t exactly wrong.

Many things that “just work” on Linux are things you just don’t do on Windows. E.g. swapping the DE or theming/customizing the whole thing usually works great out of the box. But on Windows you just don’t do that.

On the other hand, getting e.g. legacy Nvidia drivers working correctly and setup so that it automatically switches between the power-consuming dGPU and the power-saving iGPU is a major pain in the rear. On Windows that just works. Mostly Nvidias fault, but to the user who has to deal with the situation it doesn’t matter who is at fault.

And in general, if you come from Windows with a lot of Windows experience and then have to dive into Linux, you mainly notice the things that don’t just work on Linux.

Also, fixing problems in Windows might take you through the registry or arcane wizards. But you hardly ever get into CLI and never into config files. So if you swap over to Linux, where almost any help you find online will go straight into CLI and config files (even if a GUI solution would be available), that can be pretty jarring.

I’ve been using Linux professionally for ~15 years and privately for ~5. But I still remeber getting into it very vivdly.

remotelove,

Very good points. I remember the drama of trying to get simple things like USB, Bluetooth and even WiFi working on Linux quite a few years ago. However, even though those could be problematic, I did learn a ton about how drivers interacted with various chipsets. That, in turn, led me down the path of how to apply specific patches and build my own kernel modules. It was absolutely a double edged sword.

It really is a shame that most GPU vendors haven’t spent more time developing better drivers for Linux, but in some ways, I feel their pain. (I am leaving out the open vs closed source debate on that.) Windows does provide consistency, through all of its shortcomings. Linux can be very … eh… interesting between different distros, for sure.

But yeah, I didn’t rush to downvote the above commenter as they were speaking from their own perspective and experience. No shame in that.

squaresinger,

Uh, Wifi drivers in the 2000s on Linux… That was painful. I remember one specific Wifi USB stick, where the Linux driver just came as source code. I mean, good for them for making an open source driver, but back then I was just a teenager with very little coding experience, and they had no guide on how to compile it at all. Also it was written for an older version of gcc than what I had, and gcc threw a ton of errors because that. So I had to go through the whole driver source and fix all these compiler errors, even though I had no C++ experience at all. Just to get a dumb Wifi stick to work.

In Windows, back than, it was just “plonk it in, double click the driver on the CD and be done”. I don’t miss those days.

the_q,

If you like Windows just use it. Don’t yuck someone else’s yum, bud.

rikudou,

I don’t know what sort of bubble people live in, or if people convinced themselves that a computer getting slower over time because of OS clutter is normal, but every Windows PC I ever had had shit ton of problems, getting slow to the point of feeling like I have a $100 laptop instead of a $2000 one being the most common.

And can’t say MacOS is much better, at least judging by my gf getting freezes all the time and having to reboot by holding the power button.

squaresinger,

My Kubuntu work laptop is also getting slower and slower, same as my Android phone. That’s just what happens if you useany OS extensively.

Cleaning and maintenance is necessary on any OS.

Also, with a bit of skill and care, a Windows PC can easily be kept fresh for a decade.

rikudou,

I use my PC extensively and my Linux PC doesn’t get noticeably slower just because I’ve installed a few things.

radau,

When was the last time you ran a distro and how awful was the hardware to have this experience? In the past 10 years all of them have been fairly “hit the ground running” for me unless it had something weird like Nvidia Optimus

squaresinger, (edited )

Anything involving Nvidia, really.

I installed Xubuntu on an old laptop with a Geforce 635M. During installation I checked “Install proprietary drivers”. So it installs the current Nvidia driver instead of the correct legacy one for my GPU, even though it obviously would be able to tell which GPU I have installed.

So then I uninstalled the current one and installed the correct legacy one, but the driver still doesn’t work. Took me quite a while that apt remove/install only removes/installs the packages but doesn’t actually load/unload the drivers from the kernel.

So I loaded the legacy driver into the kernel, but it still didn’t work. Apparently, the current driver takes precedence, even though it doesn’t even support the GPU at all.

In the end I had to reinstall the current one, unload both drivers from the kernel, uninstall the current driver and load the legacy driver.

This took me a few hours and I am pretty sure that someone who doesn’t have an IT degree would probably just not have a working GPU and that’s that.

Then I spent a few hours to get Optimus to run, but couldn’t figure it out. So now this laptop cannot be used without a battery source for any decent amount of time, because the GPU is constantly running and consumes massive amounts of energy just to render e.g. a browser window.

Edit: And for sure, anyone who says they have ever had difficulties with anything regarding Linux is directly getting downvotes. That’s also a big issue regarding Linux. Whenever someone has trouble or asks for help, there’s always some helpful fanboy ready to downvote and call you a noob. Funnily enough, these fanboys usually are running Linux for two weeks so far.

Bitrot,

In the context of the post this one is interesting. Nvidia packages their driver for FreeBSD as well, and there is potential that it works better there because they aren’t actively fighting against it, as the Linux kernel does (that doesn’t mean it really does run better, but potentially).

AnUnusualRelic,
@AnUnusualRelic@lemmy.world avatar

That’s just Ubuntu being broken every time something slightly out of the ordinary happens. That is normal.

MiddledAgedGuy,

I don’t want to agree with this comment. And in fact I would say most of the time I don’t. Most stuff “just works” nowadays. But I do occasionally have to fight with something I wouldn’t in Windows. Easily worth it IMO but that’s not going to be everyone’s take.

donuts,
donuts avatar

Kind of hard to believe people still say stuff like this...

There is plenty of stuff that Linux does much better than Windows, for example containerized service and applications, which is why Windows needs a Linux subsystem at all. It's possible that the main reason you think Linux is bad is that you aren't as familiar with it.

The biggest downside to Linux remains official hardware and software support, though that's a business economics issue and not a technical limitation.

I honestly could not imagine a circumstance in which I go back to using Windows or switch over to Mac, because Linux does basically everything I want and then some.

UnfortunateShort,

The point about the WSL doesn’t really hold as a con - the NT kernel is a microkernel so it uses subsystems by design. Iirc there’s even a hypervisor running below it by default. Architecturally Windows is absolutely marvelous, they just decided to make about the worst out of it.

donuts,
donuts avatar

I think you're missing my point. I'm not saying WSL is a con, I'm saying that the reason Microsoft ships a Linux subsystem is that there are useful programs and things that can be done with Linux.

eruchitanda, (edited )
@eruchitanda@lemmy.world avatar

It always funny to me to hear this sentence.

Just look how it is to install software on Windows.

You need to open the menu and type the browser name(/click on a shortcut), open the browser, search for your software, check you’re clicking on the right site and not some scam website, [sometimes you need to go few pages until you end up in the downloading page], clicking on the download button, and… if the download completed successfully… there’s still more…!

Now installing…

On Unix-like systems-

<package-mangager> <install-command> <software-name>.

Ex: apt install i3. That’s it!

olafurp,

Or you can use the software store gui which is present on most systems. More clicks instead of clacks.

Surp,
@Surp@lemmy.world avatar

Yeah I’m pretty sure I could go Google and search for notepad + website and download plus install before you finish typing that. I use Linux Mac and Windows and Windows is definitely the easiest most user friendly. Mac is second (And by far most restrictive os) with Linux last for ease of use. Doesnt mean it’s bad but bro go tell my mom to type what you said and your argument crumbles. I can tell her to do what I said and she can get by.

UlrikHD,
@UlrikHD@programming.dev avatar

You genuinely think it’s faster to make a Web query, wait for search results to show up, click and wait for the correct webpage to load, navigate to the download page, download the exe, run the exe and go through the pop up menu than it is to type apt install x?

Surp,
@Surp@lemmy.world avatar

Yeah because I’d have to Google how to install X on Linux so I’d be stuck reading till I found the command. You don’t just guess what X is you either know or you gotta look it up. Most people are used to windows and it’s fine. Linux people that hate windows are just weird…they all do cool things but y’all crazy if you think 95% of people will be faster on Linux in the current state of the world. We have all been using Windows for 30 years.

fogetaboutit,

Still dont get the point of freebsd.

Cube6392,

BSD that’s easier to run in places than OpenBSD or NetBSD

Solaris1789,
@Solaris1789@jlai.lu avatar

Unbreakably stable, cohesive (no need to fit and manage tens of different pieces to get a get a functionning OS), performant, bhyve, BSD licensed (can be a pro or con tho). It has quite a lot of stuff that makes it worthy of Linux or other BSDs.

EDIT: Almost forgot ZFS.

dinckelman,

Not to mention that generations of Playstation and Nintendo consoles run on top of their work, and Apple’s macOS also has deep roots into the BSD history

myersguy,

How do you mean? Like, how is this different than someone saying “I don’t get the point of Linux”?

otl,
@otl@lemmy.sdf.org avatar

Haha yeah actually I wonder whether people actually did ask this when Linux started making the rounds. If I read the history right BSD was already almost 15 years old at the time!

doubletwist,

Yes. Yes they did.

Cube6392,

It was, but there wasn’t an i386 BSD yet (which is where OpenBSD and NetBSD enter the picture). Linus Torvalds has said if OpenBSD had been available when he started the linux kernal, he would have just used that instead

djsaskdja,

Much smaller footprint than Linux. If you’re running a server, it’s much less vulnerable to malicious exploits.

bhamlin,

Yeah, BSD is now in the situation that Linux was in the early 00s. Smaller, faster, and more reliable than the “other guy”.

Faster and more reliable are far closer for BSD and Linux than Linux and Windows, but now it seems that BSD is possibly there.

scottmeme,

I’ve ran a freebsd based version of TrueNas on consumer hardware for well over 400 days straight. It’s the most stable system I’ve ever run.

quat,

There’s an old saying: “Linux users use Linux because they hate Windows. BSD users use BSD because they love Unix.” Obviously this is not true for every individual user, but I think it describes a trend or pattern.

captain_aggravated,
@captain_aggravated@sh.itjust.works avatar

I’ve heard “Linux is a PC operating system that’s like Unix; BSD is a Unix operating system that runs on PCs.”

BeigeAgenda,
@BeigeAgenda@lemmy.ca avatar

FreeBSD is the tool you don’t know you need, and then suddenly there’s the perfect use case, because those BSD alchemists never get tired of tinkering on it and suddenly BSD overtake Linux or Windows in some areas. You think Linux is everywhere, same with BSD its just better at hiding.

mbw,

and then suddenly there’s the perfect use case

Yeah but like WHAT?

Cube6392,

The BSDs are very popular for wifi routers and modems

squaresinger,

Like when you want to have a fully-fledged OS that you can rebrand, close the source and sell as your invention.

BeigeAgenda,
@BeigeAgenda@lemmy.ca avatar

How can I know? it’s something people need to research when they choose OS for their projects.

captain_aggravated,
@captain_aggravated@sh.itjust.works avatar

The NAS community seems to have standardized on BSD for reasons outside of my understanding. If you’re looking to roll your own NAS you might end up with BSD rather than Linux.

riotrick,

Similarly there is pfSense for firewall/router/vpn/etc. It’s just rocksolid and stable.

nxdefiant,

ZFS is baked in by default and the os is rock solid stable. It follows the same philosophy as Debian really, only the most tried and tested code makes it into the os.

On,
On avatar

BSD overtake Linux or Windows in some areas

Any examples? besides the well known security, lower footprint and simplicity. genuinely curious.

s_s,

ZFS? pf?

The tooling is just superior in some cases.

LufyCZ,

zfs is available on Linux just fine

doubletwist,

Yes, finally . But only after being available in FreeBSD for years.

LufyCZ,

Sure, but as a reason for why BSD is better, the present is what’s important.

I’m not downplaying it tho

Album,
@Album@lemmy.ca avatar

25ms boot time?

BeigeAgenda,
@BeigeAgenda@lemmy.ca avatar

I know the points you mentioned but I don’t really follow much about BSD, but I have respect for it and knows it’s there the day I need it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • opensource@lemmy.ml
  • DreamBathrooms
  • magazineikmin
  • thenastyranch
  • modclub
  • everett
  • rosin
  • Youngstown
  • slotface
  • ethstaker
  • mdbf
  • kavyap
  • osvaldo12
  • InstantRegret
  • Durango
  • megavids
  • ngwrru68w68
  • tester
  • khanakhh
  • love
  • tacticalgear
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • cisconetworking
  • anitta
  • JUstTest
  • All magazines