気づいたらRustだらけ

Share

Protonのブログを見ていたら、「Proton AuthenticatorをRustで作ったよ」なんて記事があったのでびっくり。

How Rust powers Proton Authenticator | Proton
To build a secure 2FA app for all major devices, Proton turned to Rust. Carlos Quintana explains why we chose Rust and why we’ll likely use it more in the future.

最近はRustがいろいろな場所で使われているのを見るね。

最近Pythonを使う機会があったのだけれど、uvっていうパッケージマネージャもRustで作られてたわ。

uv
uv is an extremely fast Python package and project manager, written in Rust.

しかも、動作が超速いし、なんかめっちゃ使いやすくて、「難しいことわかんないけどスゲー」ってなった。

Web系でRustの話題はよく見るよね。

Volta - The Hassle-Free JavaScript Tool Manager
Volta: Start your engines.
Rust-based platform for the Web
Turbopack | Next.js 日本語ドキュメント
Turbopackは、RustでJavaScriptとTypeScript向けに最適化された増分バンドラーで、Next.jsに組み込まれています。
Biome
フォーマット、リントなどが一瞬で完了します!
Tauri 2.0
The cross-platform app building toolkit

CLI系のツールなんか、ほんとうに最高ですよね~。

Rust で実装された OSS の CLI ツールたちを見てみよう - dotTrail
Rust は CLI ツールの実装というユースケースでも使用されるプログラミング言語の 1 つです。cat の代替コマンドである bat や grep の代替コマンドで高速な ripgrep など、Rust で実装された OSS の CLI ツールたちを見てみましょう!

イケイケなターミナル環境とか一時期こだわってました。

The Agentic Development Environment
Warp is an AI agent platform that lets you run multiple agents in parallel to complete any development task.
Alacritty - A cross-platform, OpenGL terminal emulator
Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance.
Starship: Cross-Shell Prompt
Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and Powershell.

最近はJavaにはまってるんだけれど、Rust、いつか極めたいなあ。

Read more

Dependabotの対応が面倒なのでRenovateを導入する

Dependabotくんはある程度の依存関係の更新を通知してくれるが、山のようにprojectを抱えているとなんとも痒いところに手が届かない。 ということで、Renovateを使ってみる。 Build software better, togetherGitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.GitHub ここからGitHub Appを入れる。 あとは、指示に従ってポチポチするだけで、超かんたんだった。 感想 自動化最高。

By Sakashita Yasunobu

nodejsのバグを見つけたのでPRを投げてみた

概要 要するに、node --testで特定のバイナリを標準出力に書くと、テストランナーが固まったり、異常終了したりするバグです。 バグ自体は既知のものだったようで、修正がされていました。 test_runner: infinite loop in FileTest#drainRawBuffer when child stdout contains FF 0F followed by large size bytes · Issue #62693 · nodejs/nodeVersion v25.9.0 (also reproduced on v24.14.1 LTS, v22.21.0 LTS, v23.4.0) Platform Darwin 25.

By Sakashita Yasunobu
青空文庫のParser

青空文庫のParser

青空文庫のParserを作ってます。 GitHub - P4suta/aozora: Pure-functional Rust parser for 青空文庫記法 (Aozora Bunko notation): ルビ, 傍点, 縦中横, 外字, 返り点, indent containers, page breaks.Pure-functional Rust parser for 青空文庫記法 (Aozora Bunko notation): ルビ, 傍点, 縦中横, 外字, 返り点, indent containers, page breaks. - P4suta/aozoraGitHubP4suta Rustで作ってますが、配布物はcargoのほかにnpm/pypiでも入手できます Documentation * Playground — try it in

By Sakashita Yasunobu