📄️ Introduction to the Cairo Virtual Machine
Welcome to the documentation for the Cairo VM.
📄️ Layout
Explain the VM layout. Its write once memory model (perhaps also include the reason behind it)
📄️ Instructions
Go for each of the instructions. Explain their strucutre and what they accomplish. A lot to talk about here.
📄️ Builtins Documentation
Regular Cairo instructions are like regular Legos, they work, but for complex things they can be slow. Builtins are special Lego pieces that snap together easily, like pre-built wheels or doors. This makes building things much faster. In a Cairo context, builtins help write clean and efficient Cairo programs, just like these special Lego pieces help build cool things faster.
📄️ Cairo Zero Hints
Cairo Zero relies on hints to optimize various operations. To ensure compatibility across different Cairo Virtual Machine, Starkware maintains a list of whitelisted hints that any Cairo VM needs to implement. These hints are essential for the proper functioning of Cairo Zero programs.