-
Notifications
You must be signed in to change notification settings - Fork 0
『RustによるWebアプリケーション開発 設計からリリース・運用まで』を読んだ #267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
プレビュー環境プレビュー環境が更新されました。 URL: https://blog.kyu08.com/pr-267/ Commit: ※ デプロイ完了まで数分かかる場合があります。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
このPRは、『RustによるWebアプリケーション開発 設計からリリース・運用まで』という書籍を読んだ感想をまとめたブログ記事を追加するものです。
主な変更点:
- Rustでのサーバーサイド開発に関する学びと感想をまとめた記事の追加
- GoとRustの比較を含む実践的な考察
- 本書から学んだ技術的なポイント(DI、エラーハンドリング、クレート分割など)の整理
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| content/posts/rust-web-app-book/index.md | Rustの書籍レビュー記事のメインコンテンツ(技術的な学び、Goとの比較、実装の感想を含む) |
| content/posts/rust-web-app-book/cover.png | 記事のカバー画像 |
|
|
||
| ## 学び | ||
| - コンパイル時間短縮の工夫 | ||
| - アプリケーションを複数のクレートを分割することで変更があったクレートだけ再コンパイルすればよくなるためコンパイル時間が短縮できる。 |
Copilot
AI
Dec 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「アプリケーションを複数のクレートを分割する」は文法的に不自然です。「アプリケーションを複数のクレートに分割する」が正しい表現です。
| - アプリケーションを複数のクレートを分割することで変更があったクレートだけ再コンパイルすればよくなるためコンパイル時間が短縮できる。 | |
| - アプリケーションを複数のクレートに分割することで変更があったクレートだけ再コンパイルすればよくなるためコンパイル時間が短縮できる。 |
| ### ネガ | ||
| - コンパイル時間が長い。 | ||
| - コンパイル時間短縮のためにcrate分割が推奨されているが、依存関係の増減があるたびに`Cargo.toml`を手書きで編集しないといけないのが若干面倒。 | ||
| - もしかしたらコードアクション等、エディタの支援が得られるのかもしれないがそこまで調べられていない。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [textlint] <eslint.rules.ja-technical-writing/ja-no-weak-phrase> reported by reviewdog 🐶
弱い表現: "かも" が使われています。 (ja-technical-writing/ja-no-weak-phrase)
| 結果はともあれ実際にRustでサーバーを書くのがどんな感じなのかを知ることが本書を読んだ目的だったので解像度を高めることができてよかった。[^3] | ||
|
|
||
| [^1]: 5章の途中までしかやっていないので「はず」と書いている。 | ||
| [^2]: あるいは単にコンピュータの仕組みへの理解が浅いとも言えるのかもしれない。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [textlint] <eslint.rules.ja-technical-writing/ja-no-weak-phrase> reported by reviewdog 🐶
弱い表現: "かも" が使われています。 (ja-technical-writing/ja-no-weak-phrase)

TODO