> such as a real Unix shell with native code compilers
??? macOS does have a real Unix shell. It’s called zsh. And it’s not that hard to get whatever compilers you want.
Shells are not the entire UNIX environment, they’re just one part of it. (And I don’t think you meant it this way, but please don’t say it’s not a “Unix shell” because it doesn’t have GNU extensions.)