Kakarot Cairo 1.0 migration journey #27
Replies: 4 comments
-
Difficulty related to Cairo 1.0 evolving fastDescriptionOne of the main difficulty we are currently facing is that Cairo 1.0 is still in alpha version, with a lot of missing features. As a result, you can have breaking changes in your code when you upgrade the Cairo 1.0 version you use. 💡 TipsWe recommend the projects to update frequently the version of Cairo 1.0, both locally and in the continuous integration pipelines. |
Beta Was this translation helpful? Give feedback.
-
Cairo != StarknetDescriptionCairo is not specific to Starknet, and it can be used as a general purpose programming language. Currently Cairo features are much closer to feature parity with Cairo 0.x than Starknet features are. However, I think there are some benefits of starting the migration earlier, even with missing Starknet features. 💡Tips
|
Beta Was this translation helpful? Give feedback.
-
Use and contribute to community standard libraryDescriptionQuaireaux is a community maintained standard library for Cairo 1.0. The idea is to have a library with useful primitives, optimised and well tested algorithms that any project can use. 💡Tips
|
Beta Was this translation helpful? Give feedback.
-
Consider using AI to helpWe are using AI to help during the migration of Kakarot. Example prompt to generate boiler plate code with doc functions from Cairo to Cairo 1.
Expected output:
Migrate the following cairo0 code to cairo1:
|
Beta Was this translation helpful? Give feedback.
-
The goal of this discussion is to leverage the Cairo 1.0 migration experience of Kakarot for all Starknet ecosystem.
We will discuss the challenges, the findings, some useful tips for projects that will have to migrate their code to Cairo 1.0.
Once we have gathered enough content and feedback we will write a complete migration guidelines and best practices.
Let's start the great Cairo 1.0 migration adventure together!
🐺 + 🦀 = ❤️
Beta Was this translation helpful? Give feedback.
All reactions