Such a beautiful, terrifying sentence.
Ethereum is Doomed
41–50 of 217 posts
Re: Ethereum is Doomed
#42The programming classic "Mythical Man Month" had a chapter for the "second system effect". Its where developers put lots of complicated features in to the second system in a series. Its a pattern for failure. In this case, Ethereum developers built a much more complicated cryptocurrency by making it Turing complete - to the extent of writing their own new computer language and virtual machine to run it. They skipped…
Re: Ethereum is Doomed
#43I didn't know the language was turing complete. Isn't this computing 101? If you want a secure thing then you must be able to reason about it statically. Making things turing complete means any non-trivial property of program correctness can not have a generic solution and so you've just opened yourself up to a world of hurt.
I think the idea vehind TC is that now you could write in certain styles that do guarantee termination without sacrificing readability.
For example if you're working with just primitively recursive functions you can always guarantee termination
So the prerequisite for people investing is for the contract to be in a certain style, or something
EDIT: besides, even without TC you still need to check the contract for logic bugs. TC is a bit of a red herring for "due diligence is always needed"
Re: Ethereum is Doomed
#44Earlier quoted context omitted.
Banks aren't legally exploitable .
Was the hack legal? A system letting you in if you poke it just right doesn't mean you are legally allowed in. I fail to see how a bug in banking software would be any different to the bug in the DAO.
The DAO basically said screw the lawyers and case law and precedent bullshit, the contract is nothing more or less than the results of running this program on the Ethereum VM.
As the program executed a way to transfer 10s of millions of dollars and they specifically stated that the program was the contract, by The DAO no contract violation occurred, hence no hack.
Re: Ethereum is Doomed
#45Re: Ethereum is Doomed
#46What if they had used a language without the possibility of recursion and without loops? I'm being serious. Languages that disallow certain types of recursion, and disallow loops exist. You'd think they would've used something that actually allows for total functions that are guaranteed to terminate in a certain way, instead of a JavaScript clone...
We just need to be a little wiser about how we do it.
Re: Ethereum is Doomed
#47(ref: http://www.antipope.org/charlie/blog-static/fiction/accelera... )
Re: Ethereum is Doomed
#48Here's a better explanation of the attack: http://vessenes.com/more-ethereum-attacks-race-to-empty-is-t... Ethereum is not doomed. But devs do need to be educated of this attack.
Re: Ethereum is Doomed
#49Re: Ethereum is Doomed
#50I didn't know the language was turing complete. Isn't this computing 101? If you want a secure thing then you must be able to reason about it statically. Making things turing complete means any non-trivial property of program correctness can not have a generic solution and so you've just opened yourself up to a world of hurt.
The whole point of Ethereum is turing completeness. Ethereum without Turing completeness already exists and its called Bitcoin. While this implementation of The Dao has failed, Ethereum is the only blockchain where implementing The Dao is possible.