“ Mojo? 编程语言正式开源标准库,宣称比 Python 快 9 万倍 头条 ”
AI 编程语言 Mojo 宣布正式开源标准库。
> https://github.com/modularml/mojo
根据公告,此次开源的是 Mojo 标准库核心部分,包含用于优化 AI 超参数的功能,这些超参数决定了神经网络处理数据的方式。
> Mojo 标准库还处于大力开发阶段,变化迅速,因此我们首先开源其核心模块。这是我们开源之旅的一个重要起点,而不是终点。
Mojo 开发商Modular 公司表示,开源能让他们获得更多开发者的反馈,从而让 Mojo 得到更好的发展。另外,开源代码的方式有很多有些项目提供源代码但不接受贡献有些提供不透明的贡献流程,无法了解目标和路线图有些虽然开源但不积极维护。
Modular 称他们选择了更彻底的开源方式允许通过 GitHub pull request 提交外部贡献,鼓励开发者参与到 Mojo 的开发和完善中来,促进社区的壮大。他们还分享了 Mojo 标准库完整的 commit 历史记录。从第一次 commit 开始,开放标准库的修订历史,可以使开发者能够追踪代码的演变过程,更好地理解代码的背景信息。
Mojo 是 Modular AI 公司开发的新编程语言,它结合了 Python 的易用性以及 C 语言的可移植性和性能,目标是使其成为 AI 研究和生产的理想选择。
Mojo 团队介绍称,Mojo 语言可以充分利用 Mac CPU 内核和矢量单元来实现加速。根据他们提供的测试 使用 matmul.mojo 运行一个矩阵乘法示例。在 Apple MacBook Pro M2 Max 上,与纯 Python 实现的版本相比,Mojo 的速度大约比 Python 快 90,000 倍。
每日一言
"<!doctype html> <html lang="Zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex,nofollow"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> <meta name="renderer" content="webkit"> <title>您请求的文件不存在!</title> <link type="text/css" rel="stylesheet" href="https://www.oick.cn/css/404.css" /> <link rel="shortcut icon" href="http://www.oick.cn/favicon.ico" type="image/x-icon" /> </head> <body> <div id="wrap"> <div> <img src="https://www.oick.cn/imgs/404.png" alt="404" /> </div> <div id="text"> <strong> <span></span> <a href="javascript:history.back()">返回上一页</a> </strong> </div> </div> <div class="animate below"></div> <div class="animate above"></div> </body> </html>"