🦀 Rust concurrency rule of thumb:
• wrap shared state
• centralize locking
• avoid scattered .lock() calls
• never .await while holding a blocking mutex
Most shared mutable state is problems are really API boundary problems.
https://t.co/xYRaAEd24M
#rust#rustlang
🦀 Microsoft just open-sourced a comprehensive Rust training curriculum and it's impressive.
The microsoft/RustTraining repository on GitHub offers 7 structured books covering Rust from beginner to expert level, designed for developers coming from different backgrounds:
🟢 Bridge Books (start here):
• Rust for C/C++ Programmers
• Rust for C# Programmers
• Rust for Python Programmers
🔵 Deep Dive: Async Rust (Tokio, streams, cancellation)
🟡 Advanced: Rust Patterns (Pin, allocators, lock-free structures)
🟣 Expert: Type-Driven Correctness (type-state, phantom types)
🟤 Practices: Rust Engineering (CI/CD, cross-compilation, Miri)
Each book includes 15–16 chapters, Mermaid diagrams, interactive Rust playgrounds, and exercises.
Whether you're a systems programmer migrating from C++, a .NET developer exploring performance-critical code, or a Pythonista tired of the GIL, there's a path for you.
⭐ Already at 500+ stars. Fully open source (MIT + CC-BY-SA-4.0).
��� https://t.co/VrI8IDPqdd
Rust is becoming a serious part of the industry stack. If you've been waiting for a structured way to learn it, this might be it.
#Rust #Programming #OpenSource #Microsoft #SoftwareEngineering #SystemsProgramming #Learning
- Generated code plays nice with each language: async/await in Swift, coroutines in Kotlin, Promises in TS.
- Full support for mobile and web now, with Python, C#, and Ruby in the pipeline.
Check it out on GitHub at https://t.co/xRikeb2dSv.
datafuselabs / databend: 𝗗𝗮𝘁𝗮, 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://t.co/ZXuyjzShRq ★7160 https://t.co/hTuw9DglaP
Chúng ta nghĩ về Defi mùa tới, khi mà ETH chuyển sang Pos với phần earn 4%/năm và tạo ra trào lưu Lido với sản phẩm stETH.
Bước 1: Gửi tiết kiệm bằng ETH vào Lido lấy lãi 3.6% và nhận được chứng chỉ tiền gửi là stETH. Lido sẽ mang số ETH đó cắm validator 32ETH 1 cục lấy lãi 3.9%. Sẽ có LidoA, lidoB, lidoC,... để tạo ra giấy tờ có giá saETH, sbETH, scETH
Bước 2: Cầm giấy tờ có giá là stETH, sbETH, scETH,... đi gửi tiết kiệm tiếp (re-stake) để ăn lãi. Đơn vị trả lãi họ sẽ trả lại tiếp cái chứng chỉ tiền gửi là stETHx, sbETHx, scETHx,...Nguồn tiền để trả lãi là từ việc họ cho vay (giống ngân hàng ấy), có thể cho sàn vay (bổ sung thanh khoản), cho vay token, cho vay NFT,....
Bước 3: Cái giấy tờ có giá stETHx, sbETHx, scETHx,... lại mang đi gửi tiết kiệm được nữa (re-re-stake). Đơn vị trả lãi họ sẽ trả tiếp cái chứng chỉ tiền gửi là stETHxy, sbETHxy, scETHxy,...Nguồn tiền để trả lãi là từ việc họ cho vay (giống ngân hàng ấy), có thể cho sàn vay (bổ sung thanh khoản), cho vay token, cho vay NFT,....
Bước 4,5,6,7....
=> Vấn đề sẽ chẳng có gì xảy ra nếu các bước kia ko bị hack, những nguồn trả lãi không bị gãy, các nền tảng re-stake không bị lợi dụng, user ko rút tiền ào ào khiến các nền tảng trở tay ko kịp.
*/ Tổng kết:
- 1ETH vẫn là 1ETH
- 1ETH được đẩy TVL lên nhiều lần.
- Các sàn, cặp LP, stablecoin, token có thể dùng phái sinh của ETH để sinh ra hoặc tạo thành giá trị.
- Các cổ phiếu ngân hàng (re-stake) tăng vọt.
- Các founder tự nhiên lại giàu vì họ biến thành chủ ngân hàng và cầm ETH của người khác tự do thích cho ai vay thì cho, thậm chí tự cho vay nhóm cổ phiếu của mình với định giá cao.
- Vitalik với việc chuyển sang POS ETH sẽ bị ae bảo là "người sáng tạo ra quả bom ponzi"
spacedriveapp / spacedrive: Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust. ★21289 https://t.co/88OiVnvsVz
@carlmoon US dollar or any Fiat has never been a store of value. Fiat was designed to have unlimited supply, meaning it's supposed to lose value over the years. If your wealth is in any Fiat you're getting poorer by the day without even knowing it's. Buy a limited asset like Bitcoin.