- 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.
hace 6 d
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!
23,58 mil
166
El contenido de esta página lo proporcionan terceros. A menos que se indique lo contrario, OKX no es el autor de los artículos citados y no reclama ningún derecho de autor sobre los materiales. El contenido se proporciona únicamente con fines informativos y no representa las opiniones de OKX. No pretende ser un respaldo de ningún tipo y no debe ser considerado como un consejo de inversión o una solicitud para comprar o vender activos digitales. En la medida en que la IA generativa se utiliza para proporcionar resúmenes u otra información, dicho contenido generado por IA puede ser inexacto o incoherente. Lee el artículo vinculado para obtener más detalles e información. OKX no es responsable del contenido alojado en sitios de terceros. El holding de activos digitales, incluyendo stablecoins y NFT, implican un alto grado de riesgo y pueden fluctuar en gran medida. Debes considerar cuidadosamente si el trading o holding de activos digitales es adecuado para ti a la luz de tu situación financiera.