Which do YOU prefer? String literal to owned String

This page summarizes the projects mentioned and recommended in the original post on /r/rust

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

    Empowering everyone to build reliable and efficient software.

  • to_string is auto-implemented from Display so used to be it ran noticeably slower, because that was what it went through. However that has not been the case in several years, as ToString was specialised for str.

  • rfcs

    RFCs for changes to Rust

  • Why not, there is this RFC to have c"🦀" to create a &CStr.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rfcs

    RFCs for changes to Rust (by m-ou-se)

  • Sure, except that that https://github.com/m-ou-se/rfcs/blob/c-str-literal/text/3348-c-str-literal.md explicitly states "the CStr type will have to become a lang item."

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