Hacker News new | ask | show | jobs
by hsn915 1680 days ago
That's not the point of the question.

I was just clarifying the GP comment

> I sometimes wonder to myself: what programming challenges would come up in something like the starship Enterprise (any of them) and what new language constructs (if any) would be required to address them?

The point of the question is to imagine that you are part of the team building this system. What sort of programming techniques would you be using? Is it going to be Python? Modern C++? Probably none of these things as they are incredibly inadequate for such a system.

1 comments

Ah, I couldn't quite tell. I've asked myself something similar.

If done today I think it's more than one technology. The missions critical stuff could maybe be Ada? The AI stuff maybe logical programming based like Prolog? I assume there's a big database in there.

The way things are done today, such a system would implode before it reaches anywhere near a usable state.
The federation is post scarcity though. You only work on what you're interested though, so unless the Klingons/Borg/Romulans are threatening an all out war, I bet you could take things slow and make sure it's done right.