#prog #go #video
GopherCon 2020: Dan Scales - Implementing Faster Defers
Или о том, как в Go 1.14 переписали реализацию defer так, чтобы в наиболее частых случаях вызов defer был сопоставим по стоимости с обычным вызовом функции.
GopherCon 2020: Dan Scales - Implementing Faster Defers
Или о том, как в Go 1.14 переписали реализацию defer так, чтобы в наиболее частых случаях вызов defer был сопоставим по стоимости с обычным вызовом функции.
YouTube
GopherCon 2020: Dan Scales - Implementing Faster Defers
In this presentation, Dan will talk about the Go defer statement in general and do a comparison with related features in other programming languages. He will describe the current implementation of defer (including processing during panic calls). Dan will…
Forwarded from я что-то �� и всё ����
🔁 niconiconi
Q: How many hardware engineers does it take to change a lightbulb?
A: None. We'll fix it in software.
Q: How many system programmers does it take to change a light bulb?
A: None. The application can work around it.
Q: How many software engineers does it take to change a lightbulb?
A: None. We'll document it in the manual.
Q: How many tech writers does it take to change a lightbulb?
A: None. The user can figure it out.
Q: How many users does it take to change a lightbulb?
A: None. The user has insufficient privileges to perform this operation.
Q: How many hardware engineers does it take to change a lightbulb?
A: None. We'll fix it in software.
Q: How many system programmers does it take to change a light bulb?
A: None. The application can work around it.
Q: How many software engineers does it take to change a lightbulb?
A: None. We'll document it in the manual.
Q: How many tech writers does it take to change a lightbulb?
A: None. The user can figure it out.
Q: How many users does it take to change a lightbulb?
A: None. The user has insufficient privileges to perform this operation.
👍13😁6❤3👏1
#prog #article
Децентрализованный поиск для свободного веба
Возможно ли создать поисковую систему, которую на практике нельзя подвергнуть цензуре, влиянию и блокировке?
Говоря техническим языком, возможно ли выполнять полнотекстовый поиск не имея удаленного сервера, удобным для пользователя способом, одновременно храня поисковый индекс в peer-to-peer системе и имея возможность быстро обновлять поисковый индекс?
Да, это возможно!
Децентрализованный поиск для свободного веба
Возможно ли создать поисковую систему, которую на практике нельзя подвергнуть цензуре, влиянию и блокировке?
Говоря техническим языком, возможно ли выполнять полнотекстовый поиск не имея удаленного сервера, удобным для пользователя способом, одновременно храня поисковый индекс в peer-to-peer системе и имея возможность быстро обновлять поисковый индекс?
Да, это возможно!
Хабр
Децентрализованный поиск для свободного веба
Возможно ли создать поисковую систему, которую на практике нельзя подвергнуть цензуре, влиянию и блокировке? Говоря техническим языком, возможно ли выполнять полнотекстовый поиск не имея удаленного...
❤1👍1
Forwarded from Антон
У каждого уважающего себя успешного уверенного мужчины в кровати должны быть минимум две плюшевые игрушки
👍33👎5
#prog #rust #rustlib
Seaography is a GraphQL framework for building GraphQL resolvers using SeaORM entities. It ships with a CLI tool that can generate ready-to-compile Rust GraphQL servers from existing MySQL, Postgres and SQLite databases.
github.com/SeaQL/seaography
Seaography is a GraphQL framework for building GraphQL resolvers using SeaORM entities. It ships with a CLI tool that can generate ready-to-compile Rust GraphQL servers from existing MySQL, Postgres and SQLite databases.
github.com/SeaQL/seaography
GitHub
GitHub - SeaQL/seaography: 🧭 GraphQL framework for SeaORM
🧭 GraphQL framework for SeaORM. Contribute to SeaQL/seaography development by creating an account on GitHub.
#prog #rust #article
> One other benefit that I did not realize in the beginning is onboarding new people is much easier because the new person is free to play with the with the code base, to try to improve it, change or refactor it, and the compiler is not going to compile until all the invariants are upheld again. This means that you can refactor without any fear and that new people can start writing code without being minutely reviewed, because you know there are so many unwritten invariants that only a few people know about. And I’m quite confident that this will also result in fewer warranty issues over time because you get higher quality up front.
medium.com/volvo-cars-engineering/why-volvo-thinks-you-should-have-rust-in-your-car-4320bd639e09
> One other benefit that I did not realize in the beginning is onboarding new people is much easier because the new person is free to play with the with the code base, to try to improve it, change or refactor it, and the compiler is not going to compile until all the invariants are upheld again. This means that you can refactor without any fear and that new people can start writing code without being minutely reviewed, because you know there are so many unwritten invariants that only a few people know about. And I’m quite confident that this will also result in fewer warranty issues over time because you get higher quality up front.
medium.com/volvo-cars-engineering/why-volvo-thinks-you-should-have-rust-in-your-car-4320bd639e09
Medium
Why Volvo thinks you should have Rust in your car
An interview where we talk about how we use embedded Rust in our coming car projects.
👍3🤔1
#prog #rust #rustlib #article
Move Constructors in Rust: Is it possible?
TL;DR You can move-constructors the Rust! It requires a few macros but isn’t much more outlandish than the
---
Move Constructors Revisited
Или как убрать UB, связанное с требованиями
Move Constructors in Rust: Is it possible?
TL;DR You can move-constructors the Rust! It requires a few macros but isn’t much more outlandish than the
async
pinning state of the art. A prototype of this idea is implemented in my moveit crate.---
Move Constructors Revisited
Или как убрать UB, связанное с требованиями
Pin
.
Блог*
#prog #rust Полку const-инициализируемых коллекций прибыло. github.com/rust-lang/rust/pull/102197
> полку <...> прибыло
Кажется, моё подсознание хочет мне что-то сказать
Кажется, моё подсознание хочет мне что-то сказать
😁4😱3😢1
Forwarded from Сельский блог 🍁
This media is not supported in your browser
VIEW IN TELEGRAM
Как он мило потянулся своими лапками 🥺
😍8😱3🥰2❤1👍1🔥1🤩1