3 ms·
Not an expert in solidity but from my limited experience EVM and smart contracts have really different approach when it comes to computation. two things that c
by kamyarg 5y ago
Not an expert in solidity but from my limited experience EVM and smart contracts have really different approach when it comes to computation.
two things that come to my mind:
- There is really no random() function due to need for determinism
- Space vs. Time complexity is distorted, the gas you pay for instruction vs. byte is really different economics compared to AWS EC2 instance/hour etc.
- yaitsyaboi 5y agoInteresting, do you suggest any sources to read more about this?
- kamyarg 5y agoNot sure about articles but I can recommend Crypto Kittens Tutorial[1]. It has been some time since I did it(Late 2018 I think), but was really informative to get the mindset and different constraints people deal with in smart contract world. [1] https://www.cryptokitties.co/kitten-class/breeding/introduction https://www.cryptokitties.co/kitten-class/breeding/introduct...