15 ms·
Just having an actually sane language (as opposed to Solidity) would do wonders. Does anyone here use Viper or similar in production?
by Drdrdrq 8y ago
Just having an actually sane language (as opposed to Solidity) would do wonders. Does anyone here use Viper or similar in production?
- pavel_lishin 8y agoI've only recently gotten into the cryptocurrency scene - what about Solidity feels less sane?
- jarins 8y agoThey may have changed it in recent versions, but for a long while, functions were public by default (i.e. anyone can call them). Defaulting to open is a huge security flaw and the reason behind the Parity bug https://blog.comae.io/the-280m-ethereums-bug-f28e5de43513 https://blog.comae.io/the-280m-ethereums-bug-f28e5de43513
- CryptoPunk 8y agoEmbark now supports both Vyper and Bamboo: https://embark.status.im/news/2018/05/03/embark-3-0-released/ https://embark.status.im/news/2018/05/03/embark-3-0-released...
- d357r0y3r 8y agoSolidity as a language is not that bad. It wouldn't be my first choice but it wouldn't be my last. Most of the challenges are not at the language level, they're at the EVM level. Any languages on top of the EVM are hamstrung by the EVMs limitations. If it were as easy as "just throw Rust/Go/Java on top of it", that would have already been done.
- AlexCoventry 8y agoWhat do you see as the biggest flaws in the EVM as such? I think a lot of the difficulty is that it's such a novel runtime environment, and it's going to take a few design/failure iterations to come up with a programming model which fits it.
- sanxiyn 8y agoThe biggest flaw: EVM allows integer overflow. This has been responsible for many hacks. (aka somehow withdraw 1 token from 0 token account, now you have LOTS token!) I can't even imagine what they were thinking...
- AlexCoventry 8y agoYou're right, that's a big one.