DEV Community

Timofey Zapasnoy
Timofey Zapasnoy

Posted on

I built a programming language at 13: Begamix (C++ transpiler + epoll runtime)

Hi everyone! I'm a 13-year-old developer from Russia. I've been working on my own programming language called Begamix.

What is Begamix?

It's a compiled language that transpiles to C++ and then to machine code. I built it because I wanted a language that is as fast as C++ but easier for writing Telegram/VK bots.

Key features:

  • Compilation to C++: Uses clang++ to create native binaries.
  • Custom epoll runtime: Has its own event loop with a worker pool.
  • Custom Garbage Collector (SGM): A modular GC that makes multiple passes and protects against deleting needed objects.
  • Native HTTPS sockets: Sends messages directly, without curl.

How to try it:

You can check out the code on GitHub: https://github.com/nikisintimofej01-oss/Begamix

I'd love to hear your feedback on the architecture!

Top comments (0)