#prog #article
A Tale of Two Standards
Статья от 2005 года о плохих и хороших (но в основном плохих) вещах в POSIX и Winapi, вкупе с ретроспективой их развития.
A Tale of Two Standards
Статья от 2005 года о плохих и хороших (но в основном плохих) вещах в POSIX и Winapi, вкупе с ретроспективой их развития.
www.samba.org
The Low Point -- Jeremy Allison Column Archive
archived copies of samba team member jeremy allison's column the low point
👍6❤🔥2
— Я смотрю, вы сегодня заказываете самые роскошные блюда из нашего меню. Есть какой-то повод?
— Да, я на свидании с лучшим из людей, которых я знаю.
— Но ведь вы сидите один?..
— Вот именно!
— Да, я на свидании с лучшим из людей, которых я знаю.
— Но ведь вы сидите один?..
— Вот именно!
👏12
Блог*
Судя по количеству реакций с бананом, люди хотят, чтобы я ел больше свежих фруктов. Спасибо за совет, папищеки!
Следую совету папищеков
🍌29🤮7🤡3❤1💩1
Forwarded from 💞Gay Mems🔥 | Гей мемы 💪
Please open Telegram to view this post
VIEW IN TELEGRAM
😁14🤮12🎉6💩3
#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
Меня, правда, смущает, что правила анализа почему-то написаны на 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, <...>
❤1👍1🤔1🌚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.
Автор излагает объяснение, опираясь на неканоничное определение
allows an object to be used by two threads A and B at different times.
, в противовес
allows an object to to be used by two threads A and B at the same time.
Это позволяет ответить на вопрос в начале более простым образом.
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.
Это позволяет ответить на вопрос в начале более простым образом.
👍2❤1