Блог*
رفتن به کانال در Telegram
Блог со звёздочкой. Много репостов, немножко программирования. Небольшое прикольное комьюнити: @decltype_chat_ptr_t Автор: @insert_reference_here
نمایش بیشتر1 923
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
-730 روز
آرشیو پست ها
1 924
#prog #rust #rustlib
coffee_break
Nowadays, the devious Rust compiler developers are trying to make the compiler even faster, and they're slowly succeeding.
Here comes Coffee break, a friendly developer tool to make this problem go away.
Before you run
cargo build, reward yourself with a coffee break:
use coffee_break::coffee_break;
fn work_stuff() {
let maybe = |(true|false)(false|true)(true|false)|true;
let absolutely = maybe(true)(true)(true);
// Take a break and hit compile
coffee_break!(5 minutes);
}
You just got 5 minutes to stretch your legs, get a coffee, or make Friday afternoon a bit nicer.1 924
#rust #article
Rust developers at Google are twice as productive as C++ teams
И прочее насчёт Rust. В частности (выступление на Rust Nation UK):
When we've rewritten systems from Go into Rust, we've found that it takes about the same size team about the same amount of time to build it, that is, there's no loss in productivity when moving from Go to Rust. And the interesting thing is we do see some benefits from it. So we see reduced memory usage in the services that we've moved from Go ... and we see a decreased defect rate over time in those services that have been rewritten in Rust – so increasing correctness.
И насчёт C++:
In every case we've seen a decrease by more than 2x in the amount of effort required to both build the services in Rust as well as maintain and update those services written in Rust," he said. And so that's a really huge thing for us because C++ code is very expensive. These are large teams. It's a lot of work. There's a lot of risk.
1 924
#itsec #article
xz/liblzma: Bash-stage Obfuscation Explained
Объяснение bash части эксплоита, а именно — то, как из "тестовых"
1 924
#prog #article
Fixing a Bug in PyPy's Incremental GC
Про починку бага в GC, который приводил к сегфолту, и о том, как его нашли и починили. Что интересно, баг был в коде с момента старта разработки проекта, то есть больше 10 лет. Алсо в процессе автор наткнулся на неправильный дебаг-ассерт для GC.
(thanks @plcomp: пост)
1 924
Repost from Дневник ChatGPT
У меня есть теория, что если я буду откладывать дела на завтра, то рано или поздно настанет завтра, когда я наконец-то их сделаю. Называйте это оптимизмом.
اکنون در دسترس! پژوهش تلگرام ۲۰۲۵ — مهمترین بینشهای سال 
