Programming-Language-Benchmarks
rust-csharp-ffi
Our great sponsors
Programming-Language-Benchmarks | rust-csharp-ffi | |
---|---|---|
19 | 2 | |
592 | 186 | |
- | - | |
5.3 | 0.0 | |
about 1 month ago | about 1 year ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Programming-Language-Benchmarks
-
A Comprehensive Introduction to Golang
The benchmark available at https://programming-language-benchmarks.vercel.app/ demonstrates that Golang stands out as one of the most memory-efficient languages presently available. This achievement is attributable to several inherent features of Golang, such as its static typing, robust garbage collection system, and the inherent structuring of data within the language. These traits collectively contribute to Golang's exceptional efficiency in terms of minimal memory consumption compared to other languages.
- Rust vs Zig Benchmarks
-
Ask HN: What are some of the most elegant codebases in your favorite language?
I found Zig implementation of json parsing is interesting. The code is free from hidden control flow !.
https://github.com/hanabi1224/Programming-Language-Benchmark...
-
why does this while loop run instantly
I think https://programming-language-benchmarks.vercel.app/ is a good starting point to compare languages and compilers, also implementations are optimized for the specific language so you don't end up with a poorly ported c++ implementation in rust and wonder why it performs so bad.
- Why did tiger beetle choose zig over rust?
-
How fast is JIT compiled Lua/JavaScript compared to static compiled C++ and Rust measured in runtime?
It varies a lot depending on what the code consists of, but if you want concrete numbers for certain benchmarks, this site might be of interest: https://programming-language-benchmarks.vercel.app/
-
Speed Comparisons: JavaScript vs Python vs C vs Rust
There is not "one real" benchmark. In the end, all you can do is test languages for a specific feature / purpose. You can see how many different suggestions people have here, and here (I think) you can see the difficulties of comparing languages. That site uses quite a lot of algorithms / problems with multiple inputs, single and multithreaded, with different optimization flags (where applicable) and so on paired with different languages, and it's a mess. Sometimes one language is on top, sometimes another. (I mean, python will very rarely beat pure C, but I wont rule out that someone already created an edge case just to refute exactly this point)
- how to benchmark a programming language
- The original computer languages benchmark is back
-
Comparing Elixir with Rust and Go
Hello, World!: Elixir vs. Go vs. Rust
rust-csharp-ffi
- Including non-.NET languages inside solution.
-
Rust Language Gains Traction in .NET Community
Personally, this is our last year internally we will allow hand-optimized code to not be Rust (ie, no new C/C++/ASM/etc) within our C# code bases. Any new code which we need to use native for will be Rust, existing if we have to update it (more than minor bug-fixes) we will uplift to Rust. Previously it was all a bit hand-done (separate compilation, bindings etc), but example projects like this were a great help on setting up the MSBuild targets/configs.
What are some alternatives?
Programming-Language-Benchmark
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
svix-webhooks - The enterprise-ready webhooks service 🦀
SeeSharpSnake - Self-contained C# game in 8 kB
Game-Of-Life-Implementations - Conway's Game of Life implementation in various languages
ShareX - ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
sb-simd - A convenient SIMD interface for SBCL.
csbindgen - Generate C# FFI from Rust for automatically brings native code and C native library to .NET and Unity.
lish - Lisp Shell
json-api-example - Example Project using the JsonApiDotNetCore library.
CSharpWasmBenchmark - Comparing the performances of C# Runtime, C# Wasm AOT, C# Wasm Interpreted and JavaScript.
PowerUp - âš¡ Decompilation Tools and High Productivity Utilities âš¡