r/AskComputerScience • • Jan 07 '26

Optimality in computing

So this question is gonna be mouthful but I have geniune curiousity I'm questioning every fundamental concept of computing we know and use everyday like cpu architecture, the use of binary and bytes, the use of ram and all the components that make a up a computer, a phone or whatever Are all these fundamentals optimal? If we could start over and erase all out history and don't care about backward compatibility at all How would an optimal computer look like? Would we use for example ternary instead of binary? Are we mathematically sure that all the fundamentals of computing are optimal or are we just using them because of market, history, compatibility constraints and if not what would be the mathematically and physically and economically optimal computer look like (theoretically of course)

11 Upvotes

46 comments sorted by

View all comments

Show parent comment

2

u/yvrelna Jan 08 '26

Writing software that plays ball with this caching is pure alchemy

And just pointless. Most of the time, the optimisation only works on your exact machine configuration. The moment you run it in someone else's machines, they would have slightly different configuration of caches and the code needs to be optimised differently. 

There would likely be no need for dedicated GPUs, because the CPUs would be able to leverage the same hardware tricks that make GPUs fast. 

That's... not how it works.

1

u/flatfinger Jan 08 '26

It used to be common for software to be designed to perform a set of tasks on one particular computer. Not just one type of computer, but rather "The Acme Mark V in room 2307". The notion that software should only be considered useful if it will run optimally on every imaginable machine under the Sun is fundamentally counterproductive. Rather, portability, maintainability, execution speed, and space efficiency should all be viewed as desirable traits that can seldom be optimized simultaneously: normally, optimzing for one will require sacrificing others, and it will be necessary to find whatever balance is most appropriate for the task at hand.