NEWTON
Asked
2 months ago
16
views
0
What kind of efficiency gains can one expect from writing the contracts directly in Cairo as opposed to transpiling with warp?
0
Accepted answer
Handwritten code will always be more efficient than compiled code, this is true for any compiled program. With Warp 2.x; we greatly improved the performance of the transpiled code, and it sits around 8-20x overhead compared depending on the contract. We are working on more optimisations all the time so as the compiler matures we should be able to reduce the overhead ever more
victorforissier.eth
answered
2 months ago
Are transpiled contracts only interactable with the warp cli?
How to transpile multiple contracts at once using warp?
How to install Nethermind's Solidity to Cairo transpiler without an error "command not found: warp"?
How can I change solc compiler version in warp?
How many Cairo steps does it take to compute one Pedersen hash?
What is the technical difference of Kakarot compare to Nethermind's Warp?
What do I have as the result of a Cairo contract in JavaScript?
Is there a threshold of optimum transaction speed/cost in L2s?
How to make recursive function in Cairo Lang?
Does anyone know of newsletters that focus on StarkNet or the zk ecosystem in general?
How to modify keccak.cairo and/or packed_keccak.cairo to compute a 512bits keccak hash instead of 256 bits?
How to install Nethermind's Solidity to Cairo transpiler without an error "command not found: warp"?
Can someone explain the difference between unsigned_div_rem and uint256_unsigned_div_rem?
If I want to use starkex do I have to deploy my custom starkex contracts?