Блог*
前往频道在 Telegram
Блог со звёздочкой. Много репостов, немножко программирования. Небольшое прикольное комьюнити: @decltype_chat_ptr_t Автор: @insert_reference_here
显示更多1 923
订阅者
-124 小时
无数据7 天
-730 天
帖子存档
1 923
#prog #rust #article
The borrowchecker is what I like the least about Rust
Не со всем согласен, но большинство аргументов здравые.
In this post, I want to make two arguments: 1. That the borrowchecker causes serious ergonomic problems for Rust. 2. That the role of the borrowchecker in Rust's safety is overstated.
Perversely, because Rust's lifetime riddles are challenging, they are sort of fun. I believe that partly explains why so many people don't seem to mind them. Instead of thinking about how to write my code to solve the scientific problems I'm being paid to solve, I have to think about how to write it to please the borrowchecker. The latter is usually more tractable, limited in scope, have clearer requirements and is more 'puzzle-like'. In that sense, Rust enables escapism: When writing Rust, you get to solve lots of 'problems' - not real problems, mind you, but fun problems.
1 923
Repost from Осьмиарх Эльманн Павел II
А можно эти меню как-нибудь разделить? А то что-то ссыкотно входить в место, где написано "удалить аккаунт"
1 923
#prog #article
Jujutsu Megamerges and jj absorb
Или как Jujutsu позволяет работать над несколькими ветками одновременно без перескакивания между ними (технически такое можно и в git, но крайне неудобно)
1 923
#video
Рекурсивный Bad Apple с бесконечным* уровнем вложенности и постоянным зумом на протяжении всей длительности.
youtu.be/hpVxbNHCdP4
*на самом деле три уровня, но с учётом разрешения разница не видна.
1 923
Небольшой #prog текст от Грейдона Хоара (который автор Rust)
losing language features: some stories about disjoint unions
A long time ago I wrote on twitter (now erased): "surprising how much computer stuff makes sense viewed as tragic deprivation of sum types". <...> One of the things he [Casey Muratori] discusses in here is that safe and correctly-designed disjoint unions aren't just an ML thing, they were around in the early 60s at least. <...> But another thing Muratori points out is that is that Dahl and Nygaard copied the feature in safe working form into Simula, and Stroustrup knew about it and intentionally dropped it from C++, thinking it inferior to the encapsulation you get from inheritance.
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
