NEWTON

NEWTON


Popular tags

    What are the efficiency gains of direct Cairo vs. transpiling with warp?

    Asked

    6 days ago

    1

    view


    0

    What kind of efficiency gains can one expect from writing the contracts directly in Cairo as opposed to transpiling with warp?

      warp

    victorforissier.eth

    asked

    6 days ago


    1 answers

    0

    Accepted answer

    Handwritten code will always be more efficient than compiled code, this is true for any compiled program. With Warp 2.x; we greatly improved the performance of the transpiled code, and it sits around 8-20x overhead compared depending on the contract. We are working on more optimisations all the time so as the compiler matures we should be able to reduce the overhead ever more

    victorforissier.eth

    answered

    6 days ago

    Your answer

    NEWTON

    NEWTON