5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 9y ago · link · parent
comment 9y ago · link · parent
Companies contribute code because the upstream project will maintain the code for them!
Sony PS4 is a horrible example to cherry-pick. They probably didn't do any serious modifications to anything, they mostly built their stuff on top. A much better example: Netflix upstreaming their reimplementation of sendfile() to FreeBSD. Because it's been upstreamed, they don't have to maintain it for compatibility with other upstream changes anymore, people who make those changes will fix the sendfile() code.
comment 9y ago · link · parent
True. But never underestimate how common memory corruption bugs are. It's fucking embarrassing just how common they are. Look at the Project Zero tracker. Just the first page of the newest issues: "double-free", "out-of-bounds write", "use-after-poison", "use-after-free", "kernel double free", "kernel memory corruption due to off-by-one", "kernel heap overflow", "kernel uaf due to double-release", "heap-buffer-overflow"… And it's these bugs that often lead to the scariest situation for regular users, "I just visited a web page and my browser got pwned".
comment 9y ago · link · parent
comment 9y ago · link · parent
So I currently use a Mac mini '06 as my home server. Used to be my main desktop back in the day… I upgraded the CPU (Core Duo → Core 2 Duo), flashed the firmware from the '07 model (allows running OS X Lion, but idk if that did anything else), installed an SSD (yeah, SATA 1 limits the bandwidth, but latency is sooo much better & I was slightly concerned about the old drive failing) and installed HardenedBSD (because this machine has 32-bit firmware, that was more complicated than usual — I compiled GRUB 2 for 32-bit EFI! And that happily boots the 64-bit FreeBSD kernel. From ZFS, even.)
One downside of that machine is called "Marvell Yukon 88E8053 Gigabit Ethernet". It just… stops working after a while: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206567 So my home server is currently on Wi-Fi :D
Another thing is that you have to shove a resistor into the DVI connector to let the machine boot w/o a display https://soledadpenades.com/2009/02/10/mac-mini-as-a-headless...
comment 9y ago · link · parent
Hopefully Rust will get type-level numbers and stuff someday :)
comment 9y ago · link · parent
comment 9y ago · link · parent
(Just in general, doing this shouldn't depend on a particular game, it's a graphics API level thing)