You shouldn't be using corpo slop languages anyways. That includes Swift, Go, C#, Kotlin, etc. C++ is independent from big tech. Even though it's so complex, there are TWO open source and independent state of the art compiler implementations (including one that's free software).
Also Mono (open source .NET runtime for Linux) is shit, and .NET apps sometimes struggle to run on Wine. The compatibility situation will probably get worse when Microsoft adds Copilot integration directly into the .NET runtime.
Edit: if you want a similar alternative, try Haxe!