Categories: Ethereum

Huff Programming ‘Language’ Results From AZTEC Development

Click here to view original web page at

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 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.

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



Zac Williamson

Ethereum Virtual Machine


smart contract



elliptic curve arithmetic

zero-knowledge proofs



open-source project

programming language


privacy protocol


Illuminati, Mason, Anonymous I'll never tell. I can tell you this, global power is shifting and those who have the new intelligence are working to acquire this new force. You matter naught except to yourself, therefore prepare for the least expected and make your place in the new world order.

Disqus Comments Loading...
Published by
Tags: eth ether

Recent Posts

  • Altcoins

Denarius – A true cryptocurrency in a sea of ICOs

In a sea of altcoins, Denarius is by far one of the more interesting, innovative blockchain projects released yet. With… Read More

11 mins ago
  • Bitcoin Business

Donald Trump’s bitcoin takedown signals global currency war

US President Donald Trump’s tweet attacking bitcoin ( BTC-USD ) highlights his increasing interest in controlling global currency markets —… Read More

6 hours ago
  • Bitcoin Business

Iran Legalizes Crypto-Mining As “Official Industry”

After weeks of uncertainty, the Iranian government’s Economic Commission has approved a mechanism of cryptocurrency mining in the country, according… Read More

6 hours ago
  • Bitcoin Business

Bullish For Bitcoin? Trump Turns Up Pressure on Federal Reserve to Cut Interest Rates

President Trump is continuing to pressure the Federal Reserve for dragging its feet on interest rate cuts. For some, such… Read More

6 hours ago
  • Bitcoin Business

Blockchain Center’s grand opening attracts local, international leaders

Pictured (l-r) are Eryka Gemma, Nick Spanos, Miami Mayor Francis Suarez, and Scott Spiegel. (Photo credit: World Red Eye) Blockchain… Read More

6 hours ago
  • Bitcoin Business

Bitcoin buyers beware

by Mike Connon As advisors, we typically advise families to take a patient, long-term approach to investing in the market,… Read More

6 hours ago

This website uses cookies. We use these cookies to collect data about your interaction with our website for the purpose of continuously improving your experience with our site. For more information we encourage you to read our privacy policy.

Read More