Ryan Flaherty (@rflaherty71) header
Ryan Flaherty (@rflaherty71) profile picture

were it so easy Previously Thekla/Google.

Joined May 2014
Photo by Ryan Flaherty (@rflaherty71)Photo by Ryan Flaherty (@rflaherty71)Photo by Ryan Flaherty (@rflaherty71)Photo by Ryan Flaherty (@rflaherty71)Photo by Ryan Flaherty (@rflaherty71)Photo by Ryan Flaherty (@rflaherty71)Photo by Ryan Flaherty (@rflaherty71)Photo by Ryan Flaherty (@rflaherty71)Photo by Ryan Flaherty (@rflaherty71)
Assassin's Creed Valhalla - 170 GB, hour+ long download on Steam at 120 Mbit/s With Via you are in game in <5 min with <5 gigs of data on disk. Ubisoft's Anvil engine tech seems pretty good to me, good loading code and no fps stutters due to streaming.
2
1
4
59
20,112
make something new challenge failed again
Team Fortress 2 in the Browser. Written in Rust and JavaScript. Pixel Perfect.
5
3
351
19,485
code was efficient before?
Everyone who thinks AI slop will ruin code efficiency/performance is going to be so surprised when everything is absurdly well-optimized John Carmack style machine code.
2
30
3,365
perf 10x'd because you switched to boost's hash table, good one
my first job (on Amazon EFS's storage layer) was what you might call "TIGER STYLE" in a hybrid of ANSIC/C99 (e.g. we were allowed "//" comments, but not booleans because those embedded too much behavior, and certainly not dependencies) it was originally written by some of the most wildly smart people i'd ever met: out of MIT CSAIL, working on wide-area storage network research, then sucked into Amazon -- led by the author of fftw. i had interned on this team in college, where i was tasked with coming up with a predictive model for how capacity would be used in storage system. i wasn't allowed to use numpy because of the ban on adding dependencies (i did not, in fact, write a fast linear regression algorithm in pure python) and because of the deep research that these folks had done in numerical stability around floating point numbers we had our code that touched disk, our own on-disk format (dbuf == "disk buffers") and our own network wire protocol (nbuf == "network buffers") we had a stringent (but undocumented) style guide -- mutexes needed to be wrapped in their own C scope for visibility. we had a lot of "void *", wrappers around malloc/free that manually counted allocations, and one of them wrote an entire work-stealing async framework in this style. the point is that these folks were the *most qualified* to write this code. joining this team, i thought that this was how all software was written -- and led to a lot of my thinking even today. a few years later, folks cycled out, and we hired more ridiculously smart people (now out of MathWorks, yes boston was strong on this team) and they proposed moving us over to C++ this was seen as apocalyptic to me and some of the other old timers -- folks were recommending that we include... dynamic allocations?? boost as a dependency? if we started allowing these things, where would the performance slippery slope stop? the C++ tides won, and i went off to become a product manager (for unrelated reasons). and, what happened? performance like 10x'd. why? it turned out that the people writing these dependencies (e.g. hash tables in boost) had spent their entire careers working on this *one thing*, and deeply optimizing it for a variety of different hardware. this meant that, out of the box, many of these data structures would outperform our home-rolled ones in C and assembler. when you go at it alone, you spread yourself too thin to build the best possible product, unless you're totally divorced from time constraints. now, i'm still guilty of believing that it's better to just write the whole stack than include dependencies, but there are folks on the team who have helped me see the light, and it's helpful to have been in a professional setting on both sides of the tiger style world. did allowing dynamic allocation reduce performance? probably. did it allow us to move faster and deliver more value to our customers in shorter time? also probably true.
5
86
18,961
Regardless of how useful the tool is, I find reading the output of LLM's to be deeply unpleasant
I’m convinced that a large % of programmers don’t actually like computers. As a side effect, are also perfectly happy to throw away their reasoning to a model as soon as they can. I don’t get it, at ALL. Don’t you *LIKE* understanding the magic of the machine? You do realize hand-programming (I hate that I even have to specify hand now) is fun…right?
5
5
1
281
11,122
I thought Starbucks sold coffee, why are they a software company?
We started 8090 a few years ago on the belief this motion would become widespread. We’ve been surprised by how fast it has taken hold. That said, it’s still so early in this game. Software license revenue is $1T annually. Services and T&M consulting around those licenses is $4T annually. All of this will merge into a new $5T super-category and whatever happens from there is anyone’s guess. But I applaud $SBUX for ripping off the bandaid - they clearly see the forest from the trees.
2
10
1,008
a slightly more serious attempt at the atmosphere
12
513
added some post processing (bloom) and tuned the scene a bit, the galaxy backdrop isn't "correct" exposure, but I like it..
added the the EXRs from NASA for the galaxy background, naively using uncompressed texture formats puts this scene at 5+ GiB of VRAM
1
1
14
904
You'd think one of these days someone would ask fable to make something that doesn't already exist
Told Claude Fable 5 to make a Vampire Survivors clone in pure C++, no engine, no asset files Everything from sprites, sounds, graphics to music tracks is generated by code at runtime Source code is in the thread below
29
30
2
2,060
46,361
not to down play the author's skill or anything, but this entire video reads like the parody microservices video but for 3d, is this really what people have to deal with? youtube.com/watch?v=GMcPeHB3…
2
1
11
2,417
added the the EXRs from NASA for the galaxy background, naively using uncompressed texture formats puts this scene at 5+ GiB of VRAM
stumbled on Carl-August's "Late Cretaceous" map (66 million years ago) and was totally captivated so decided to spend some time building a little planet renderer for it from scratch
1
1
17
2,566
stumbled on Carl-August's "Late Cretaceous" map (66 million years ago) and was totally captivated so decided to spend some time building a little planet renderer for it from scratch
2
1
14
2,517
The last time I tried these services my biggest complaint was actually image quality, the compressed video is really quite horrible compared to native. That said we are firmly in the DLSS slop world at this point anyway so image quality sucks either way
you’ll get mad at me for saying this…but cloud gaming is so obviously more economically efficient than physical hardware I think it’s going to be the default soon. your home console / pc is idle 90%+ of the day. meanwhile, data centers targets what, 5%, maybe at worst 10% idle. every second a cloud gamer isn’t gaming, that hardware is being used for someone else, training, etc. I think there should be a new measurement, something like cost-per effective FLOP hour that takes into account the TCO + effective utilization. If a gamer spends $500 on a GPU, uses it for 3 years, but it’s only fully active ~5% of that period…the cost-per relative FLOP hour is crazy high! Meanwhile, a $50,000 datacenter GPU might have a *LOWER* cost-per FLOP hour just because the effective utilization is 90+%.
8
1
47
3,264
Looks like I was a couple years too early when I tried joining. Leadership and priorities must have changed a lot.
SpaceX has almost finished writing V1.0 of an in-house AI training stack in C that exact-maps to 220k GB300s with 800G NICs, making heavy use of pipeline parallelism and getting as close to bare metal as possible. The potential speed improvement vs JAX for large training runs is over an order of magnitude.
7
603
You literally can't fix the code. The company has to be willing to cut and start over for a new release version, which none of them are. They'd prefer to waste their engineer's time on extremely expensive incremental tiny nudges on the existing system.
I have to be honest, this doesn’t bring confidence to Windows users that your solution to making key Windows interactions faster by pre-boosting the CPU clock on key interactions the user expects to be snappy. Can we fix the code for fucks sake? God damn MSFT what is going on?
11
6
1
307
25,649
It is unbelievably difficult to make changes to the systems at big tech companies. It is at least 10x harder than just writing the thing from scratch yourself.
amazon has like 100k employees, why can't one of them improve the main website wtf it still gives stone age vibes 💀
13
8
324
30,059
alternatively someone could have just fixed the horrible language 20 years ago
What is AI good at saving you time? One example is writing boring helpers like this.
32
5
2
779
60,340
it's theft I mean tax day, they took all my money
9
699
what if instead of a slow path and a fast path we just made the slow path fast
8
4
54
4,207