mtrx
httparse
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mtrx
- mtrx: Type Safe Matrix Operations using Const Generics
-
Hey Rustaceans! Got an easy question? Ask here (12/2021)!
Also, for a much more fleshed out version of this see https://github.com/MayorMonty/mtrx
httparse
-
Unsafe at Any Speed: Tradeoffs and Values in the Rust Ecosystem
Follow up -- the benchmarks on that PR look poor, but the benchmarks don't actually quite measure what they're expected to measure -- they're not black-boxing inputs, so the compiler has an opportunity to constant-fold in some cases.
I raised a PR to fix the benchmarks: https://github.com/seanmonstar/httparse/pull/151
> or even just skipping blank lines, hyper does things its own way.
Ugh. IMO a bit benefit of Rust is that you can’t do wild-west-YOLO buffer twiddling without “unsafe,” so people will write better code.
But it really looks like httparse missed the memo.
https://github.com/seanmonstar/httparse/blob/v1.8.0/src/iter...
iter::Bytes looks like an awkward wrapper around slices with all the safety removed. So you can port nasty C-style code right over.
Seriously, it should not be hard to efficiently strip a prefix off a u8 slice in safe Rust. For example, split_first.
You mean like this one?
https://github.com/seanmonstar/httparse/pull/86/files#diff-4...
- Hey Rustaceans! Got an easy question? Ask here (12/2021)!
What are some alternatives?
advent-of-code-2020 - :christmas_tree: My Advent of Code solutions in Rust. http://adventofcode.com/2020
rfcs - RFCs for changes to Rust
Cargo - The Rust package manager
singletons - Fake dependent types in Haskell using singletons
flurry - A port of Java's ConcurrentHashMap to Rust
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
rust-postgres - Native PostgreSQL driver for the Rust programming language
rust - Empowering everyone to build reliable and efficient software.
generic-array - Generic array types in Rust
rayon - Rayon: A data parallelism library for Rust
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266