これは ビットバンク株式会社 Advent Calendar 2020 の 4 日目の記事です。 Bitbank システム部の宮本ジョーです。 普段はビットコイン関連開発を専門としていますが、今回はビットコインに直接関係のない内容について書きます。 C# とRust を同時に使用して開発するためのプラクティスについてです。 イントロ 私は Bitcoin のライトニングネットワーク関連の処理を .NET で行うためのライブラリを自作しています。 似た内容のRust ライブラリがユーザーも増え安定してきているらしいため、こちらを直接呼び出すことで自前実装に伴う保守の負担を減らせないか検討してみました。 このアプローチはうまくいき、 C# のウェブアプリケーションフレームワークからライトニングネットワークの処理を行うサーバを現在作成しています。 この記事では、実装時に気付いた C# と R

Rust 🦀 andWebAssembly 🕸 This small book describes how to useRust andWebAssembly together. Who is this book for? This book is for anyone interested in compilingRust toWebAssembly for fast, reliable code on the Web. You should know someRust, and be familiar withJavaScript,HTML, andCSS. You don't need to be an expert in any of them. Don't knowRust yet? Start with TheRustProgramming Lang
What's the role ofGo in a universe whereRust exists? Imagine you’re a developer who mainly works withGo. Yougo to an event and, while chatting with some people, you decide to share with them the news that you wrote a small tool that does something. You claim that since you wroteit inGo,it’s fairly fast,it’s a single binary,etc. The group seems pleased with your recount and you start feeli

Press ← or → to navigate between chapters Press S or / to search in the book Press ? to show this help Press Esc to hide this help Introduction Welcome to TheEmbeddedRust Book: An introductory book about using theRustProgramming Language on "Bare Metal"embedded systems, such as Microcontrollers. WhoEmbeddedRust is ForEmbeddedRust is for everyone who wants to doembeddedprogramming while
RawAPI bindings for WebAPIs This is a procedurally generated crate from browser WebIDL which provides a binding to allAPIs that browsers provide on the web. This crate by default contains very little when compiled as almost all ofits exposedAPIs are gated by Cargo features. The exhaustive list of features can be found in crates/web-sys/Cargo.toml, but the rule of thumb for web-sys is that eac
rust.connpass.com での発表内容です。 自己紹介 id: dekokun (twitter,hatena) dekokun icon SREやってます CDNのDはdekokunのD って最近ずっと言ってます。これからCDN周りに力を入れていくぞという思い。詳しくは以下エントリに書いてます。 dekotech.dekokun.info Fastlyのedge computing環境 Terrariumの紹介 そもそもedge computingとは コンピューティングリソースを利用者の端末に近いネットワークの周縁部(エッジ)に配置することにより、低遅延応答、分散処理、トラフィック最適化などを実現するものと言える (参照: https://www.icr.co.jp/newsletter/wtr348-20180329-sadaka.html ) この発表では、特にCDNの

Denoのコードを読んでみました。Rust に入門したばかりで基礎知識が足らず四苦八苦していますが、Deno のプロセスが起動してからTypeScript のコードが実行されるまでの仕組みについて愚直に読んでみたメモです。 想定読者Deno の内部挙動に興味がある Node.js、TypeScript、C++(と V8)のコードがドキュメントを参照しつつ読めるRust で Hello world したことある程度の経験がある 参考情報 コア内部を理解するには非公式ガイド(以下ガイド)がとても参考になります。 — AGuide toDeno Core - AGuide toDeno CoreDeno のディレクトリ構成やレイヤー分けについてはRepo StructureとInfrastructureを一読し、リポジトリの構造をざっくり把握してからコードを読み始めるとより捗る
年末年始の短い冬休みは何もすることがなく(いや、することはいくらでもあるんですが)、ずっとRust のコンパイルエラーと見つめ合っていました。去年は後半から久々にそこそこの時間をRust に費やしたので、思ったことを振り返りたいと思います。 所有権と生存期間は理解できてからが本番Rust と言えば所有権と生存期間です。難しいと言われる理由です。難しいです。難しいのでドキュメントやRust本でもページを割いて解説されています。Rust本も出版されましたし、理解しやすくなったと思います。 が、所有権と生存期間は理解できてからが本番です。ある程度の規模のコードを書いて間違えて書き直してを繰り返し、設計と実装のトレーニングを積まないと身につきません。コンパイルエラーが出るたび、まだまだ理解が浅いと痛感します。 GC がないとはそういうことです。 とにかくデータ型の設計に苦労するRust
Rust Language Cheat Sheet 8. September 2025 Contains clickable links to The Book,BKRust by Example,EX Std Docs,STD Nomicon,NOM and Reference.REF Clickable symbols BK The Book. EXRust by Example. STD Standard Library (API). NOM Nomicon. REF Reference. RFC Official RFC documents. 🔗 The internet. ↑ On this page, above. ↓ On this page, below. Other symbols 🗑️ Largely deprecated. '18 Has minimum ed
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く