Plugin based architecture in Rust

This page summarizes the projects mentioned and recommended in the original post on dev.to

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

    Lightweight Inversion Of Control

  • Creating a microframework on top of minfac is straight forward. The following sections illustrate the takeaways when building the prototype. The workspace has the following structure:

  • abi_stable_crates

    Rust-to-Rust ffi,ffi-safe equivalents of std types,and creating libraries loaded at startup.

  • Unfortunately, just before publishing this article I found out, that Rust does not guarante a stable ABI, not even between two separate runs of the compiler with the same rustc version. This measn that plugins might suddenly not be compatible anymore for no obvious reasons. Even though I never experienced any problems during development (neither on windows, linux nor mac), I'd recommend you to just share datastructures with #[repr(C)] attribute or use types from abi_stable_crates. A stable ABI will be shipped with minfac:0.0.2, as datastructures in minfac:0.0.1 don't have the #[repr(C)] attribute yet. A discussion about having a stable Rust ABI can be found in the internals forum. If anybody knows, why compiling with the compiler option -C prefer-dynamic is supported, I'd be interested to know, as I can't see how this problem is solved there.

  • 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

  • Modular Dependency Injection in .NET

    2 projects | dev.to | 25 Mar 2024
  • Do You Use Singletons?

    1 project | /r/Python | 13 May 2023
  • How to do dependency injection based on HttpContext values?

    1 project | /r/csharp | 21 Apr 2023
  • The Problem with Dependency Injection Frameworks

    1 project | news.ycombinator.com | 8 Jan 2023
  • Loosely coupled Python code with Dependency Injection

    1 project | dev.to | 9 Nov 2022