DEV Community

Cover image for Argentum programming language
Andrey S Kalmatskiy
Andrey S Kalmatskiy

Posted on

Argentum programming language

Bold statements

A year ago I started developing Argentum - a new programming language that is safe, scalable, fast and tiny.

  • It is memory safe, type safe, null-safe, array-index safe and so on. It is safe.
  • It automates memory management, so you will never deallocate objects manually.
  • Unlike Rust and Swift it guarantees absence of memory leaks and doesn't force you to use unsafe hacks.
  • Unlike Java, Go, JS and Python, it doesn't use garbage collector, so no sudden pauses and overheads.
  • It has precise predictable object disposal moments so objects can control any resources, not just memory.
  • It's compiled to machine code, producing tiny executables (with LLVM).
  • It has multithreading without deadlocks and data races.
  • It is simple and expressive.
  • And also it's crazy fast and memory-effective (I repeat myself).
  • And its interop with C is mostly a pass-through.

Ag language home: https://aglang.org

Status

It's still in a prototyping phase. Syntax will definitely change and lots of features will be added in the future, but it's worth looking at right now.

Nowadays Ag runs on and builds executables for:

  • x86-64 Windows,
  • x86-64 Linux,
  • ARM64 Linux.

It is integrated with:

  • CURL
  • SQLite
  • SDL (window, image, ttf)

Give it a try

This week I made a Web Playground for Argentum.
Now it's possible to try it online without installing anything.

Argentum playground screenshot

All details and a playground link: https://aglang.org/playground/
Happy hacking! :-)

Top comments (0)