18. Building an Application-Specific EVM

One of the key features of Lity is the libENI facility. It allows developers to add native C/C++ functions to the Lity virtual machine. While Solidity and Lity are both Turing complete languages, they are inefficient. And that translates to slow performance and high gas costs for many common computer operations on the blockchain, such as string manipulation and encryption/decryption. The libENI native functions allow developers to support those operations in blockchain smart contracts in a highly efficient manner. The importance of libENI is twofold.

  • If you are building your own blockchain, you can customize it for specific application use cases by bundling a selected library of libENI functions. For ...

Get Building Blockchain Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.