Huff Programming ‘Language’ Results From AZTEC Development

- Advertisement -

February 8, 2019 12:01 AM

AZTEC chief technology officer Zac Williamson calls Huff “a piece of runoff that has oozed out of the primordial slop” while working on the zero-knowledge protocol.

The AZTEC team’s latest project is Huff, an EDCC (aka smart contract) programming language that’s not so much a language as it is a glorified Ethereum Virtual Machine (EVM) assembly code. Huff emerged during development of weierstrudel, an elliptic curve arithmetic library used to validate zero-knowledge proofs.

Elliptic curve arithmetic is computationally expensive, according to AZTEC chief technology officer Zac Williamson, so it became “paramount” to develop an efficient implementation of it. Williamson said such an implementation could not be built using the Solidity programming language.

Then came Huff. The “language” can be used to write, as Williamson characterizes it, “extremely gas-optimized code.” Indeed, the weierstrudel library AZTEC has developed can perform “elliptic curve multiple-scalar multiplication for less gas than the Ethereum’s ‘precompile’ smart contract.” Using Solidity, the same type of computation would be approximately 30-100 times more expensive.

Further, Huff works by allowing individuals to construct EVM assembly macros, which are blocks of bytecode. These macros, together forming algorithms, can be rigorously tested without splitting the algorithms into functions, thereby enabling more efficient execution.

- Advertisement -

As for the name Huff, Williamson said it refers to a made-up game from his past involving a chessboard, a pub, and lots of confusion. The emotions Huff had elicited from him, he continued, hearkened to the invented game, thus Huff was chosen.

Technical details about Huff can be found within AZTEC’s monolithic repository. Huff is open source, and anybody can contribute to its further development.

Dani is a full-time writer for ETHNews. He received his bachelor’s degree in English writing from the University of Nevada, Reno, where he also studied journalism and queer theory. In his free time, he writes poetry, plays the piano, and fangirls over fictional characters. He lives with his partner, three dogs, and two cats in the middle of nowhere, Nevada.

- Advertisement -

Like what you read? Follow us on X @Bitnewsbot to receive the latest Huff, AZTEC or other Ethereum ecosystem news.



Previous Articles:

- Advertisement -

Latest

Gold-Backed Cryptocurrencies Surge as Investors Seek Digital Safe Haven

Gold-backed cryptocurrencies like Paxos Gold (PAXG) and Tether Gold (XAUT) have surged over 24% year-to-date to all-time highs above $3,300.While tokenized gold has thrived...

Mantra (OM) token plummets 90% in 24 hours, wipes out $6B market cap

Mantra (OM) token has crashed over 90% in 24 hours, plummeting from $6.3 to under $0.50, wiping out most of its $6 billion market...

Crypto Gaming Tokens Plummet, Vanish from Top 100 as Market Struggles

Gaming tokens have disappeared from the top 100 cryptocurrency rankings by market cap despite having six representatives a year ago.Eve Frontier launched a 10-day...

Trump to impose new semiconductor tariffs on electronics within months

Commerce Secretary Howard Lutnick clarified that recent tariff exemptions for consumer electronics are only temporary.New semiconductor-focused tariffs are expected within "a month or two"...

AI Revolution: Emotional Agents Could Solve Web3 User Experience Crisis

AI agents with emotional capabilities could make Web3 tools more accessible by providing personalized guidance to new users.The steep learning curve of Web3 applications...

Must Read

10 Best Bitcoin Debit Cards

You are reading this post because you want to get your hands on the best bitcoin debit card - right? Well, we got you covered. We...