Mojo

软件描述

摩洛编程语言 摩洛是由Modular Inc开发的一种专用的人工智能(AI)编程语言。它于2023年5月首次发布,旨在成为Python的超集,同时具备C语言的性能。

官方网站

访问软件的官方网站了解更多信息

官方认证

docs.modular.com

安全链接HTTPS

什么是 Mojo?

The Mojo language is still very young, The Mojo standard library, compiler, and runtime are not available for local development yet, so we created a hosted development environment where you can try it out. We call it the Mojo Playground! To provide the best experience possible, the Mojo Playground currently supports a limited number of people. We plan to scale up quickly so everybody can get access over time. The Mojo programming language aims to be fully compatible with the Project Jupyter ecosystem. It's not yet fully source-compatible with Python code, only providing a subset of its syntax, e.g. missing keyword arguments for functions, the global keyword, and list and dict comprehensions. Further, Mojo also adds features that enable performant low-level programming: "fn" for creating typed, compiled functions and "struct" for memory-optimized alternatives to classes. A struct in Mojo is similar to a Python class: they both support methods, fields, operator overloading, decorators for meta programming. Mojo can call existing Python 3.x code by reusing the CPython runtime. Modular plans to add integration to transparently import Clang C/C++ modules and transparently generate a foreign function interface between C/C++ and Mojo. Mojo has a borrow checker, an influence from Rust, and in that way is dissimilar to Python. Mojo is a new programming language that bridges the gap between research and production by combining the best of Python syntax with systems programming and metaprogramming.

下载与相关链接

安全提示
⚠️

安全提醒

点击下方链接将跳转到第三方网站,请确保来源安全,建议优先从官方网站下载。