Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Sierra explaination #260

Open
julio4 opened this issue Nov 21, 2024 · 10 comments · May be fixed by #264
Open

Feat: Sierra explaination #260

julio4 opened this issue Nov 21, 2024 · 10 comments · May be fixed by #264
Assignees
Labels

Comments

@julio4
Copy link
Contributor

julio4 commented Nov 21, 2024

Description

Write about understanding Cairo's Sierra IR: from a high-level cairo to a safe IR for starknet.

Sierra is a crucial component in the compilation pipeline, as a memory-safe intermediate representation between Cairo and CASM. With this issue, we want to add a page to get an understanding of the transformation process.

You need to already have some experience on using and experimenting with Sierra.

ODHack

To be eligible for additional rewards, be sure to review and follow the ODHack Common Guidelines and Contributing Guidelines.
Be sure to join the telegram group and introduce yourself.

@ShantelPeters
Copy link

ShantelPeters commented Nov 21, 2024

Can I please be assigned to this issue @julio4

To solve this issue, I will create a page explaining Sierra IR’s role as a memory-safe intermediate representation between Cairo and CASM.
Then i will describe how Cairo code is transformed into Sierra, ensuring security and optimization, and how this step protects against memory issues. Lastly i will highlight Sierra’s contribution to Starknet’s performance, scalability, and reliability by enabling efficient, secure execution of contracts.

@NueloSE
Copy link
Contributor

NueloSE commented Nov 21, 2024

Could I try solving this?

@petersdt
Copy link

I’d like to resolve this.

@martinvibes
Copy link

Mind if I take this issue?
please kindly assign

@OWK50GA
Copy link

OWK50GA commented Nov 21, 2024

Can I be assigned to this?

@omsant02
Copy link

omsant02 commented Nov 21, 2024

i would like to take this issue @julio4

i am a new contributor to this repo and want to start my contribution journey
ETA : 1 day
Thank you

@Birdmannn
Copy link

Birdmannn commented Nov 21, 2024

Hey 👋🏻 @julio4 I would like to embark on this issue #260

I'm Pascal Torti, a Web2/Web3 developer (java, JavaScript and Cairo). I just graduated from the Starknet-cairo bootcamp and I would love to give back to the community as the community has given me this knowledge

Steps to Solution

  1. Explanation on all the areas surrounding compilation
  2. References would be taken (specifically for Cairo) from the Cairo book and the Starknet book
  3. More research on in depth resources for broader and simpler aspects on the topics
  4. Example codes with relation with the research provided above. I would make sure I break it down for new comers to understand.
  5. ETA is 4-5 days max, due to research.

@Supa-mega
Copy link

I'd like to handle this task.

@wheval
Copy link

wheval commented Nov 21, 2024

Can I try working on this issue? I have a solid understanding of Sierra how it works and why it was created

@sandragcarrillo
Copy link

Hi, I would love to contribute to this issue. I have been learning Cairo for the past 3 months and been creating guides for Starknet contracts during my internship at Nethermind (already completed), including ERC-720 and ERC-20. I started to contribute to Open Source projects during this ODHack, this issue would be an amazing opportunity to start my path as open source contributor in the Starknet ecosystem.

I enjoy writing technical content so this issue would be a great way to improve my skills while contributing to Starknet by example. See some examples of my technical writing here: https://talento-upgrade.notion.site/Technical-Content-creation-Portfolio-13fcabbcfb8a80579ca8fee07fdf483d?pvs=73

As I have a little bit of experience writing Starknet content, I would complete this in 2-3 days after the assignment.

@NueloSE NueloSE linked a pull request Nov 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.