Re:Ethereum is Doomed
by im3w1l on Tuesday June 21, 2016 @03:05AM
(#11943979)
So, just write your contract in a non-turing complete subset of it. Just because the power is there doesn't mean you have to use it if you don't want to.
[ Parent
| on HN ]
According to the article, you need to write interfaces that accept a function and call it somewhere down the line. At this point you already cannot guarantee the lack of recursion, simply because the supplied function can call your function again. It is simply not possible to write a code that always halts, unless you never even call the supplied function.
There's a difference between general recursion and bounded recursion, and you can very easily constrain recursive functions to terminate, especially if you're in control of the data they must pass around.
Re:Ethereum is Doomed
by dkarapetyan on Tuesday June 21, 2016 @03:58AM
(#11944175)
You just made my point. The Ethereum designers have offloaded all the hard work onto others. What value do I get out of this platform if I'm doing all the hard work?