サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
TGS2024
m4rw3r.github.io
Rust: The `?` operator 28 Jan 2016 For people who are not familiar with Haskell or Scala, Rust’s Option and Result types might feel a bit cumbersome and verbose to work with. To make it easier and less verbose to use them the RFC PR #243: Trait-based exception handling has been proposed. In this blog post I will go through some basics of the RFC and then compare with a hypothetical do-notation. Th
m4rw3r The blog of Martin Wernstål Rust and the Monad trait - Not just higher kinded types 19 Sep 2015 Higher kinded types is something which has been discussed a lot related to Rust in the past year, both as a feature people want, but also as a feature people do not really know what to do with. I am going to focus on the Monad trait in this post, since that is one of the things which makes higher
1: Uses the exact same parser-code as the Attoparsec benchmark. The difference of not having to allocate any Vec<u8> instances is quite huge which can clearly be seen in the performance of Combine-pre vs Combine-beta. In addition to this Combine-pre has much better support for parsing &[u8] which reduces the noise in the parser greatly. The above test is still using the code from the previous blog
m4rw3r The blog of Martin Wernstål Parser Combinator Experiments in Rust 18 Aug 2015 For the last week I have been working a bit on parser-combinator experiments using the programming-language Rust. I have tried stacking structs, manually threading state and boxed closures, with the last two seeming to be the most promising. I am writing this as I would like feedback on my approach, as well as to
このページを最初にブックマークしてみませんか?
『m4rw3r.github.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く