Wednesday 1 February 2023
Home / none / StarkNet overhauls Cairo programming language to drive developer adoption

StarkNet overhauls Cairo programming language to drive developer adoption

Ethereum layer-2 scaling platform StarkNet has overhauled its in-house Cairo coding language to make Web3 development accessible to developers.

An announcement shared with Cointelegraph outlines the upgrades to Cairo 1.0, which is touted to emulate characteristics of the popular programming language Rust. The overhaul intends to allow developers with general coding experience to begin building decentralized applications on StarkNet’s Ethereum layer-2 network.

StarkWare co-founder and president Eli Ben-Sasson told Cointelegraph that making layer-2 development more accessible to developers of varying backgrounds was the main reason for Cairo’s revamp:

“The primary drivers were safety and ease of use, and conducting the overhaul presented a terrific opportunity to remove the entry for developers with conventional language backgrounds.”

The technical specifications outlined in the Jan. 5 launch encompass a host of improvements to Cairo’s language, including improved syntax and language constructs, a holistic type system, intuitive libraries, optimized code and strong typing by demanding specification of data types.

StarkNet highlighted Sierra — which stands for Safe Intermediate Representation — as the main addition to Cairo’s overhaul. Sierra acts as a new intermediate representation layer between Cairo 1.0 and Cairo byte code.

As Ben-Sasson explained, Sierra is an important aspect of ensuring a permissionless network. The upgrade enables reverted transactions to be included in StarkNet blocks, helping the protocol to avoid adding complex “crypto-economic mechanisms.”

Related: StarkNet makes Cairo 1.0 open source in first step toward community control

Ben-Sasson said that Sierra will allow StarkNet to “inherit the full censorship-resistance of Ethereum” and mainly protects against Sequencer denial-of-service attacks.

As previously reported by Cointelegraph, Ben-Sasson pioneered zk-STARK cryptography alongside other computer scientists. Zero-Knowledge Scalable Transparent Arguments of Knowledge is a proof system that encrypts and verifies transaction data to provide security, scalability and resistance to quantum computing.

According to StarkNet, Cairo is the fourth most popular smart contract language by total value locked. It is the base of applications that have processed over 300 million transactions, minted 90 million nonfungible tokens and facilitated $790 million worth of trades settled on Ethereum.

Original Article

About Jude Savage

Check Also

Solana price rally risks exhaustion after SOL’s 120% pump in two weeks

Solana (SOL) price is up an impressive 60% since the new year, partially boosted by hype surrounding meme cryptocurrency Bonk (BONK). However, the SOL/USD pair now shows signs of exhaustion, raising anticipations that the token may see a short-term correction in the coming days. Solana turns overboughtSolana is one of the best performing cryptocurrencies so far in 2023 after being one of the biggest losers in 2022. On Jan. 9, SOL's price jumped to as high as $19.50, or around 120% gains in a recovery rally after sliding below $8 on Dec. 29, 2022. But the price spik also turned Solana into an overbought asset, per its daily relative strength index (RSI) reading above 70, as shown below. SOL/USD daily price chart. Source: TradingViewTraditional investors typically see an overbought RSI as a potential sell signal, given the indicator has historically coincided with a period of buyer exhaustion. As a result, SOL's price could enter a correction or a sideways consolidation stag..

Leave a Reply

Your email address will not be published. Required fields are marked *