User:KoJa23/Mojo (programming language)

Origin design and development
Its type system is hybrid (something between static and dynamic), given that the developer can opt-in for high performance static typing by choosing the keyword (between fn and def) to define their function.

Mojo was created for easy transition from Python and other programming languages. The language is largely compatible with Python and allows you to import any Python module into a Mojo module.

Mojo is not open source, but it is planned to become open source in the future.

Programming examples
In Mojo, functions can be declared using both fn or def.

The manner in which Mojo employs var and let for mutable and immutable variable declarations respectively mirrors the syntax found in Swift. In Swift, var is used for mutable variables while let is designated for constants or immutable variables.

Development
The Mojo SDK allows Mojo programmers to compile and execute Mojo source files locally from the command line. The Mojo SDK is only natively supported on Linux, Ubuntu, and macOS systems. Modular also developed a Mojo extension for Visual Studio Code, which gives features such as code completion, quick fixes, and hover help for Mojo APIs. Alternatively, Modular provides a Mojo Playground where you can develop in a web-based program. Mojo sources files use the .mojo or .🔥 file extension.