Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is about a language compiler bug. There are no takeaways about smart contracts here.


It's about a compiler bug in C++ that had downstream effects in the compiler for Solidity, which is a language for developing smart contracts. Yes, every compiler can have bugs, even ones not relating to smart contracts, but that doesn't seem like a very convincing argument that we should be using compilers for more things rather than boring regular code that isn't considered to be contractual.


So long as you’re writing your smart contracts with a chisel, into a stone tablet, with no compilers or assemblers in sight!


The bug was a simple segfault and did not result in the production of invalid or incorrect code.


Segfaults are the lucky case when you run into undefined behavior. The unlucky case is that you just get a program doing something different than what you intended without any clear indication that something went wrong.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: