Live data from Hacker News

John Carmack is reading and contributing to OpenBSD source code

marc.info

221–230 of 267 posts

Re: John Carmack is reading and contributing to OpenBSD source code

#221
post #24

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?

Yes. Even in the smaller BSD world it's an "alternative OS" compared to FreeBSD or NetBSD.

Re: John Carmack is reading and contributing to OpenBSD source code

#222

Earlier 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

I think that was the case for Doom, but for Quake 2 and 3 a SGI Origin 2000 was used.

Re: John Carmack is reading and contributing to OpenBSD source code

#223

Earlier 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?

Hey friend, please don't purposely misread the comment. It's clear that folks are contrasting two different styles of communication.

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

#224
post #32

This 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.

The parent comment seems to suggest its author is not a frequent reader of NetBSD/OpenBSD mailing lists. This message is not at all atypical of what one would routinely see on these lists from regular contributors. Perhaps John Carmack spent some time reading the OpenBSD mailing lists before posting. It just shows that in more popular projects, or whatever the projects the comment's author is accustomed to, the expectations placed on contributors can be lower.

Re: John Carmack is reading and contributing to OpenBSD source code

#225

Earlier 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)

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.)

Re: John Carmack is reading and contributing to OpenBSD source code

#226
post #98
post #76

Earlier 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.

Apples and oranges. FreeBSD is providing the userland too so it’s not like the ABI change is going to break all the things it might in a Linux distro if the kernel broke ABI.

Re: John Carmack is reading and contributing to OpenBSD source code

#227
post #30

Earlier 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!

I found these two commits to the stc/sys/dev/ic/vga.c crediting Carmack

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

#228
post #167

Earlier 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…

> If you want to run a graphical desktop with 3D acceleration and HD video you will almost certainly have a harder time than any Linux user.

With the exception of MacOS? Darwin is BSD.

Re: John Carmack is reading and contributing to OpenBSD source code

#229
So I didn't understand what that syntax meant for the code John was talking about, so I figured I would share my findings for other C newbies like myself. (If I am incorrect, please tell me!)

This:

    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

#230

Earlier 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.)

Carmacks's blog post with his Steve Jobs stories, including him persuading Apple to adopt OpenGL https://www.facebook.com/permalink.php?story_fbid=2146412825...
Post reply on HN