String literals for succinctly creating Strings instead of &strs?

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • embassy

    Modern embedded framework, using Rust and async.

  • The issue is that the OP is proposing that a special language feature be included that auto-allocates Strings as a special case. Their problem is that you have to call a function in order to allocate, and they want a more concise way to allocate (perhaps s"foo"?) but the reason you can't do that is that language features are not allowed to assume the presence of an allocator. Even async which is almost always used in such an environment does not technically require this, which is leveraged for frameworks like embassy.

  • rfcs

    RFCs for changes to Rust

  • Proposed by Mara Bos herself and disposition: close'd in RFC 3267: Short Macro Invocation Syntax: m!123 and m!"abc". I was one of the voices arguing against it.

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

  • Why asynchronous Rust doesn't work

    3 projects | /r/programming | 13 Nov 2021
  • "smallnum" crate: compile-time size optimization for numeric primitives

    3 projects | /r/rust | 27 Jun 2021
  • Ask HN: What April Fools jokes have you noticed this year?

    1 project | news.ycombinator.com | 1 Apr 2024
  • Rust to add large language models to the standard library

    1 project | news.ycombinator.com | 1 Apr 2024
  • Why does Rust choose not to provide `for` comprehensions?

    1 project | news.ycombinator.com | 11 Mar 2024