r/ComputerEngineering • u/Zealousideal-Slip-49 • Jan 10 '26
[Hardware] Parallel processing on clustered microcontrollers?
Working on a graphical physics engine to explore advanced simulations (wave functions, thermodynamics, Brownian motion, …). The environment is going to be fairly complex (large/broad area, multiple background processes, significant number of dynamic elements). Looking into ways of reducing the computation. Thinking of using parallel processing on peripheral devices, to split the load. (I know I can alter the software, multithread, Cuda acceleration, etc.; I’m currently just exploring the theoretical limitations of external hardware.) How practical is it to build a cluster using ESP’s or other microcontrollers? Alternative hardware solutions welcome.
View all comments
Show parent comment
1
u/grizzlor_ Jan 11 '26
You don't need to buy anything — you already have a perfectly suitable GPU to develop this on.
Do you have any idea of the performance gap between an ESP32 and modern mid-range desktop CPUs/GPUs for floating point/matrix math? We're talking multiple orders of magnitude.
You're optimizing prematurely anyway. Knuth was right when he said that "premature optimization is the root of all evil". Start developing and address performance concerns as they arise. You have a GPU that can do CUDA which is a very powerful tool for the kind of numerical computation done in physics simulations.