r/HFY • u/Phawk-uffe • Nov 24 '22
OC Programming
Captain Zin-Voq had several questions. One of which she already knew the answer to. The grainy face on the low resolution combat simulator that was somehow playing on the menus in the ship's galley appeared to be Terran. Of the 150 crew members on board the Til-Mek-Zup, there were only five Terrans. Their eccentricities vexed her to no end, but the Grand Executor had deemed them a necessity. Of those five only one knew how to access the subroutines that controlled the menus. This could only be the work of Tech Officer Sully.
"Tech Officer Sully, would you be so kind as to explain how there came to be a Terran combat simulator displayed on the holo menus in the ship's galley?"
For her part, Deanna Sully looked proud of herself, but given the Captain's gray skin was already turning turquoise with annoyance, she resisted the urge to engage in sarcasm.
"Well, Captain, it comes down to programming languages."
"Nonsense! Even systems on your home world still have compatibility issues with each other, and you expect me to believe that an archaic program from your world is compatible with one of our modern systems that wasn't even designed to run anything remotely similar without either a complete rewrite or some unauthorized modification to our system?"
"For the most part, you are correct, Captain. However, there are certain features that will always be present in any programming language. Namely, a limited set of states, an infinite amount of storage, and a transition function. The program in question relies primarily on these features. With only minor adjustments, the program in question can run on nearly any platform."
Zin-Voq was shocked at what she was hearing. "So what you're saying is that your species created a combat simulator so basic, that anything capable of processing mathematic equations can run it!? That... Actually explains a lot, and makes total sense for your species... But that doesn't explain WHY there is combat simulator on the galley's Holo menus!"
Deanna let out sigh. " Captain, we've been out here for three weeks, and, with all due respect, Grellian media is BORING! I had to find some way of entertaining myself, and of all the systems that I have access to, the galley seemed like the least disruptive to experiment with. I was bored and I wanted to see if I could get Greh tech to run DOOM."
View all comments
Show parent comment
19
u/M1k3y_11 Nov 24 '22
I mean, most hard drive controllers these days are just microprocessors, most of the time an ARM. Though in recent years some manufacturers are building RISC-V based controllers.
Apart from potential safeties that prevent flashing of a new firmware and the problem of attaching a screen and inputs it's not that big of a challenge.
Especially since those controllers are often powerful enough to simply emulate an x86 CPU.