1.83K subscribers
3.29K photos
130 videos
15 files
3.56K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Иллюстрирую традиционные ценности

https://twitter.com/kirusha_kras/status/1700882669754626261/photo/1
💩9😁7👍4🤔2🥴2😢1🤡1
🤡1
Forwarded from Generative Anton
Шмели могут засыпать внутри цветка, если очень сильно устали в течении дня 💔💔💔
🥰286💔4🤡1
#prog #cpp #article

My Dream C++ Additions

Ожидаемо для этого автора, почти все фичи взяты из Rust. Хотя:

> Explicit self reference instead of implicit this pointer

> Of course, this looks rather similar to Rust’s syntax, but believe it or not, I had this idea long before I learned that Rust does self in this way.
🤡42❤‍🔥1👏1
Блог*
#prog #cpp #article My Dream C++ Additions Ожидаемо для этого автора, почти все фичи взяты из Rust. Хотя: > Explicit self reference instead of implicit this pointer > Of course, this looks rather similar to Rust’s syntax, but believe it or not, I had this…
C++ Papercuts

(написано до "My Dream C++ Additions")

My current day job is now again a C++ role. And so, I find myself again focusing in this blog post on the downsides of C++.

Overall, I have found returning to active C++ dev to be exactly what I expected: I still have the skills, and can still be effective in it, but now that I have worked in a more modern programming language with less legacy cruft, the downsides of C++ sting more.
<...>

In this blog post, I will focus on the minor problems of C++ that have affected me the most, the little usability papercuts, the petty inconveniences that just waste time. Instead of focusing on comparing them to Rust or other programming languages, I will focus on why they don’t make sense from a C++ point of view, with reference to just C++. <...>

While I am proud of my C++ skills, I am not too proud to appreciate that better technology can render them partially obsolete. I am not too proud to appreciate having features that make it easier. In most cases, it’s not a matter of the programming language doing more work for me, but of C++ creating unnecessary extra make-work, often due to decisions that made sense when they were made, but have long since stopped making sense – don’t get me started on header files!
👍4🤡2
#prog #rust #article

Давно хотел опубликовать, но что-то руки не доходили.

Walk-Through: Prefix Ranges in Rust, a Surprisingly Deep Dive

Или как сделать из BTreeMap подобие префиксного дерева через инкрементирование строки в системе счисления по основанию char.
🤡1
I suck
🍌17🤡4
Религиозный торговый центр "Бого-молл"
🥴9🤡3🤣3🙏1
#meme про технарей и гуманитериев
например
😁31🥴21
"У тебя голова в правильную сторону растёт"
🤔4
#meme для украинскоговорящей части моей аудитории (такая у меня совершенно точно есть)
8🤮8
Forwarded from ТГ Шевченка
6🤡4
Блог*
#prog #rust Хозяйке на заметку Если вы пишите в своём коде определения, которые должны быть доступны в модулях выше, но не в публичном интерфейсе — пишите на самих определениях и на полях pub(crate). В этом случае компилятор не будет предполагать, что к…
Но проблема у этого подхода тоже есть: в силу того, как сделан cargo test, интеграционные тесты сделаны, как отдельные крейты, которые используют тестируемый как зависимость. Так что или вы не сможете получить доступ к этим полям из тестов (а также бенчмарков), или вам придётся делать поля pub и терять диагностику, если эти поля только в тестах и используются. А навесить #[cfg] отдельно на видимость нельзя
🤡1
Если я поздно встаю — это значит, что я ударился головой об угол подушки
5👍2💩1
Люди должны держаться друг за друга
4💩2
Блог*
Люди должны держаться друг за друга
...Примерно вот так
❤‍🔥14🤮6🤡6
Forwarded from shitposting 3.0 [+ dragons]
🤯352👍1😁1