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

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

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Наверное, первый раз, когда я искренне радуюсь чьему-то раку
👍29👎20🤡10🥴7🤮5💯53🎉2🖕2😢1🌚1
...дел на потом
💯9😁5
Forwarded from Somewhere I Belong
@
Потрогала траву
@
Трава оказалась крапивой
💔11😁4😭1
Forwarded from Doque Embedded
This media is not supported in your browser
VIEW IN TELEGRAM
😁20😭6🥰4🤣2❤‍🔥1🌚1
#prog #rust #serde #article

Be Careful Zero-Copying Strings with serde

TL;DR: из-за того, что строки во многих форматах передачи данных (JSON, например) требуют экранирования специальных символов, строки с подобными символами не могут быть десериализованы в &str (которые указывают на данные из входа). Для того, чтобы поддержать подобные строки, но по мере возможности все же не копировать данные, используйте Cow<str> с атрибутом #[serde(borrow)] на поле.
💯83👌2
— Открыв дверь, вы видите полуорка...
— Правую половину или левую?
— ...
😁23
peak linkedin energy #трудовыебудни
👍9😁8🔥5😢2🌚21🤔1🤣1
#prog #rust

Rust compiler performance survey 2025 results

Помимо того, что вынесено в заголовок — немного о конкретных усилиях для уменьшения времени компиляции.
👍1🤔1
4🥰3🌚1
#prog #article

Visitor as a sum type

In it, you'll see how the Visitor design pattern is equivalent to a sum type.


Примеры приведены на C#, но применимы к любому языку с рантайм-полиморфизмом
1👍1🤔1
🫡

JetBrains sells commercial IDE called GoLand which comes pre-loaded with a plugin which warns the user when they are using:

- “Racially insensitive” language (like “whitelist” or “master”).
- “Male pronouns”.
- Honorifics such as “Mrs”, recommending people use “Mx” instead.


https://x.com/LundukeJournal/status/1964854040212447634
🤡54💩8🤮6😁5👍2😢1🖕1
#rust

crates.io phishing campaign

We received multiple reports of a phishing campaign targeting crates.io users (from the rustfoundation.dev domain name), mentioning a compromise of our infrastructure and asking users to authenticate to limit damage to their crates.

These emails are malicious and come from a domain name not controlled by the Rust Foundation (nor the Rust Project), seemingly with the purpose of stealing your GitHub credentials.

<...>

Do not follow any links in these emails if you receive them, and mark them as phishing with your email provider.
🤯3🤔1
Блог* pinned «#rust crates.io phishing campaign We received multiple reports of a phishing campaign targeting crates.io users (from the rustfoundation.dev domain name), mentioning a compromise of our infrastructure and asking users to authenticate to limit damage to their…»