Crate for non const static initialization and statics drop.

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • talent.io - Download talent.io’s Tech Salary Report
  • async-graphql

    A GraphQL server library implemented in Rust

    Ah yea I suppose that is a viable option indeed! Now that I think about it some more it would be very interesting with Tokio were to build this into the library and to make it such that tokio::main hoists the static runtime as the main entry point with block_on. This way it would be trivial for libraries to use tokio::spawn pre-main and the end user wouldn't need to make changes. I think this is particularly good for anything that likes batching as you can build around static flume senders where the receivers are doing batch processing via futures batching on the receive stream. This is fully lock free, so I see this as being really compelling for batching database operations. Something like this dataloader would be vastly more performant.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

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