منذ 2 يومَين
- 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!
‏‎23.59 ألف‏
‏‎166‏
المحتوى الوارد في هذه الصفحة مُقدَّم من أطراف ثالثة. وما لم يُذكَر خلاف ذلك، فإن OKX ليست مُؤلِّفة المقالة (المقالات) المذكورة ولا تُطالِب بأي حقوق نشر وتأليف للمواد. المحتوى مٌقدَّم لأغراض إعلامية ولا يُمثِّل آراء OKX، وليس الغرض منه أن يكون تأييدًا من أي نوع، ولا يجب اعتباره مشورة استثمارية أو التماسًا لشراء الأصول الرقمية أو بيعها. إلى الحد الذي يُستخدَم فيه الذكاء الاصطناعي التوليدي لتقديم مُلخصَّات أو معلومات أخرى، قد يكون هذا المحتوى الناتج عن الذكاء الاصطناعي غير دقيق أو غير مُتسِق. من فضلك اقرأ المقالة ذات الصِلة بهذا الشأن لمزيدٍ من التفاصيل والمعلومات. OKX ليست مسؤولة عن المحتوى الوارد في مواقع الأطراف الثالثة. والاحتفاظ بالأصول الرقمية، بما في ذلك العملات المستقرة ورموز NFT، فيه درجة عالية من المخاطر وهو عُرضة للتقلُّب الشديد. وعليك التفكير جيِّدًا فيما إذا كان تداوُل الأصول الرقمية أو الاحتفاظ بها مناسبًا لك في ظل ظروفك المالية.