About 465,000 results
Open links in new tab
  1. C# vs C++ g++ - Which programs are fastest? (Benchmarks

    C# vs C++ g++ - Which programs are fastest? (Benchmarks Game) How the programs are written matters! Always look at the source code. If the fastest programs are flagged * possible hand-written vector instructions or "unsafe" or naked ffi, does the host language matter?

  2. C# VS C++ benchmarks, Which programming language or …

    Apr 14, 2025 · * (You may find time < time (user) + time (sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

  3. Measured : Which programming language is fastest? - Debian

    Explore the program measurements with box plot charts — medians, dispersion, skew. Side-by-side comparison tables for the most popular searches. What-if programs were more similar? Concern has been expressed that short labels (like Java) demonstrate a confusion between programming language and language implementation.

  4. How much faster is C++ than C#? - Stack Overflow

    Jul 22, 2016 · There are some major differences between C# and C++ on the performance aspect: C# is GC / heap based. The allocation and GC itself is overhead as the non locality of the memory access; C++ optimizer's have become very good over the years.

  5. How fast is C# these days compared to C++? : r/csharp - Reddit

    Nov 9, 2021 · It’s impossible to say in general if one of the potential advantages of C# will apply, and if it does, if this will outweigh the disadvantage in codegen quality. Generally C# has good performance, but if you really need to micro optimize then C++ is usually a …

  6. C# Performance vs C++: A Quick Comparison Guide

    Multiple studies have showcased benchmarks comparing C# and C++. Typically, C# performs better in development speed, while C++, when optimized correctly, demonstrates superior execution speeds and less memory overhead.

  7. C# vs C++: Performance, Speed, and Syntax - Code Conquest

    Dec 30, 2022 · This article discusses C# vs C++ to study advantages and disadvantages in terms of performance, syntax, and speed for both the languages.

  8. C# Performance vs C++: A Comprehensive Comparison

    Aug 7, 2024 · In this blog post, we will delve into the key differences between C# and C++ in terms of performance to help you make an informed decision. Performance Metrics Execution Speed: C++ generally outperforms C# in terms of execution speed.

  9. Performance difference between C++ and C# for mathematics

    Sep 30, 2009 · In my most recent test, the performance of C# vs my optimized C++ control-case under the key benchmark — transform of a long array of 4d vectors by a 4d matrix with a final normalize step — C++ was about 30x faster than C#.

  10. Is C# Slower Than C++? - Michael's Coding Spot

    Mar 16, 2020 · When you do have performance-sensitive code, you can optimize C# and achieve near-similar performance to C++. This can be done with stack allocations, avoiding LINQ, reusing memory, and many other performance optimizations.

  11. Some results have been removed