Microsoft rewrote Q# compiler in Rust

by avesturaon 6/21/2023, 6:50 PMwith 97 comments

by avesturaon 6/21/2023, 6:50 PM

It was previously written in C# and F#: https://github.com/microsoft/qsharp-compiler

by FrustratedMonkyon 6/21/2023, 8:30 PM

So sad. Love F#, and Q# seemed like a natural extension, or at least brotherly.

At a high level, it seemed like F# is more functional like OCaml, than Rust is. I'd like to hear more about the reasoning, was it just performance? How different was it to justify a re-write?

by FrustratedMonkyon 6/21/2023, 9:05 PM

This got me thinking of switching from F# to Rust, so did search and found this article that was good comparison. Others thinking of F# and Rust might dig.

https://jkone27-3876.medium.com/f-is-the-net-rust-62f71f8dae...

by adamnemecekon 6/21/2023, 7:37 PM

Microsoft gets developer relations.

by asylteltineon 6/21/2023, 8:01 PM

Why not…just use rust then? I don’t understand the point of all of these niche languages in real life. Python, Go, rust, c, cpp, js, C#, kotlin, but why use others? Each of these have clearly defined strengths and community support.