I have a Python program using stack operations and string concatenations. It runs in less than a minute on a particular input, doing about 100 million string operations. Doing this number of operations in Ethereum will today cost about $2 million in gas.
Why is execution in Ethereum so expensive?
Let's say there are 35000 nodes today and each node needs to execute the Ethereum port of the Python program. If we assume roughly the same speed,these are 35000 CPU-minutes = ca. 600 CPU hours = ca. $60 on Amazon. That is a lot less than $2 million.
Why such a big difference? Or is there a flaw in the estimates?