NEWTON
Asked
6 days ago
1
view
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
6 days 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?
Cairo: How do write a log function in Cairo
How large can addresses be in Cairo?
Is starknet.id legit?
Which account does protostar deploy command from?
Why I randomly get `HttpError: Bad Gateway` from starknet js?
How to get private key/mnemonic for account that been created using `deploy_account` [StarkNet]?
Any NFT marketplace has launched on starknet L2?