5

FINALLY.

https://devblogs.microsoft.com/dotn...

In 6 month ready to challange C and C++ on performance vs time.

Comments
  • 2
    And after a long journey, Conan discovered that the secret of C is not the compiler.
  • 2
    .NET performance was already impressive, nice to see it's getting even better.

    @Fast-Nop for web applications, the way .NET is doing it is much nicer. And it's great to have actually impressive performance as well. I would never (ever) want to do backend work in C/C++.
  • 0
    And here came Unity.
  • 1
    @RememberMe Uh ok yeah that's a point. Though I do wonder how it would perform. Stuff like Nginx is in C, and the reason why Nginx is popular is because it's fast.
  • 1
    @Fast-Nop nginx is a web server only, it only routes your data around. .NET is meant for whole backends with application and business logic and database interfaces and everything. They're not comparable (yes you could probably write a .NET application to do what nginx does but it'd be kind pointless). Actually it would be good to use .NET with nginx sitting in front of it as a reverse proxy.
  • 0
    @RememberMe Basically, it would be faster to write it in C, but it would also be unfeasible in terms of security and cost.
  • 0
    @Fast-Nop The reason nginx is fast is not the language it was written in but the design. Anything with a runtime will have a larger memory footprint and it can be optimized a bit further in C but if you look at PHP workerman benchmarks you see that handling HTTP in a scripting language can be ridiculously fast.
  • 2
    Thats a huge blog post, I guess tldr is "thing go faster now"
  • 0
    Bots received interview offers from recruiters lol
  • 0
    @LotsOfCaffeine That's about right.

    It's more like "Things go Brrrrrr".

    My fav is base64 encoding. tested on 10.000.000 caracters.

    .Net 4.8 : 220MB of RAM
    .Net 6 : less than 1 KB
  • 0
    @Fast-Nop Except I'm not talking about compiler. But about runtime.
  • 0
    But they STILL don't get that JSON must be fast (yes), but EASY to write !

    Thier "super mega fast" thing requires like 5 code lines to deserialize an object.

    I'll stay with newtonsoft.Json, thank you.
Add Comment