As someone who is not following closely, did he ever mention why he is looking into alternative OS? And why OpenBSD instead of say NetBSD or FreeBSD? I assume he has many experience with linux already.
Is OpenBSD considered to be an alternative OS?
John Carmack is reading and contributing to OpenBSD source code
221–230 of 267 posts
Re: John Carmack is reading and contributing to OpenBSD source code
#222Earlier quoted context omitted.
OSX roots are in BSD https://www.wired.com/2013/08/jordan-hubbard/
Also id ran software on NeXTSTEP, itself a precursor of OSX https://en.wikipedia.org/wiki/NeXTSTEP#Legacy
Re: John Carmack is reading and contributing to OpenBSD source code
#223Earlier quoted context omitted.
An interesting contrast from the Torvalds approach. I seriously think this is a huge part of why John Carmack is so popular. He's always kind to people, and very keen on sharing useful information.
What has Tovald’s approach been while familiarizing himself with contributing to someone else’s huge and respected codebase? Or are you just referring to his communication when defending his own codebase?
Linus Torvalds can be plenty kind when he wants to be. And John Carmack has also done his time being a jerk.
What people are saying is that the kind approach is their preferred default.
Re: John Carmack is reading and contributing to OpenBSD source code
#224This is such a positive and wholesome example - both the mail itself (getting to know the preferences of the project), the proposed fixes (naming functions in a better way, adding explanatory comments), and on the higher level - the humility in which it was done, and the time being invested by him for a project he isn't part of.
Re: John Carmack is reading and contributing to OpenBSD source code
#225Earlier quoted context omitted.
Also id ran software on NeXTSTEP, itself a precursor of OSX https://en.wikipedia.org/wiki/NeXTSTEP#Legacy
yep, was going to say that this is probably the real source behind the mystery. Early OS X is basically NeXT when Jobs came back to Apple. Doom was developed on NeXT, so id Software and Carmack already had a history of using BSD. They also released Quake for Linux around 1996, which may have used X11 (I cannot recall, maybe it just depended on 3dfx/nvidia without X11 at the time... it's been so long)
I also thought I read somewhere that Carmack persuaded Apple to bet big on OpenGL for OS X. (Ironic now that it's deprecated.)
Re: John Carmack is reading and contributing to OpenBSD source code
#226Earlier quoted context omitted.
BSDs are mundane and also stable, not like some rolling linux distros
The bsds are actually less stable than Linux. Stable meaning changes, in this context, right? freeBSD changes ABI compatibility with every version. If you mean that they have old software (and old==stable if you think Debian) then that’s because of BSD licensing vs GPL. GPL can take from BSD but the other way around is not possible. Stability of uptime? Yeah, they’re rock solid.
Re: John Carmack is reading and contributing to OpenBSD source code
#227Earlier quoted context omitted.
I don't see any additional context but this does appear to be a new thing. Two commits credited to Carmack in the OpenBSD source and they are dated 5/16/2020 and 5/17/2020.
where are those commits? I didn't see anything credited to carmack on those dates. Must've missed them. Would be curious to see!
https://cvsweb.openbsd.org/src/sys/dev/ic/vga.c?rev=1.70&con... https://cvsweb.openbsd.org/src/sys/dev/ic/vga.c?rev=1.71&con...
Re: John Carmack is reading and contributing to OpenBSD source code
#228Earlier quoted context omitted.
Seems a little dismissive of BSD systems given how widely deployed the are in comparison to plan9 or zx spectrums. As far as I understand Netflix uses freebsd fairly extensively, and there are powerful tools like pfSense built on BSDs too, which are also used fairly extensively as far as i know. I would describe that as having practical use.
I think there's a difference between using BSD to build an appliance and running BSD as a day-to-day system. pfSense is a wonderful firewall appliance. FreeNAS is a wonderful storage appliance. If you need pf or native ZFS, a BSD is probably your best way to get it. If you want to run a random headless server to mess around with, you are probably going to have a harder time with any of the BSDs than you would with ev…
With the exception of MacOS? Darwin is BSD.
Re: John Carmack is reading and contributing to OpenBSD source code
#229This:
int (*alloc_attr)(void *c, int fg, int bg, int flags, long *attrp);
means it's defining a function pointer that can point to a function that returns the type int and has a matching parameter list.https://stackoverflow.com/questions/840501/how-do-function-p...
Re: John Carmack is reading and contributing to OpenBSD source code
#230Earlier quoted context omitted.
yep, was going to say that this is probably the real source behind the mystery. Early OS X is basically NeXT when Jobs came back to Apple. Doom was developed on NeXT, so id Software and Carmack already had a history of using BSD. They also released Quake for Linux around 1996, which may have used X11 (I cannot recall, maybe it just depended on 3dfx/nvidia without X11 at the time... it's been so long)
There are writings floating around from Carmack that he was playing around with the OS X prototypes back when it was called Rhapsody in the late 90s. I also thought I read somewhere that Carmack persuaded Apple to bet big on OpenGL for OS X. (Ironic now that it's deprecated.)