NethermindEth / warp

Warp - Bringing Solidity to Starknet at warp speed. Warp is a Solidity to Cairo Compiler, this allows teams to write/migrate Solidity to Cairo for easy onboarding into the StarkNet ecosystem.
https://nethermind.io/warp/
Apache License 2.0
754 stars 70 forks source link

Investigate the necessity of warp memory #1082

Open piwonskp opened 1 year ago

piwonskp commented 1 year ago

Warp memory was introduced due to the lack of mutability in cairo 0. Cairo 1 provides partial mutability. E.g. Arrays are appendable but elements within arrays are immutable. We should investigate if by creating mutable types we can get rid of warp memory entirely.

Examples of such solutions:

To consider: