News for hackers. Stuff that matters.
Re:FreeBSD at 30 years: Its secrets to success by CodeCompost on Wednesday July 05, 2023 @01:23PM (#36603675)
> success

Can somebody elaborate on FreeBSD's "success"?

Re:FreeBSD at 30 years: Its secrets to success by pjmlp on Wednesday July 05, 2023 @01:30PM (#36603779)
Being used as foundation for PlayStation OS, Netflix and others.

Being available alongside Linux distributions as official supported OS on major cloud vendors.

Maybe the contributions to upstream could be better, but that is the choice they decided to make.

Re:FreeBSD at 30 years: Its secrets to success by pseudonym0us on Wednesday July 05, 2023 @01:44PM (#36604058)
>Being used as foundation for PlayStation OS, Netflix and others.

Isn't that thanks to its license? They literally can be used in closed source software without a word of credit.

Re:FreeBSD at 30 years: Its secrets to success by throw0101c on Wednesday July 05, 2023 @02:03PM (#36604432)
Netflix gives back quite a lot. You'll see "Sponsored by: Netfix" quite often in commit messages:

* https://www.freshsource.org/commits.php

There isn't much special secret sauce that Netflix has at the OS layer of things, so there's not much reason for them to keep the patches in-house (and then have to maintain as the public source rolls forward). Other vendors that give back are Dell EMC Isilon (keeping their OneFS code private), Juniper, Netgate, etc.

Sony is unique in that it was a one-time fork, and now that the product is out there's not much churn in things.

Most vendors have learned that keeping things in-house just causes pain down the road when you have to re-base with the latest FreeBSD release.

Re:FreeBSD at 30 years: Its secrets to success by monocasa on Wednesday July 05, 2023 @11:43PM (#36610882)
From what I've heard, they use FreeBSD pretty much just in their CDN appliances. Apparently their application servers are mainly Linux.

There's a lot of weird reasons why you'd use FreeBSD in storage appliances that I have mixed feelings about.

Re:FreeBSD at 30 years: Its secrets to success by Freaky on Thursday July 06, 2023 @07:51AM (#36614443)
Re:FreeBSD at 30 years: Its secrets to success by Zambyte on Wednesday July 05, 2023 @02:15PM (#36604654)
> They literally can be used in closed source software without a word of credit.

This is not true of any of the "acceptable licenses" listed by FreeBSD.

https://www.freebsd.org/internal/software-license/

See: the clauses saying "must reproduce/retain the above copyright".

Re:FreeBSD at 30 years: Its secrets to success by pseudonym0us on Wednesday July 05, 2023 @03:39PM (#36605977)
>See: the clauses saying "must reproduce/retain the above copyright".

Yeah, you will see the copyright if you are working at the company. Outsiders would never know it's a fork.

Re:FreeBSD at 30 years: Its secrets to success by Zambyte on Wednesday July 05, 2023 @05:05PM (#36607110)
Read the licenses more closely.
Re:FreeBSD at 30 years: Its secrets to success by pseudonym0us on Thursday July 06, 2023 @05:46AM (#36613530)
Work in a project with BSD-licensed stuff.
Re:FreeBSD at 30 years: Its secrets to success by Zambyte on Thursday July 06, 2023 @07:55AM (#36614469)
If you're fine with violating the license, then there is nothing stopping you from closing the source to GPL licensed software without a word of credit. I'm not sure what your point is.
Re:FreeBSD at 30 years: Its secrets to success by pseudonym0us on Thursday July 06, 2023 @04:15PM (#36622162)
No need to violate the license, just close the source and no outsider would know it's a fork.
Re:FreeBSD at 30 years: Its secrets to success by Zambyte on Friday July 07, 2023 @10:43AM (#36632480)
See clause 2 of both BSD licenses.
Re:FreeBSD at 30 years: Its secrets to success by throw0101c on Wednesday July 05, 2023 @01:57PM (#36604310)
Re:FreeBSD at 30 years: Its secrets to success by yjftsjthsd-h on Wednesday July 05, 2023 @01:24PM (#36603698)
Frankly, the fact that it survived 30 years (and is still very actively used and developed and deployed) counts as success in my mind.
Re:FreeBSD at 30 years: Its secrets to success by codetrotter on Wednesday July 05, 2023 @01:31PM (#36603786)
Sony based the OSes for PlayStation 3, PlayStation 4 and PlayStation 5 on FreeBSD.

Netflix uses FreeBSD in production on parts of its infrastructure.

Those two alone are pretty nice success stories.

And in addition to those are countless other companies quietly running FreeBSD on their servers.

Re:FreeBSD at 30 years: Its secrets to success by lockhouse on Wednesday July 05, 2023 @01:42PM (#36604024)
The Nintendo Switch is based on FreeBSD as well. Also Juniper Networks and several other enterprise networking equipment manufacturers make extensive use of FreeBSD in their products.

https://en.wikipedia.org/wiki/List_of_products_based_on_Free...

Re:FreeBSD at 30 years: Its secrets to success by Lutzb on Wednesday July 05, 2023 @03:10PM (#36605555)
The switch kernel / Horizon/NX is not based on FreeBSD. This has been debunked over and over. The wikipedia list is not correct in that regard. It is

see e.g. https://youtu.be/Ec4NgWRE8ik?t=700

https://news.ycombinator.com/item?id=27109219

https://news.ycombinator.com/item?id=17534593

Re:FreeBSD at 30 years: Its secrets to success by lockhouse on Wednesday July 05, 2023 @07:07PM (#36608479)
Thanks, I stand corrected on the Nintendo Switch!
Re:FreeBSD at 30 years: Its secrets to success by DeathArrow on Wednesday July 05, 2023 @03:09PM (#36605530)
macOS is based on FreeBSD.
Re:FreeBSD at 30 years: Its secrets to success by qbrass on Wednesday July 05, 2023 @04:44PM (#36606830)
While it has a bunch of FreeBSD code stuffed into it, it's not actually based on it.
Re:FreeBSD at 30 years: Its secrets to success by wkat4242 on Wednesday July 05, 2023 @05:12PM (#36607196)
Yeah I hear this statement a lot too but macos is based on nextstep much more than it was on FreeBSD.

Of course nextstep borrowed some userland from FreeBSD and I think this is where the confusion originates. The actual kernel is totally different though.

Re:FreeBSD at 30 years: Its secrets to success by ybloviator on Wednesday July 05, 2023 @08:40PM (#36609376)
And I think the userland got a bit of a refresh from current FreeBSD when OS-X came out.
Re:FreeBSD at 30 years: Its secrets to success by monocasa on Wednesday July 05, 2023 @11:40PM (#36610854)
Eh, sort of. NextStep was more 4.4BSD based. MacOS trasitioned to FreeBSD elements.

And the kernel space for both absolutely have a lot of BSD code, more than the Mach or IO/Kit portions last time I checked.

Re:FreeBSD at 30 years: Its secrets to success by AdieuToLogic on Wednesday July 05, 2023 @08:58PM (#36609516)
> macOS is based on FreeBSD.

Regarding OS-X/macOS:

  The fundamental services and primitives of the OS X kernel
  are based on Mach 3.0. Apple has modified and extended
  Mach to better meet OS X functional and performance goals.
(source: https://developer.apple.com/library/archive/documentation/Da...)

Some portions of the OS-X/macOS kernel are based on FreeBSD however:

  The BSD portion of the OS X kernel is derived primarily from FreeBSD ...
(source: https://developer.apple.com/library/archive/documentation/Da...)

As the above states:

  The BSD component of the OS X kernel is complex.
It is correct to say some parts of OS-X/macOS are based on FreeBSD, but not to the point of making an unconditional assertion. As to user-land utilities, many are the same as found in a FreeBSD distribution.
Re:FreeBSD at 30 years: Its secrets to success by Sunspark on Wednesday July 05, 2023 @11:48PM (#36610936)
A little more.. Apple hired Jordan K. Hubbard, the FreeBSD co-founder, back in 2001 to work in the Core OS Engineering Department. His role at that time was manager, BSD technology at Apple, overseeing the BSD Technology Base for Darwin, the UNIX-based core of Mac OS X.

I remember a very early release of Darwin, was interested at the time to see if it would eventually become a standalone product, but it never did. I assume there was a lack of corporate support, much like how Google is now trying to slowly close AOSP via removing core pieces like the dialer.

Re:FreeBSD at 30 years: Its secrets to success by ybloviator on Wednesday July 05, 2023 @08:38PM (#36609352)
With heavy use in Netflix's CDN resulting in something like more than 15% of internet traffic being delivered by FreeBSD, that's some kind of success I imagine.