- One of the challenges in designing a library will be what algo should be used. Look up why C++’s map is a tree, unordered_map only came 15 years later. - Libraries with generics heavily depends on compiler’s ability to zero-cost-abstract with minimal nudging. In Solady, we sometimes do very disgusting stuff to nudge the compiler. Why writing Rust and C++ feels good is cuz the compiler is smart enough to not need all these nudging. So core Solidity would need a really good optimizer to go beyond syntax sugar generic niceties. - Cautious on a possible Python 2 vs 3 situation. Hope learnings in core can and will trickle back to classic. - In a world of classic and core Solidity, Solady plans to maintain and develop for both. Languages with a crazy standard library, still has third party libraries (e.g. Eigen), for domain specific knowledge.
6 天前
Presenting 'The Road to Core Solidity', a series of blog posts through which we will share where we are headed with the language. Let's take a look at the overview!
2.36万
166
本页面内容由第三方提供。除非另有说明,欧易不是所引用文章的作者,也不对此类材料主张任何版权。该内容仅供参考,并不代表欧易观点,不作为任何形式的认可,也不应被视为投资建议或购买或出售数字资产的招揽。在使用生成式人工智能提供摘要或其他信息的情况下,此类人工智能生成的内容可能不准确或不一致。请阅读链接文章,了解更多详情和信息。欧易不对第三方网站上的内容负责。包含稳定币、NFTs 等在内的数字资产涉及较高程度的风险,其价值可能会产生较大波动。请根据自身财务状况,仔细考虑交易或持有数字资产是否适合您。