ETHERLive
ETHERLive delivers real-time price and volume data across 16+ exchanges to users in a clear and easy-to-understand package. Users can get up-to-the-second updates for each exchange/currency pair, as well as aggregated market averages for each exchange, currency, and the market as a whole. It also provides a global converted average of all the currency pairs monitored by ETHNews, converted to USD.

---

24hr ---
--%
Tuesday Feb 19th 2019
RESOURCES

The Basics

Learn the basics of Ethereum and various cryptocurrency technologies

Learn More

What is Ethereum?

Understand the underlying principles of the Ethereum Platform

Learn More

The Blockchain

Discover the revolutionizing technology known as the blockchain

Learn More
SUBMIT

Press Release

Submit a press release for consideration on ETHNews

Submit Press

Story / Dapp

Submit a story or DAPP to be considered for publication on ETHNews.

Submit Story

Explanation

Submit "Ethereum Explainer" content for consideration to be featured on ETHNews

Submit Topic
ETHNews Logo
---
--%
Home
News
Etherlive
Ether Price Analysis
Resources
Contact Us

Huff Programming ‘Language’ Results From AZTEC Development

By

Dani

Putney

WriterETHNews.com

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.

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 Putney

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.

ETHNews is committed to its Editorial Policy

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