by maldev · 3y ago · 0 comments
Rust is genuinely only useful for the niche application of a desktop application, that doesn't reach low level, but you need a bit more fine grain controls than C# or another higher level language will allow. For example, a web browser is like the ideal usecase for Rust, and it makes sense, since that's really where it's got most of it's teeth with Mozilla.
I personally don't see why you would do something like Grep, in Rust, when C#, Python, Go, exist. But I do see like Unreal Engine or again, Firefox/webbrowser in Rust being nice.
Maybe you don't know what you're talking about, despite coming across as certain of yourself.
If you respond, please provide instructions to reproduce your measurements for a Linux machine.
Why do you even have to write one in the first place? If C# is such a natural choice, why hasn't it already been done?
My testing will be on my Dev VM, in a WSL container on ubuntu 22.04, targeting a built linux kernel. With powershell from the Microsoft blobs they ship for linux. And Ripgrep from just Apt Install Ripgrep. With 5 warmup cycles for each.
If you tried this in python it would probably take hours to scan through something that ripgrep does in a few seconds