1.83K subscribers
3.3K photos
131 videos
15 files
3.57K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
#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
#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
👍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 async pinning state of the art. A prototype of this idea is implemented in my moveit crate.

---

Move Constructors Revisited

Или как убрать UB, связанное с требованиями Pin.
Forwarded from 4chan
8👏2🤡1
Блог*
#prog #rust Полку const-инициализируемых коллекций прибыло. github.com/rust-lang/rust/pull/102197
> полку <...> прибыло

Кажется, моё подсознание хочет мне что-то сказать
😁4😱3😢1
😁18👍1👎1
This media is not supported in your browser
VIEW IN TELEGRAM
Как он мило потянулся своими лапками 🥺
😍8😱3🥰21👍1🔥1🤩1
Forwarded from Neural Machine
Такое чувство, что я устал давиться слезами
😢15😁1
В СМЫСЛЕ УЖЕ ОКТЯБРЬ
Открытка @gayfromprovinces
👍14😁9👎21🤩1
Я — взрослый, самостоятельный мужчина. Именно поэтому я купил себе сладостей на две тысячи
🥰22👍3🔥1
#prog #c #cpp #article

The Usual Arithmetic Confusions

There are a lot of aspects of C++ that are not well understood and lead to all sorts of confusion. The usual arithmetic conversions and the integral promotions are two such aspects. Certain binary operators (arithmetic, relational and spaceship) require their operands to have a common type. The usual arithmetic conversions are the set of steps that gets operands to a common type. While the integral promotions brings integral types smaller than int and unsigned int to either int or unsigned int depending on which one can represent all the values of the source type. This is one of the areas in C++ that comes directly from C, so pretty much all of these examples applies to C as well as C++.

We will see some examples with results that many may find surprising. After seeing some of these cases we will discuss the rules and how they explain each case. While covering each rule we will present examples to clarify the rule.
👍4
👎1😁1
а вафель тем временем преодолел отметку в 100 rust-lang/rust PR'ов 🦀🦀🦀
🔥22