Обзор кода ripgrep - утилиты, совмещающей функциальность ag и скорость grep http://blog.mbrt.it/2016-12-01-ripgrep-code-review/ #rustycrate #rustlang
Как встроить бэкдор в self-hosted компилятор, чтобы бэкдор вирусно распространялся http://manishearth.github.io/blog/2016/12/02/reflections-on-rusting-trust/ #rustycrate #rustlang
manishearth.github.io
Reflections on Rusting Trust
The Rust compiler is written in Rust. This is overall a pretty common practice in compiler
development. This usually means that the process of building the compiler involves downloading a
(typically …
development. This usually means that the process of building the compiler involves downloading a
(typically …
PR с добавлением поддержки типов i128 и u128. https://github.com/rust-lang/rust/pull/37900 #rustycrate #rustlang
GitHub
i128 and u128 support by est31 · Pull Request #37900 · rust-lang/rust
Adds support for 128-bit integers. Rebased version of #35954 , with additional improvements.
Thanks @nagisa for mentoring this PR!
Some of the problems that were resolved:
Confirm that intrinsic...
Thanks @nagisa for mentoring this PR!
Some of the problems that were resolved:
Confirm that intrinsic...
Начинаем новый проект правильно, используя обработку ошибок через error-chain http://brson.github.io/2016/11/30/starting-with-error-chain #rustycrate #rustlang
Пишем плагины к GStreamer на Rust (часть 2) https://coaxion.net/blog/2016/09/writing-gstreamer-elements-in-rust-part-2-dont-panic-we-have-better-assertions-now-and-other-updates/ #rustycrate #rustlang
Полезные дополнительные команды для cargo - fmt, outdated, clippy https://siciarz.net/24-days-rust-cargo-subcommands/ #rustycrate #rustlang
siciarz.net
24 days of Rust - cargo subcommands | Blog | siciarz.net
Welcome to the second edition of 24 Days of Rust!
Two years ago in December 2014 the
first edition was pretty well
received by the Rust community. That was a hard time - we were still before
the 1.0 release of the language. I had to keep up with updating…
Two years ago in December 2014 the
first edition was pretty well
received by the Rust community. That was a hard time - we were still before
the 1.0 release of the language. I had to keep up with updating…
Теперь вся новая функциональность будет документироваться. В RFC появляется новый раздел https://github.com/rust-lang/rfcs/blob/master/text/1636-document_all_features.md #rustycrate #rustlang
GitHub
rust-lang/rfcs
RFCs for changes to Rust. Contribute to rust-lang/rfcs development by creating an account on GitHub.
Как выглядят люди, которые программируют на разных языках 😃 (включая Rust) http://leftoversalad.com/c/015_programmingpeople/ #rustycrate #rustlang
Черновик политики упаковки компилятора, приложений и библиотек на Rust в пакеты Debian https://internals.rust-lang.org/t/debian-rust-packaging-policy-draft/4453 #rustycrate #rustlang
Rust Internals
Debian Rust Packaging Policy (draft)
The Debian Rust team has the pieces in place to start packaging Rust library crates and applications written in Rust. We have a packaging tool, debcargo, which automatically translates a Cargo crate into a Debian source package; we then have a Debhelper…
Бенчмарки Diesel (Rust ORM) с примерами кода и сравнение с rust-postgres https://hackernoon.com/comparing-diesel-and-rust-postgres-97fd8c656fdd#.cqxwxndkb #rustycrate #rustlang
Hacker Noon
Comparing Diesel and rust-postgres
Following the release of Diesel 0.9.0, I wanted to revisit the performance differences between Diesel and rust-postgres to see if things…
Обсуждение реализации распределённого кэша скомпилированных контейнеров https://github.com/rust-lang/cargo/issues/1997#issuecomment-265859868 #rustycrate #rustlang
GitHub
Distributed crate cache · Issue #1997 · rust-lang/cargo
Large scale build farms (like Gecko's) really need distributed caching of build artifacts ala distcc/ccache. This will eventually be a blocker for continued adoption of Rust in Gecko.
We've talked ...
We've talked ...
Изучаем неспецифицированное поведение Rust: порядок выполнения сброса объектов (drop order) https://aochagavia.github.io/blog/exploring-rusts-unspecified-drop-order/ #rustycrate #rustlang
aochagavia.github.io
Exploring Rust's unspecified drop order
Just another programming blog
Как оттранслировать большой проект на Си в Rust: отчёт о состоянии проекта Corrode http://jamey.thesharps.us/2016/12/how-to-translate-large-c-project-to-rust.html #rustycrate #rustlang
jamey.thesharps.us
How to translate a large C project to Rust
In October, I started working on translating CVS from C toRust,and today I’d like to answer these questions about how that’s going:
Все нестабильные возможности Rust в одном списке https://bot.tinaun.net/rust/featurelist/ #rustycrate #rustlang
Пишем плагины к GStreamer на Rust (часть 3) https://coaxion.net/blog/2016/09/writing-gstreamer-elements-in-rust-part-2-dont-panic-we-have-better-assertions-now-and-other-updates/ #rustlang #rustycrate
Как статически инициализировать ресурсы https://siciarz.net/24-days-rust-static-initialization/ #rustycrate #rustlang
siciarz.net
24 days of Rust - static initialization | Blog | siciarz.net
Static variables are available
throughout the entire life of a program. They are allocated in a block of
memory known at compile time. Due to that, they tend to represent global
state that the program can access.
It's getting especially tricky if one static…
throughout the entire life of a program. They are allocated in a block of
memory known at compile time. Due to that, they tend to represent global
state that the program can access.
It's getting especially tricky if one static…
Вышел rustup 0.7. По плану rustup стабилизируется к выходу 1.14. https://internals.rust-lang.org/t/beta-testing-rustup-rs/3316/198 #rustycrate #rustlang
Rust Internals
Beta testing rustup.rs
While I tend to agree that there would at least be less friction if people just installed it from us, distros are going to package it - it's what they do! So I'm inclined to do what I can to make it a decent experience. It will not. Though I can imagine…
Идиоматичные колбеки на Rust http://stackoverflow.com/questions/41081240/idiomatic-callbacks-in-rust/41081702#41081702 #rustycrate #rustlang
Stack Overflow
Idiomatic callbacks in Rust
In C/C++ I'd normally do callbacks with a plain function pointer, maybe passing a void* userdata parameter too. Something like this:
typedef void (*Callback)();
class Processor
{
public:
void
typedef void (*Callback)();
class Processor
{
public:
void
Как заставить объекты удаляться в определённом порядке (enforcing drop order) https://aochagavia.github.io/blog/enforcing-drop-order-in-rust/ #rustycrate #rustlang
aochagavia.github.io
Enforcing drop order in Rust
Just another programming blog