News for hackers. Stuff that matters.
Re:Dark’s new backend will be in F# by metajack on Tuesday November 03, 2020 @10:07AM (#24980266)
One reason to use Rust is speed. For example https://www.phoronix.com/scan.php?page=news_item&px=Facebook...

Of course, not all projects have this as a high order concern, but some do, and it can make sense to use Rust for those.

Re:Dark’s new backend will be in F# by StreamBright on Tuesday November 03, 2020 @12:26PM (#24981721)
This does not mean much without the context. On the top, it is usually the libraries where most of the speed is wasted. In Java you can create HFT programms yet an average Hadoop project is 10 - 50 times slower in terms of latency for a specific operation. It is not a problem with the JVM of Java as a language as much it is a problem with code quality in user libraries.
Re:Dark’s new backend will be in F# by sbelskie on Tuesday November 03, 2020 @10:18AM (#24980371)
I don’t think dotnet is faster than rust or anything overall, but ASP.NET Core is 6th is the techempower composite rankings and first or second I believe in the plain text benchmark. This is excluding the large amount of performance work that has gone into the soon to be released .NET 5.
Re:Dark’s new backend will be in F# by vlang1dot0 on Tuesday November 03, 2020 @10:35AM (#24980552)
dotnet and Rust are essentially neck and neck on plain text. On any benchmark that actually does work though, dotnet is nowhere to be found (less than half the performance of actix).
Re:Dark’s new backend will be in F# by sbelskie on Tuesday November 03, 2020 @11:21AM (#24981003)
Yea, actix is definitely faster than ASP.NET Core and in many benchmarks it is 2x performance wise. My only point really was that ASP.NET core offers better performance compared to almost any other widely used web framework out there. Additionally, performance improvements have and continue to be a focus, with steady progress to show for it.
Re:Dark’s new backend will be in F# by fulafel on Tuesday November 03, 2020 @02:46PM (#24983239)
Speed is also a reason not to use it, as programming and compilation are relatively slow in it.