![Rustの良質な学習リソースをまとめる - BioErrorLog Tech Blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/0228e3a471d80f7f0a14fe311b069224f282f416/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2FB%2FBioErrorLog%2F20220429%2F20220429143459.png)
Cookin' with Rust This Rust Cookbook is a collection of simple examples that demonstrate good practices to accomplish common programming tasks, using the crates of the Rust ecosystem. Read more about Rust Cookbook, including tips for how to read the book, how to use the examples, and notes on conventions. Contributing This project is intended to be easy for new Rust programmers to contribute to, a
These days, Rust is used for all kinds of things. But its founding application was Servo, an experimental browser engine. Now, after years of effort, a major part of Servo is shipping in production: Mozilla is releasing Firefox Quantum! Rust code began shipping in Firefox last year, starting with relatively small pilot projects like an MP4 metadata parser to replace some uses of libstagefright. Th
Rust Optimization.md Achieving warp speed with Rust Contents: Number one optimization tip: don't Never optimize blindly Don't bother optimizing one-time costs Improve your algorithms CPU architecture primer Keep as much as possible in cache Keep as much as possible in registers Avoid Box<Trait> Use stack-based variable-length datatypes Loop unrolling is still cool assert! conditions beforehand Use
Of course, part of making parallelism easy is making it safe. Rayon guarantees you that using Rayon APIs will not introduce data races. This blog post explains how Rayon works. It starts by describing the core Rayon primitive (join) and explains how that is implemented. I look in particular at how many of Rust’s features come together to let us implement join with very low runtime overhead and wit
はじめに Rustには有名なnomというパーサーコンビネーターライブラリがあるが、せっかく高級な型システムと最適化があるのにマクロで何とかしようとするのは勿体無いと思うので、マクロに深く依存しないcombineを使ってみた。 combineの主な特徴 parsec リスペクトのパーサーコンビネーター コンビネーターはマクロではなく、 Parser traitを実装する値で表す バイトストリーム、文字(Unicodeコードポイント)ストリーム、トークンストリームの全てに対応 メモリ上の文字列だけではなく、入力ストリームからの直接のパースにも対応 まだ計測はしていないが、 Box を多用していたりはしないので、速度的に大きく遅れをとるようなことはないのではないかと思う。 以下、parsecについて知っていたほうが読みやすい構成になっているので、必要ならparsecの資料を探して読むといいかもし
Jan 24 2017 Rust has had a lot of stuff going on with “macros”. There are a few, interconnected aspects of these features, many different names for the same thing, and a lot of development work going on. This post will give an overview of the past, present, and future of macros in Rust. Ultimately, macros allow you to write things like this: let map = hashmap!{ "a" => 1, "b" => 2, }; or #[derive(S
Alacritty is a blazing fast, GPU accelerated terminal emulator. It’s written in Rust and uses OpenGL for rendering to be the fastest terminal emulator available. Alacritty is available on GitHub in source form. Alacritty running vim inside tmux Alacritty The rest of this post discusses what Alacritty is, why it was built, who it’s targeted at, and some architectural decisions that have enabled its
When I wrote about calling Rust functions from Unity3D , it was my first time working with a foreign function interface (FFI) and there was a lot I didn’t understand beyond calling simple functions with primitives. How do I call methods? How do I pass arrays? How do I pass structs back and forth? Here’s what I’ve come up with… Note that all of the examples below use Node.js. The principles are the
This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code, so you can follow along if you like. The source code is also available in the corresponding Github repository. Latest post: Async/Await The first step in creating our own operating system kernel is to create a Rust executable that does not link the standar
The Rust team is happy to announce the latest version of Rust, 1.13.0. Rust is a systems programming language focused on safety, speed, and concurrency. As always, you can install Rust 1.13.0 from the appropriate page on our website, and check out the detailed release notes for 1.13.0 on GitHub. 1448 patches were landed in this release. It's been a busy season in Rust. We enjoyed three Rust confer
Core types and functionalities for Phoenix, a privacy-preserving ZKP-based transaction model Nerve is a tool that allows creating stateful agents with any LLM of your choice - without writing a single line of code. The tool provides to the model a framework of functionalities for planning, saving or recalling memories, etc by dynamically adapting the prompt and making it stateful over multiple inf
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く