That's an outdated but sadly common perception. TensorFlow for example is pushing Swift pretty hard: https://www.tensorflow.org/swift/
Disclaimer: I work at Google but not on TensorFlow.
Disclaimer: I work at Google but not on TensorFlow.
Fortran, C++, Python and Julia drive the show and work with full tooling across UNIX flavours, Windows, macOS today.
I've never tried Swift, but it seems it could have all the required features. I guess it's just lacking a lot of libraries that work on Linux.
But those have been out there in a more or less mature form for decades, with no major uptake in sight. I guess they're just too esoteric for them to reach critical mass. So here I am, stuck with bash/python/C, and dabbling a bit with Rust..
I think a reasonable compromise is to have "char" be a 32 bit type, whereas a "string" would be UTF8.