Posts

Showing posts with the label languages

Programming languages prevent mainstream DeFi

Image
Asset-oriented programming makes fundamental functions native to the programming language. DeFi needs more of that to improve security. Decentralized finance (DeFi) is growing fast. Total value locked, a measure of money managed by DeFi protocols, has grown from $10 billion to a little more than $40 billion over the last two years after peaking at $180 billion. Total value locked in DeFi as of Nov. 2022. Source: DefiLlama The elephant in the room? More than $10 billion was lost to hacks and exploits in 2021 alone. Feeding that elephant: Today’s smart contract programming languages fail to provide adequate features to create and manage assets — also known as “tokens.” For DeFi to become mainstream, programming languages must provide asset-oriented features to make DeFi smart contract development more secure and intuitive. Current DeFi programming languages have no concept of assets Solutions that could help reduce DeFi’s perennial hacks include auditing code. To an extent, audits work....