r/computerscience • • Dec 03 '25

Optical CPUs: Is the Future of Computing Light-Based?

Lately I’ve been thinking about how CPUs send signals using electricity, and how that creates limits because of heat, resistance, and the speed of electron movement.

What if, instead of electrical signals, a CPU used light—similar to how fiber-optic cables transmit data extremely fast with very low loss?

Could a processor be built where:

  • instructions and data travel through photonic pathways instead of metal wires
  • logic gates are made from optical components instead of transistors
  • and the whole chip avoids a lot of the electrical bottlenecks we have today?

I know there’s research on “photonic computing,” but I’m not sure how realistic a fully light-based CPU is.
Is this something that could actually work one day?
What are the biggest challenges that stop us from replacing electrons with photons inside a processor?

37 Upvotes

38 comments sorted by

View all comments

Show parent comment

1

u/8AqLph Dec 05 '25

I am not saying that RAM always limit CPU workloads. And consumers would not be the first targets for such optical CPUs because of their prices.

My point is that optical CPUs are a very expensive and inefficient way of improving performance. Towards that, there are studies that find that memory movements are a huge bottleneck, other that point out inefficient algorithms like thread synchronisation, or memory latency (1, 2, 3, 4). Of course, a faster CPU improves performance. But that improvement must come at a reasonable price for the required investment. That's why most of the research on the subject focuses on better algorithms and better architectures, which are much cheaper and provide great performance boosts.

1

u/8AqLph Dec 05 '25

I highly recommend reading my first citation btw. It's written by 5 Google employees and 2 Harvard researchers, and it's incredibly interesting. It's a bit old (2016), but more recent research still support those claims today (most notably, there was a paper published by Facebook researchers around 2021-2022 where they found the exact same things in their data-centers).

Regarding games, there is very little research on that. However, games mostly rely on the GPU and all papers on GPU workloads (AI and HPC, not gaming) find that the GPU memory is the single biggest bottleneck nowadays. I can provide citations on that if you are interested.

1

u/Jamie_1318 Dec 05 '25

Unfortunately, I do not have an IEEE subscription so I cannot read those papers.

That said, it doesn't sound like anything surprising to me either. Anyone who has done significant program optimization will tell you that synchronization and memory layout are the #1 things to target.

I haven't said that it's efficient, economic or practical, simply that there's room for improvement in performance that is not 'software and architectural things'. Stating that is painting with a enormously wide brush.

However, assuming the claim is that memory performance is the largest bottleneck for google's research is memory bandwidth, it does not follow that there would be no benefit to a hypothetical faster CPU.

You are talking about 'bottleneck theory', the problem with that is it an extremely simple way of looking at performance, that basically ignores that tasks are series of operations that all have to complete. Even if the longest part is memory, it doesn't follow that there is no benefit to making the CPU faster. Even if you are making something that only takes 10% of the time 50% faster, you are still getting a 5% speedup. If that's more cost effective than improving the speed of the task that takes 90% of the time it will happen.

Separately, you are looking at data over a large number of general purpose machines, and using it to determine that there is no practical use for faster CPUs. I hope I don't have to explain to you that obviously that's wrong, and there is a use case for faster chips.

Look at it another way, there's enormous money going into quantum computers. Right now, the limit is something like 1000 cubits. essentially, this means that the working memory for the problem is limited into that space. And yet these CPUs are receiving enormous funding to solve that problem.

Even though they aren't useful for most workloads, there is potential for specific tasks with small working data sets and appropriate algorithms.

> Regarding games, there is very little research on that. However, games mostly rely on the GPU

Look, maybe if you don't know about something, you shouldn't just dismiss what other people are saying about things, switch the topic to something else, then say something about that.

In games, generally the CPU does work to move the game state forward, then feeds an update to the GPU, then the GPU renders it. It is correct to say that games are usually bottle necked by the GPU, however it doesn't follow to say that you can't improve the performance of a game by improving the CPU. As I discussed earlier, it's a pipeline, and all the stuff has to get done for a new frame to get rendered. Some games are very CPU bottlenecked IE dwarf fortress/factorio, but a lot of AAA games are much more GPU intensive. That said, there is improvement to be had on any part of the process.

It's late, and unfortunately tech journalism is done on youtube these days, but here's an example of what I mean.

In a benchmark comparing memory setups, they are comparing 6000Mhz vs 8000Mhz ram, which is a 33% improvement, but that only results in a ~3% higher framerate.

https://www.youtube.com/watch?v=lx2SHUT9l7c

However, comparatively in a variety of FPS games, moving between different CPUs is a 60% performance improvement.

https://www.tomshardware.com/pc-components/cpus/amd-ryzen-7-9800x3d-review-devastating-gaming-performance/2

Unfortunately, there's platform and memory speed/latency difference between those CPUs as it isn't designed to be a differential test, but you can still see that the CPU alone makes an enormous difference here, and ram (frequency at least) doesn't really.

1

u/8AqLph Dec 05 '25 edited Dec 05 '25

I think we agree on many things here. I'm not stating that a faster CPU wouldn't provide improvements. I am stating that the effort is better put elsewhere, and it seems to me that you agree on that point. To me, that explains why the vast majority of the effort is put elsewhere and why we don't hear much about optical CPUs.

The comparison with quantum computing is interesting, although quantum computing have much much more potential for solving very important problems that cannot be solved with traditional computers (due to algorithmic complexity).

As a sidenote, when I say that memory is the bottleneck for GPU workloads, I am talking about the VRAM. That one is integrated into the GPU and cannot be replaced. To test that properly you often need simulations (here is a tool to do that if you want to give it a try, but I doubt you would be able to simulate games execution with it). Here is a freely accessible Nvidia paper from 2020 about that. I really wished Nvidia talked about gaming from time to time though, that paper is again focused on AI and HPC. But my talk here about GPUs is more of an interesting sidenote. I see from your links that the choice of a CPU does impact performance at least to some extent. I don't mean to dismiss what you are saying.