Блог*
Open in Telegram
Блог со звёздочкой. Много репостов, немножко программирования. Небольшое прикольное комьюнити: @decltype_chat_ptr_t Автор: @insert_reference_here
Show more1 925
Subscribers
No data24 hours
+27 days
+130 days
Posts Archive
1 925
Repost from N/a
Добро пожаловать в проклятый мир, который сами и создали.
Теперь проектам, которые написаны не на Rust нужно оправдываться, причём даже до того как выйдет их первая публичная версия
1 925
Repost from ozkriff.games 🦀
# cargo-deny
For those of you that may not be aware yet: cargo-deny has built-in support for detecting multiple versions of the same dependency. And it also can ban specific dependencies, discover vulnerabilities, do a license checkup, etc. It even has a ready Github Action, so please consider using it.
1 925
#prog #rust #puzzle
Дано:
let s = "\\\\";
assert_eq!(s.len(), 4);
Добавьте один символ так, чтобы ассерт не паниковал.1 925
Repost from Сова пишет…
А что в это время делает корпорация зла?
https://garrit.xyz/posts/2022-11-24-smart-move-google
1 925
#prog #rust #article
Safely writing code that isn't thread-safe
One of the nice things about the Rust programming language is that it makes it easier to write correct concurrent (e.g. threaded) programs – to the degree that Rust’s slogan has been, at times, “fearless concurrency.”
But I’d like to tell you about the other side of Rust, which I think is under-appreciated. Rust enables you to write programs that are not concurrent. This feature is missing from most other languages, and is a source of much complexity and bugs.
“But wait,” you might be saying, “of course I can write code that isn’t concurrent in Java or Python or C!”
Can you, though? You can certainly write code that ignores concurrency, and would malfunction if (say) used from multiple threads simultaneously. But that’s not the same thing as writing code that isn’t concurrent – code that simply can’t be used concurrently, by compiler guarantee.
In Rust, you can. Let’s look at why you can do it, and why it’s awesome.
1 925
Repost from N/a
«Яндекс» запустил мобильную игру «Плюс Сити», в которой нужно развивать виртуальный город С̶̓Л̸̛Ӯ̴Ж̴̄И̵̾Т̷̌Ь̴̆С̶̓Л̸̛Ӯ̴Ж̴̄И̵̾Т̷̌Ь̴̆С̶̓Л̸̛Ӯ̴Ж̴̄И̵̾Т̷̌Ь̴̆, а заработанные баллы можно потратить внутри сервисов Я̸͘Н̸̉Д̷͐Е̴͐ ͑̚Ќ̷С̵̇
Город можно наполнять Я̶͑ ̶͝Р̸̑А̵̀Б̷͒ ̴̌Я̵̏Н̴̎Д̶͝Е̴͠К̸̕С̶̄А̶̔, персонажами и объектами, параллельно играя в мини-игры М̷̑О̸͝Я̷̉ ̴̂Ж̷͗И̸͐З̷̄Н̶̂Ь̸͛ ̶̈́П̵̄Р̷̓Й̷Н̸̚ ͉̀А̸̌Д̵͛Л̴̏Ѐ̶Ж̷̎Ѝ̷Т̷̐ ̛̓ ̷͘ ̈́̃Я̶̅Н̶ ̦̘Д̷͊ ̮̖Е̷͒К̷͝ ̙͔С̷̐У̷͊ ̀̚ ͕̞ и выполняя задания. В городе будут встречаться известные герои фильмов, музыканты и блогеры.
О̴̀Н̸ ̩̞ ̷́И̷̅ ̭̫Д̷͑Е̴͒ ́̇ ̲̑Т̸͂ ̵̈́З̷̓А̸͝ ̴͗Н̵ ̇̕А̷́М̵̋И̵̃
Игра бесплатная, Я̷͘Н̴͗Д̵̐Е̸͊К̸̽С̶̀ Я̷͘Н̴͗Д̵̐Е̸͊К̸̽С̶̀ Я̷͘Н̴͗Д̵̐Е̸͊К̸̽С̶̀ она доступна на iOS и Android. Г̴͌ ̀͝О̵̇ ̔͂С̸̾ ͙ͅП̷̈́О̸͆ ̆̋ ̤̖Д̵̍ ̢͇ ̧̫Ӥ̶́ ̸̏С̸́ ̼͎П̸̍ ͈͖А̴͂С̷͊И̵͠ ̷̀ ̉̉ ͋̑ ̮͜М̷ ̓̈́ ̋̚ ͊̄Е̸̏ ͛̏ Н̴͠Я̸̈ ̍͛ Построить виртуальный город О̵̓Н̴́О̷̌ ̍͆ ̽̈́ ̸̓ ̡͜З̵͘Д̵͛ ͇̲Е̶́ ̨͇С̵̎ ̅͂Ь̶͝ ̹͉ О̵̓Н̴́О̷̌ ̍͆ ̽̈́ ̸̓ ̡͜З̵͘Д̵͛ ͇̲Е̶́ ̨͇С̵̎ ̅͂Ь̶͝ ̹͉О̵̓Н̴́О̷̌ ̍͆ ̽̈́ ̸̓ ̡͜З̵͘Д̵͛ ͇̲Е̶́ ̨͇С̵̎ ̅͂Ь̶͝ ̹͉
С̶̌ ̂͊П̶̅А̵͋С̵̕И̸́Т̷̕ ̄͒ ̈́̇ ͜Е̴̍ ̷̛ ͔̘М̷͝О̸̓ ̪̼Ю̴̎ ́̕ ̙ ̷͆Г̴ ͂͗ ̈̃Р̴̆ ͎̪Е̸͑Ш̸͂Н̵̄ ̌̋У̴̏Ю̸̈́ ̡̱ ̸̏ ͕͖ ̪͈Д̶͠ ̽̑ ̛́У̶̀Ш̴̉У̶̅ ͂̚
С̷̓ Л̸̛У̴͠Ж̷̏И̶̎Т̸ ̼Ь̷͋ ̶͝С̶̈Л̸͊ ͈У̵͒Ж̵̌И̴̕Т̸͊ ̘Ь̷͂ ̴̅Я̶̒Н̸̅Д̵̎Е̶̃К̴̋С̸̛ ̵͋С̷̈́Л̷͐ ͎У̵̑Ж̴̐И̵͌Т̵̈́Ь̸̚ ̸̀Р̵̉Ӓ̵Б̶́ ̵͘Я̵̾Н̵̇Д̶̇Е̷͊К̸͌С̵͌А̶̎ ̶̓Б̵̅А̴͝Л̵̑Л̴͠Ӹ̷ ̶͝Я̸̎Н̸ ͙͖Д̸̈́Е̵͠К̷̈́С̸̓ ̶͗П̷͐Л̷̎Ю̸͝С̵̾ ̷͗Г̴͗О̶̉Р̷̑О̶͌Д̶̾ ̴͌С̴͂ ̬͚Л̵̓Ӳ̵Ж̸͗ ̧Б̶̂А̷̽ ̬ ̷̓Я̸ ͓͍Н̴ ̞̗Д̶͛Е̷͝К̸͝С̶̒ ̴̈Ж̴̔И̷͗З̸̑Н̸̈́ Ь̸̕ ̶̄П̶̈Р̵͐Е̵ ̹̍Н̴̕А̷̽Д̸̈́ Л̴̽Е̷̔Ж̶͊А̷̽Т̴̈Ь̸̅ ̷̅Р̶͂А̷͆Б̴͊С̷̅Т̴͂В̵̾О̸͐
Available now! Telegram Research 2025 — the year's key insights 
