The Rust Calling Convention We Deserve

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

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

    Sample code referenced by the .NET documentation (by dotnet)

  • What you may have been looking for is these:

    - https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...

    - https://github.com/dotnet/samples/blob/main/core/nativeaot/N...

    Mono has been a stable choice for embedding in game-script style scenarios, in particular, because of the ability to directly call its methods inside providing the caller honors the calling convention correctly, but it has been slowly becoming more of a liability as you are missing out on a lot of performance by not hosting CoreCLR instead, if that is the desired scenario.

    For .dll/.so/.dylib's, it is easier and often better to just build a native library with naot instead (you can also produce a statically linkable binaries but it might have issues on e.g. macOS which has...not the most reliable linker that likes to take breaking changes).

  • sort-research-rs

    Test and benchmark suite for sort implementations.

  • If you want a particularity cursed example, I've recently called Go code from Rust via C in the middle, including passing a Rust closure with state into the Go code as callback into a Go stdlib function, including panic unwinding from inside the Rust closure https://github.com/Voultapher/sort-research-rs/commit/df6c91....

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

    A home for compiler team planning documents, meeting minutes, and other such things.

  • > Also, why aren't we size-sorting fields already?

    We are for struct/enum fields. https://camlorn.net/posts/April%202017/rust-struct-field-reo...

    There's even an unstable flag to help catch incorrect assumptions about struct layout. https://github.com/rust-lang/compiler-team/issues/457

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

  • .NET: Brincando com ref structs

    1 project | dev.to | 3 Apr 2024
  • Pull requests · dotnet/docs

    1 project | /r/VeChainTrader | 29 May 2023
  • Sobrecarga de métodos não está funcionando? Alguém me ajuda não entendo o que está acontecendo e não conseguir achar alguém que já passou por isso

    1 project | /r/programacao | 4 May 2023
  • Mind Blown: Undocumented Nested Object Initializer Syntax

    1 project | /r/dotnet | 23 Apr 2023
  • code from microsoft tutorial isnt working...

    1 project | /r/csharp | 6 Feb 2023