Giter Club home page Giter Club logo

cairo_concepts_101's Introduction

Purpose of this project is to explore the building blocks of cairo programming language.

Useful Commands

Create a new project named hello_world

scarb new hello_world

Build

scarb build

Execute

scarb cairo-run

Run Tests

scarb cairo-test

Single command to build and execute

scarb build && scarb cairo-run --available-gas=20
00000

Concepts

What is Cairo ?

Cairo is a programming language that is used for creating 2D graphics. It is an open-source language that is designed to be fast, efficient, and easy to use. Here are some key features of Cairo:

Vector graphics: Cairo is a vector graphics library, which means that it can create graphics that are scalable without losing quality.

Cross-platform: Cairo can be used on a variety of platforms, including Linux, Windows, and macOS.

Multiple output formats: Cairo can output graphics in a variety of formats, including PDF, SVG, and PNG.

Easy to use: Cairo has a simple API that makes it easy to create graphics.

High performance: Cairo is designed to be fast and efficient, making it ideal for creating graphics in real-time applications.

Extensible: Cairo can be extended with plugins and modules to add new functionality.

Debug help

If you get an error Error: program requires gas counter, please provide --available-gas argument, run program with

scarb build && scarb cairo-run --available-gas=1000000

Mostly, You will get this error if you are using loops.

Open Questions & Task

  • Explore cairo cpu architecture
  • How to print results in decimal using print() method

cairo_concepts_101's People

Contributors

mangalg01 avatar

Watchers

Satyam Bansal avatar

Forkers

mangalg01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.