Блог*
Блог со звёздочкой. Много репостов, немножко программирования. Небольшое прикольное комьюнити: @decltype_chat_ptr_t Автор: @insert_reference_here
Ko'proq ko'rsatish1 435
Obunachilar
+224 soatlar
+27 kunlar
+530 kunlar
Post vaqtlarining boʻlagichi
Ma'lumot yuklanmoqda...
Find out who reads your channel
This graph will show you who besides your subscribers reads your channel and learn about other sources of traffic.Nashrni tahlil qilish
Postlar | Ko'rishlar | Ulashishlar | Ko'rish dinamikasi |
01 Я не люблю 🍆 | 368 | 2 | Loading... |
02 1 июня — день защиты детей.
Защищайтесь | 473 | 4 | Loading... |
03 🚪 | 496 | 2 | Loading... |
04 В СМЫСЛЕ УЖЕ ИЮНЬ | 541 | 2 | Loading... |
05 π | 536 | 2 | Loading... |
06 chad C++ programmer reacting to corner cases | 532 | 11 | Loading... |
07 #prog #rust #article
Send & Mutex
I saw a question on Reddit, that asks: “why T needs to be Send in order to Mutex<T> to be Sync?”. I think that’s a great question, and in here I’ll try my best to shine some light on that.
Автор излагает объяснение, опираясь на неканоничное определение Send:
allows an object to be used by two threads A and B at different times.
, в противовес Sync:
allows an object to to be used by two threads A and B at the same time.
Это позволяет ответить на вопросв начале более простым образом. | 553 | 13 | Loading... |
08 #prog #rust #java #article
How We Migrated Our Static Analyzer From Java To Rust
Меня, правда, смущает, что правила анализа почему-то написаны на JavaScript.
<...>
We observed that the migration tripled our performance and resulted in a tenfold reduction in memory usage, <...>
To our surprise, we gained a firm grasp of the language and a clear idea of how our codebase would be mapped onto Rust within 10 days. <...> Within a month, the entire code analysis infrastructure was migrated from Java to Rust, and all customers were running on the new Rust analyzer.
<...>
Removing our dependency on the JVM and speeding up the analysis enabled us to embed the analyzer directly into the IDE. The very same lightweight and fast analyzer that runs in your CI/CD pipelines simultaneously reports coding errors and suggests fixes in your IDE in real time, <...> | 541 | 8 | Loading... |
09 #prog #rust #rustlib
morph-rs — библиотека для морфологического анализа русского языка.
Осторожно, распространяется под нестандартной лицензией. | 537 | 14 | Loading... |
10 Уже с завтрашнего дня гетерастический мир в очередной раз будет сломлен.
🌈 Gay_Mems | 516 | 7 | Loading... |
11 Media files | 578 | 7 | Loading... |
12 Media files | 623 | 8 | Loading... |
13 Media files | 623 | 12 | Loading... |
14 Media files | 448 | 10 | Loading... |
15 Media files | 665 | 13 | Loading... |
16 Следую совету папищеков | 716 | 2 | Loading... |
17 — Я смотрю, вы сегодня заказываете самые роскошные блюда из нашего меню. Есть какой-то повод?
— Да, я на свидании с лучшим из людей, которых я знаю.
— Но ведь вы сидите один?..
— Вот именно! | 723 | 5 | Loading... |
18 Media files | 693 | 9 | Loading... |
19 #meme про анимэ и тортики | 653 | 2 | Loading... |
20 Media files | 649 | 14 | Loading... |
21 Media files | 618 | 6 | Loading... |
22 #prog #article
A Tale of Two Standards
Статья от 2005 года о плохих и хороших (но в основном плохих) вещах в POSIX и Winapi, вкупе с ретроспективой их развития. | 688 | 23 | Loading... |
23 #prog #article
42.parquet – A Zip Bomb for the Big Data Age
TL;DR: A 42 kB Parquet file can contain over 4 PB of data.
Что интересно, в отличие от зип-бомб, этот вариант кодирования не использует вложенность.
(thanks @nosingularity) | 666 | 15 | Loading... |
24 #prog #article
How short can Git abbreviate?
TL;DR: на репозитории размера ядра Linux необходимо 12 символов, чтобы избежать неоднозначных хешей.
(thanks @ozkriff_games) | 702 | 7 | Loading... |
25 Судя по количеству реакций с бананом, люди хотят, чтобы я ел больше свежих фруктов. Спасибо за совет, папищеки! | 764 | 2 | Loading... |
26 Не ставьте на это сообщение реакцию хотдога, пожалуйста | 783 | 3 | Loading... |
27 Media files | 823 | 15 | Loading... |
28 Ваше политическое кредо? | 694 | 6 | Loading... |
29 Media files | 736 | 8 | Loading... |
30 Подписчик подсказывает, что есть предложение для добавления поддержки больше одной памяти на процесс. Что самое хорошее, из-за дальновидности оригинальной спецификации это даже не требует изменения формата, там и так есть место для индексов памяти. | 697 | 5 | Loading... |
31 #prog #article
In What Sense is WebAssembly Memory Safe?
TL;DR: в WASM защищается только доступ к памяти в целом, memory safety структур данных поверх этой памяти целиком на совести процесса кодировки программы в WASM. | 750 | 12 | Loading... |
32 В Doom надо doomать | 688 | 3 | Loading... |
33 😒🤚 Аренда
😏👉 Arend | 749 | 4 | Loading... |
34 #prog #rust #rustlib
qualifier_attr — procedural macro attributes for adding "qualifiers" to various items.
// We can add a qualifier to a function
// with an attribute.
#[qualifiers(const)]
fn const_fn() -> u32 {
42
}
const CONST_RES: u32 = const_fn();
// It's not so impressive on its own,
// but with `cfg_attr`, it can be conditional.
#[cfg_attr(
feature = "extern_c",
no_mangle,
qualifiers(pub, extern "C")
)]
fn extern_c_fn() -> u32 {
42
} | 782 | 8 | Loading... |
35 Media files | 755 | 8 | Loading... |
36 #web #article
Speeding up this site by 50x
Может пригодится тем, кто, как и автор, использует Octopress.
<...>
I'm not sure what to think about all this. On the one hand, I'm happy that I was able to get a 25x-50x speedup on my site. On the other hand, I associate speedups of that magnitude with porting plain Ruby code to optimized C++, optimized C++ to a GPU, or GPU to quick-and-dirty exploratory ASIC. How is it possible that someone with zero knowledge of web development can get that kind of speedup by watching one presentation and then futzing around for 25 minutes? | 724 | 15 | Loading... |
37 #prog #math #article
How hard can generating 1024-bit primes really be?
Автор последовательно усложняет код, начиная с генерации случайных простых u16 и заканчивая обозначенной в заголовке целью. | 722 | 20 | Loading... |
38 #prog #cpp #rust #article
How to rewrite a C++ codebase successfully (in Rust)
Ценно в том числе примерами реальных багов на границе FFI | 707 | 22 | Loading... |
39 Невероятный #gamedev #meme | 972 | 10 | Loading... |
40 Media files | 703 | 5 | Loading... |
Repost from N/a
Photo unavailableShow in Telegram
chad C++ programmer reacting to corner cases
😁 13🔥 2🥰 1🎉 1
#prog #rust #article
Send & Mutex
I saw a question on Reddit, that asks: “why T needs to be Send in order to Mutex<T> to be Sync?”. I think that’s a great question, and in here I’ll try my best to shine some light on that.
Автор излагает объяснение, опираясь на неканоничное определение
Send
:
allows an object to be used by two threads A and B at different times.
, в противовес Sync
:
allows an object to to be used by two threads A and B at the same time.
Это позволяет ответить на вопросв начале более простым образом.Send & Mutex – Cryptical
Deep dive to Send & Sync using Mutex
👍 2
#prog #rust #java #article
How We Migrated Our Static Analyzer From Java To Rust
Меня, правда, смущает, что правила анализа почему-то написаны на JavaScript.
<...>
We observed that the migration tripled our performance and resulted in a tenfold reduction in memory usage, <...>
To our surprise, we gained a firm grasp of the language and a clear idea of how our codebase would be mapped onto Rust within 10 days. <...> Within a month, the entire code analysis infrastructure was migrated from Java to Rust, and all customers were running on the new Rust analyzer.
<...>
Removing our dependency on the JVM and speeding up the analysis enabled us to embed the analyzer directly into the IDE. The very same lightweight and fast analyzer that runs in your CI/CD pipelines simultaneously reports coding errors and suggests fixes in your IDE in real time, <...>
How We Migrated Our Static Analyzer From Java To Rust | Datadog
Learn how we enhanced our static analyzer by migrating from Java to Rust, tripling performance improvements and a 10x reduction in memory usage.
👍 1❤ 1🤔 1
#prog #rust #rustlib
morph-rs — библиотека для морфологического анализа русского языка.
Осторожно, распространяется под нестандартной лицензией.
GitHub - kribrum-os/morph-rs: Морфология русского языка на Rust.
Морфология русского языка на Rust. Contribute to kribrum-os/morph-rs development by creating an account on GitHub.
❤🔥 6🤔 4
Repost from ❤️ Gay Mems 18 + 💜 Гей мемы
Photo unavailableShow in Telegram
Уже с завтрашнего дня гетерастический мир в очередной раз будет сломлен.
🌈 Gay_Mems
😁 13🤮 10🎉 6💩 3