#prog #article
My Thoughts on the Bun Rust Rewrite (от Andrew Kelly, создателя Zig)
TL;DR:
Технические замечания, впрочем, тоже есть.
My Thoughts on the Bun Rust Rewrite (от Andrew Kelly, создателя Zig)
TL;DR:
The main issue here had nothing to do with the language features of Zig vs Rust, and everything to do with the diverging value systems of the two projects [Bun и Zig] and the relationship breakdown that followed.
Технические замечания, впрочем, тоже есть.
🤔1🤷1
#prog #rust #article
Query cycles: A compiler murder mystery
Или как сделать баг настолько мощный, что отваливаются отладочные инструменты.
Query cycles: A compiler murder mystery
Или как сделать баг настолько мощный, что отваливаются отладочные инструменты.
🤔4❤🔥3
Блог*
Polished technical products no longer indicate effort and understanding.
#prog #zig #ml #article
Собственно, именно по этой причине в Zig запретили использование LLM вообще.
Contributor Poker and Zig's AI Ban
TL;DR: Zig foundation заинтересованы в том, чтобы контрибуторы вовлекались в сообщество и набирались экспертизы, а использование LLM очень часто на практике означает отсутствие желания разбираться и оставаться с сообществом.
Собственно, именно по этой причине в Zig запретили использование LLM вообще.
Contributor Poker and Zig's AI Ban
TL;DR: Zig foundation заинтересованы в том, чтобы контрибуторы вовлекались в сообщество и набирались экспертизы, а использование LLM очень часто на практике означает отсутствие желания разбираться и оставаться с сообществом.
kristoff.it
Contributor Poker and Zig's AI Ban
You should always change doors when playing Monty Hall
👍19❤1🖕1
#article
Some thoughts on writing (от Dan Luu)
Как это часто у Dan Luu бывает, у эссе несколько дополнений, некоторые из которых с основной темой связаны несколько косвенно.
Some thoughts on writing (от Dan Luu)
I see a lot of essays framed as writing advice which are actually thinly veiled descriptions of how someone writes that basically say "you should write how I write" <...>
<...> if you're trying to figure out what stylistic choices are right for you, you should start from your goals and what you're good at and go from there, not listen to somebody who's going to tell you to write like them. Besides being unlikely to work for you even if someone is able to describe what makes their writing tick, most advice is written by people who don't understand how their writing works.
Как это часто у Dan Luu бывает, у эссе несколько дополнений, некоторые из которых с основной темой связаны несколько косвенно.
❤8
Блог*
#prog #rust #article Rust threads on the GPU
#prog #rust #article
Rust SIMD on the GPU
Код на Rust, использующий
К сожалению, на текущий момент применимость этого подхода несколько ограничена, поскольку
Rust SIMD on the GPU
Код на Rust, использующий
core::simd, может быть использован на GPU без изменений на уровне исходников!К сожалению, на текущий момент применимость этого подхода несколько ограничена, поскольку
core::simd всё ещё закрыта за фичей portable_simd, и авторам пришлось внести изменения в компилятор для устранения оверхеда.Vectorware
Rust SIMD on the GPU
GPU code can now use Rust's portable SIMD. We share the implementation approach and what this unlocks for GPU programming.
🔥5👍3❤2
#prog #rust #article
Downcasting Arcs in Rust
...И о том, как можно (небезопасно) сделать это настолько дешёвым, насколько возможно
Downcasting Arcs in Rust
...И о том, как можно (небезопасно) сделать это настолько дешёвым, насколько возможно
👍1🤔1
#prog #rust #article
Protecting the Rust standard library from accidental breakage
Protecting the Rust standard library from accidental breakage
Accidental breakage can happen in any codebase. The Rust standard library isn't magically exempt from this — so it too now uses cargo-semver-checks to prevent accidental breakage. Here's why this took months of work by multiple Rustaceans, dozens of pull requests, and 15,000+ lines of code across the Rust repo, cargo-semver-checks, and its component libraries.
😁5🤔2👍1