Unsafe at Any Speed: Tradeoffs and Values in the Rust Ecosystem

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • httparse

    A push parser for the HTTP 1.x protocol in Rust.

  • > 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts