I think Swift is also going into this direction of backing in directly into the compiler and provide it as a higher level language construction.
https://github.com/apple/swift/blob/main/docs/Differentiable...
Which leads to "Swift for Tensorflow" that unlike other languages like Java, Go or Python is not just about bindings to the C++ tensorflow library.