Connect with us

News

New features in Solidity you should know 

Published

on

The creator of one of the best Web3 languages, Solidity, shared several updates on the new features of Solidity at SmartCon 2022. Christian Reitwiessner, who led the team to create Solidity in 2014, said that the programming language would have some new features to make work easier for developers. He called it modern Solidity.

Christian said that IR Pipeline is one of the first features that has been operating for a while but was declared stable in March 2022. This pipeline is parallel in nature and uses an intermediate language, making it unnecessary to go through EVM as the first version did.

The effect of this is that developers have a more flexible tool to work with that allows them to look at “the assembly code and the compiler” before and after optimization. In addition, while the optimizer is still being worked on, cross-function optimization is possible, as Devs can also build with better gas fees, Christian highlighted.

User-defined operators and literals are coming soon

Another feature that was improved on, as mentioned by the Scientist, is the Standard Library. “We want to take the functionality that is currently baked into the compiler and extract it into a library that is written in Solidity,” Christian shared. This will make developers who build with Solidity understand it better.

In the aspect of the generics, the pseudo-generics that use “uint” have been replaced by a powerful “type-checking,” Christian revealed. The generics for Solidity, which is very important for the Standard Library and user-defined types, is designed to imitate how the Rust language manages generics, the Team Lead at Ethereum noted.

Christian explained that while Solidity was created as a language that will not be used for long, requiring little cost and no deallocation, everything is changing as deallocation is activated to enable reuse.

Other features implemented include errors and encoding, immutable, and reference checking, while user-defined operators and literals will come in the future.

Read this also;

Expect war of chains & bridges – Avalanche founder

We need a world agreements are mathematically efforced – Sergey Nazarov

0 0 votes
Article Rating
Continue Reading
Advertisement Earnathon.com
Click to comment
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Crypto News Update

Latest Episode on Inside Blockchain

Crypto Street

Advertisement



Trending

ALL Sections

Recent Posts

0
Would love your thoughts, please comment.x
()
x