Why Bitcoin Cash can safely support loops in smart contracts
Watch on YouTube (opens in a new tab)- Speaker
- EmergentReasons
- Space
- Published
- Length
Transcript
For many years, there's the concept that the programming that you do of money on Bitcoin shouldn't have loops, because if you allow loops, then the amount of work that a mining node has to do could explode, right? And now your network is broken, because all these nodes just seize up because they've been asked to do an unlimited amount of work. And so there's been a dogma that loops are bad. And then Jason comes around and is like, actually, why don't we solve the problem? Because tell any programmer, like, go and make this application, but you can't use loops, and it'll just be like, yeah, no, I'm not working here, cuz that's a kind of a ridiculous proposal when you're getting into anything that's of meaningful complexity. And so, can we get loops if we do some other thing to stop them from being ridiculous? And Jason of course came up with the VM limits, which we previously activated, but it solves this problem in a more fundamental and elegant way, such that loops are not a scary thing anymore.




