谷歌公司的前任CEO埃里克·施密特 (Eric Schmidt) 上个月在斯坦福大学CS323课堂上的访谈中,专门提到了他看好的可能会取代 Python 语言的一种新的编程语言——Mojo。
施密特的原话为:
Yes, instead of taking text and turning it into more text, more text, taking text and have the AI trigger actions. So another definition would be language to Python, a programming language I never wanted to see survive and everything in AI is being done in Python. There's a new language called Mojo that has just come out, which looks like they finally have addressed AI programming, but we'll see if that actually survives over the dominance of Python.
从这段话可以看出来,施密特对于目前大多数AI应用代码都使用Python语言开发是相当不满的。
在访谈中施密特还说:
I like to think of CUDA as the C programming language for GPUs. That's the way I like to think of it. It was founded in 2008. I always thought it was a terrible language and yet it's become dominant.
可见他对于GPU并行编程被CUDA垄断的现状也相当不满,因为CUDA的学习门槛很高,即使通过Python语言来调用CUDA,学习门槛仍然是相当高的。
施密特所指出的Python和CUDA的缺点,恰好是Mojo语言一开始就致力于解决的问题。可以说施密特和Mojo语言的开创者克里斯·拉特纳 (Chris Lattner) 英雄所见略同。顺便说一下,拉特纳就是llvm、clang、TensorFlow的作者,世界顶级的编译器和AI专家。