StarkNet:
- StarkNet contract compiler and StarkNet CLI (command line interface)
@external
,@view
and@storage_var
decorators
Cairo language:
- Remove-unused-functions optimization
- Dot operator (e.g.,
(x + 1).y
) and the subscript operator (x[3]
). - Tuples (
(2, 3, 4)
) - Struct data-constructors (
let t = T(x=1, y=2)
) - Compare structs (
assert a = b
, wherea
andb
are of typeT
)
Cairo architecture:
- Safe call (the Cairo CPU ensures that each
call
instruction returns).