> To be honest I don't know how to solve that issue
Support more compilers (e.g. clang, msvc). It can be more work than it's worth, sure and I understand the issues there, but jumping through hoops per platform (e.g. can't use a popular lib like https://github.com/mattn/go-sqlite3 on Windows without a MinGW gcc installation) is worth noting when touting the cross platform ease of use. Langs like Rust were lucky to compile to the same IR as a cross-platform C compiler.
> I wonder how someone who has C/C++ experience thinks of Go as not being a cross platform language.
I don't think that and definitely never would. I said it has issues, namely in the Cgo department. And I said that the other statement about C/C++ only being Unixy was wrong.
I definitely like Go and its cross-platform ability and hope I didn't give the impression that I don't.
> Langs like Rust were lucky to compile to the same IR as a cross-platform C compiler.
Even then, it was a lot of work to be compatible with MSVC. Alex Crichton spent years on it. Not to mention the dozens of man-years of work that folks from Google put into getting it all to work on the clang/LLVM side.
Okay I might have interpreted your words a bit too harsh and I have to admit that especially in the case of sqlite I am disappointed too that there is no easy way to built cross platform builds for projects which use it ;-)
MinGW doesn't integrate as well with the predominant workflows (toolchains, linking, debugging, etc.) Most Windows desktop apps are compiled using MSVC, so this is important for many people.
Just to name one issue of many, MSVC uses Microsoft's PDB format for debugging instead of GCC's DWARF.
Besides what has also been mentioned, sometimes it breaks and reasonably so since so its not the most targeted environment. For example, lots of people had to downgrade packages on MinGW recently for a bit before fixed, see https://github.com/rust-lang/rust/issues/47048
Support more compilers (e.g. clang, msvc). It can be more work than it's worth, sure and I understand the issues there, but jumping through hoops per platform (e.g. can't use a popular lib like https://github.com/mattn/go-sqlite3 on Windows without a MinGW gcc installation) is worth noting when touting the cross platform ease of use. Langs like Rust were lucky to compile to the same IR as a cross-platform C compiler.
> I wonder how someone who has C/C++ experience thinks of Go as not being a cross platform language.
I don't think that and definitely never would. I said it has issues, namely in the Cgo department. And I said that the other statement about C/C++ only being Unixy was wrong.
I definitely like Go and its cross-platform ability and hope I didn't give the impression that I don't.