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.