Cosmon

Cosmon is a simple, compiled programming language built in Rust.

It is a statically typed programming language and for the time being it is intended as a proof of concept instead of becoming a production-ready programming language.



var: string hello = "Hello, World!";
print(hello);
var: int x = 10;
x = x * 2 + 5;
print(x);
            

Cosmon Example

This is a simple example of the Cosmon language. In this example we simply define a variable and print it to the console.

Below that we define a number. In the next line we do some mathematical operations on it and afterwards we print it to the console.

Rust

Godot is a lightweight, free and open-source game engine.


Rust is blazingly fast and memory-efficient: with no runtime or garbage collector, it can power performance-critical services, run on embedded devices, and easily integrate with other languages.

Rust's rich type system and ownership model guarantee memory-safety and thread-safety — enabling you to eliminate many classes of bugs at compile-time.

Rust has great documentation, a friendly compiler with useful error messages, and top-notch tooling — an integrated package manager and build tool, smart multi-editor support with auto-completion and type inspections, an auto-formatter, and more.
Rust Website