(Game) Chapter 303: Industry Rivalry (Patreon)
Content
California, Silicon Valley
Sutherland Company
Ivan Sutherland sat at his desk, carefully opening a letter from Nolan Bushnell, one of his former students at the University of Utah and the creator of Pong, the world's first commercially successful arcade video game, as well as the founder of Atari, once one of the biggest names in the gaming industry.
...
Dear Mr. Sutherland,
It feels as though we're meeting through this letter, since I've been so caught up with the day-to-day operations at Chuck E. Cheese that I haven't had a chance to visit you in person. I hope you'll forgive me for that.
I recently heard that you've received this year's Turing Award, and I wanted to take a moment to express my deepest respect and congratulations!
Even though we're in the middle of summer...
...
The rest of the letter contained a few more words of concern and well wishes.
A faint smile tugged at the corner of Ivan's mouth as he carefully folded the letter and slipped it into his filing cabinet, which was already filled with congratulatory notes and letters from people across the country and even overseas.
Clearly, him winning this year's Turing Award had caused quite a stir.
"Mr. Sutherland, if you're finished with everything, I'd like to get started as soon as possible."
The man seated across from him was the president of Sun Microsystems, and it was obvious that he hadn't made the trip here simply to pay Ivan a friendly visit.
As one of Sun's highly paid senior researchers, Ivan's Turing Award was undoubtedly a welcome development for the company.
"I know."
Ivan returned to his seat and picked up the disc the other man had brought along.
Resident Evil
"Mr. Sutherland, GAMENOVA managed to produce graphics of this quality using a Motorola processor that's nowhere near as powerful as our SPARC processor."
The graphics in Resident Evil were simply too impressive for workstation manufacturers like Sun to ignore.
As far as Sun was concerned, GAMENOVA had become one of its biggest headaches, largely because of the company's increasingly close ties with several of its competitors.
SGI, or Silicon Graphics, was Sun's most direct rival, and its world-class graphics performance had steadily eaten away at the graphics workstation market Sun once dominated, leaving it with very little room to maneuver.
These days, Hollywood's graphics industry was practically split between SGI workstations and customized machines from MicroNova, both subsidiaries of GAMENOVA, leaving Sun struggling to find a foothold.
Motorola, meanwhile, had once been one of Sun's closest partners, but after Sun began developing its own SPARC processors, the two companies had gradually found themselves competing against each other.
With processor manufacturers locked in an increasingly chaotic battle for market share, Sun needed to build an ecosystem of its own if it wanted to establish a lasting presence in the industry and help SPARC break through the competition from giants like Intel, Texas Instruments, MIPS, and Motorola.
"There's no question that SPARC's performance is among the best in the industry right now," Ivan replied.
And he wasn't exaggerating.
The SPARC processor Sun had developed the previous year ran at an impressive 16 MHz, while its manufacturing process had already advanced to the sophisticated 0.8-micron level.
With that kind of processing power, it had immediately outperformed the CISC processors then available on the market.
But there was one problem. A rather unusual company had also been pushing the RISC architecture aggressively over the past few years.
GAMENOVA!
Whether it was the specially customized Z80 they had developed in cooperation with Zilog or the Motorola processors they were using now, GAMENOVA had consistently followed the RISC approach, pouring enormous amounts of money into research and development along the way.
And that was making life extremely difficult for Sun.
Even worse, GAMENOVA had developed an increasingly close relationship with Motorola, with the two companies now cooperating extensively across almost every area of their businesses.
Rumor had it that they were even discussing a partnership involving the NEXUS network.
That was particularly frustrating.
SPARC should have been powerful enough to dominate the market and bring Sun hundreds of millions of dollars in revenue, yet instead, it seemed to have run straight into an invisible wall, leaving the company stuck in an awkward position with no clear way forward.
The processor itself was undoubtedly powerful, but its architecture was incompatible with much of the peripheral technology already being used throughout GAMENOVA's ecosystem.
In other words, Sun had the horsepower, but without compatibility, there was very little it could do with it. What a frustrating situation.
"I know."
Ivan repeated himself as he slipped the disc into the NovaXeno sitting on the edge of his desk.
This wasn't lab equipment, after all. He'd bought it with his own money, and as a researcher specializing in computer graphics, there was no way he could have resisted his interest in video games.
"Hmm... interesting."
After skipping through the opening animation and loading into the game, Ivan found himself completely absorbed by the astonishing graphics.
The reports hadn't been exaggerating. What he was seeing simply shouldn't have been possible with the technology available at the time, and the level of visual refinement was almost absurd.
Back then, most developers were still pouring their efforts into 2D graphics, where squeezing higher resolutions and richer colors out of increasingly powerful display chips was already considered a major technological achievement.
GAMENOVA, however, seemed to have skipped several steps entirely.
It was as if someone had learned to run before they could even walk, then casually gone on to win an Olympic gold medal.
"This can't be real-time rendering."
As one of the leading graphics experts who had just received this year's Turing Award, Ivan quickly arrived at that conclusion after his initial shock wore off.
He glanced at the enhanced chip installed in the NovaXeno before turning to Sun's president.
"Have you checked the chip?"
"We sent it to the lab immediately," the man replied with a solemn nod. "It's only a 16-bit processor, built on a standard NovaRadeon architecture, with a slightly higher-than-usual clock speed at most."
"It's not even 32-bit?"
For once, even Ivan struggled to maintain his composure.
If GAMENOVA had developed a custom 32-bit next-generation processor specifically to handle these 3D graphics, he might have been able to accept that explanation, but this was actually a standard 16-bit chip?
"That's right. All I can tell you for certain is that the graphics aren't being rendered in real time."
Ivan took control of Chris Redfield and spent some time exploring the mansion, but no matter where he went, he couldn't spot anything unusual.
After a long while, he finally shut down the game, his expression turning helpless.
"GAMENOVA has always been exceptionally good at encryption, so trying to crack open the source code of Resident Evil and uncover its secrets probably isn't a realistic option."
"But..."
Ivan paused, then tapped a few keys on his PC before continuing, "We can approach the problem from another direction by taking a closer look at the public version of GAMENOVA's engine.
Although they have kept the core technology under their own control, they have made some of their technical resources accessible for research, development, and public contributions."
"That's an excellent idea. Get started immediately."
Sun's president was clearly growing impatient, and with good reason. The longer this went on, the worse SPARC's situation would become, potentially threatening the very foundation of the company.
If they could take this opportunity to learn from GAMENOVA's work and figure out how its technology operated, they might still have a chance to turn things around, perhaps even surpassing their rival by adopting the very techniques that had put them at a disadvantage.
And once their secret weapon for the following year, the 64-bit, UltraSPARC II processor, finally emerged from the lab, they might even be able to stage a comeback and sweep the entire market in one decisive move.
Of course, digging through someone else's source code was far from an easy task.
Even though the code was written in Nova, a programming language renowned for its readability, and even though Ivan was an expert in the field, analyzing it still demanded an enormous amount of time and mental energy.
"That's strange..."
Ivan furrowed his brows as he stared at the screen.
GAMENOVA was practically the most unconventional company in the entire industry, with nearly every one of its technical implementations defying his expectations.
What baffled him most, however, was that the company somehow managed to accomplish everything through methods that ran completely counter to established industry practices, and not only did those methods work, they consistently produced better results than the conventional approaches everyone else had been following.
It was downright infuriating.
"What is it?"
"Square root."
Ivan slowly repeated the two words, then fell silent.
Whether in video games or business software, there was one seemingly insignificant mathematical operation that showed up everywhere: Sqrt, the square-root function.
Calculating spatial distances, determining states of motion, and handling countless other operations involving characters, objects, and environments all required frequent square-root calculations, making it one of the fundamental building blocks of 3D gaming.
It was also one of the most computationally expensive operations a computer could perform.
At the lowest level, a computer's basic arithmetic circuits simply weren't designed to handle division directly.
Addition was built into the processor's fundamental logic, while subtraction could be reduced to addition through two's complement, much like turning 1 - 1 into 1 + (-1).
Multiplication also benefited from a wide range of efficient algorithms, and even the simplest approach of repeated addition could handle it without too much difficulty.
Division, however, was a different story.
Implementing it required considerably more complicated circuitry and logic than the other three basic arithmetic operations, and a single division could take several times longer to execute than a multiplication.
In a 3D environment, floating-point calculations and constant spatial computations made division almost impossible to avoid, while square-root calculations were implemented using similarly complex methods, placing an enormous additional burden on the processor.
This was one of the biggest reasons 3D technology had always been so difficult to bring to the masses: it simply demanded too much computing power!
Ivan had run the numbers himself, and judging by the current pace of hardware development, he suspected that even the transition to 32-bit processors wouldn't be enough to make 3D technology widely accessible anytime soon.
But GAMENOVA had somehow managed to do it.
The code made no apparent effort to avoid square-root calculations, yet its performance was astonishingly good, which simply didn't make sense.
According to his calculations, if GAMENOVA had actually implemented true 3D graphics using this approach, there was no way a NovaXeno with hardware this limited should have been able to run it.
"Hmm? This inverse square-root function isn't a processor instruction..."
Suddenly, Ivan noticed something strange.
The inverse square-root calls didn't appear to come from Motorola's native instruction set at all. Instead, GAMENOVA seemed to be handling them through a custom function of its own.
Ivan's eyes lit up, and his excitement immediately returned.
This was it!
He'd found it! This had to be GAMENOVA's secret weapon, the technical breakthrough behind its incredible performance.
He was already so close to figuring out how they'd done it!
"Wait... there are only ten lines?"
Following the function call, he had expected to find an impressive algorithm module containing hundreds, perhaps even thousands, of lines of code, but nothing of the sort appeared.
Aside from the function declaration, there were just ten short lines sitting there.
"Newton–Raphson method?"
Ivan recognized it immediately. It was the most ordinary approach to calculating square roots, a textbook algorithm with absolutely nothing remarkable about it.
The excitement in his eyes began to fade.
"Wait..."
He was just about to close the code when a completely inexplicable line caught his attention, buried among the otherwise unremarkable instructions. It was a line that would later become famous as part of the Fast Inverse Square Root algorithm.
i = 0x5f3759df - (i >> 1);
"???"
"WHAT THE FUCK?"
It was as if something had suddenly appeared out of nowhere in broad daylight and smashed him straight in the face with a cannon.
Computer science was supposed to be a precise discipline.
Ivan had always believed that, at the very least, code should be elegant and logical, with every instruction serving a clear and explainable purpose.
And yet here was GAMENOVA, casually throwing an utterly ridiculous number into the middle of its code.
0x5f3759df was a hexadecimal number and in decimal number, that was 1,597,463,007.
Why?
There was absolutely no apparent reason for it, yet Ivan was certain that this bizarre constant had to be the key to GAMENOVA's astonishingly fast inverse square-root calculations.
He quietly typed a comment immediately after the mysterious line.
It was an old habit of his. Whenever he read or wrote code, he liked to leave comments along the way, both to document what he understood and to help himself learn.
But this time, he simply couldn't think of a single technical explanation worth writing. So, he left the only comment that felt appropriate.
// What the fuck?