I was curious what language the default binaries and system binaries that come with macOS are written in. I am sure it's not just one language, but is there one language that is common throughout most of these binaries that come with the system?
macOS – Understanding Bin and Sbin Directories
binarylanguagemacos
Best Answer
macOS is built on BSD which is a Unix like operating system.
The Unix operating system and the C language were created simultaneously. Many of the commands have evolved over time but usually have remain written in the C language. The libraries and the Unix operating system is also written in C.
The C language is probably the closest high level language that actual resembles machine instructions. This allows Unix to be ported to new processor architectures with minimal effort. In other words, the optimizations were originally provided by the author's of the code and did not rely on compiler specific optimizations with respect to a particular processor architecture.
Note: Gordon Davisson has pointed out in a comment: