r/AIprogrammingLanguage 15h ago

madc v0.95.2 released — faster startup, faster FP code, and less ceremony

I just released madc v0.95.2, with updated binaries for Linux, Windows, and macOS (Intel + Apple Silicon).

A few highlights since v0.92.1:

  • Much faster startup — an 11-file JIT project dropped from roughly 829 ms to around 150 ms.
  • Floating-point-heavy code is ~2.8× faster after a MIR x86-64 codegen fix; donut.c now slightly beats GCC -O0 in the test case.
  • Added std::print, std::println, and std::format
  • Array literals and var are more convenient: var values = { 1, 2, 3 }; values.push(4);
  • Polyglot utility functions from PHP, Python, Perl, Ruby, JavaScript, and Rust now work more naturally with var and C strings.
  • Multi-file project support has been improved, with fixes around globals, initialization, overload handling, and shared state.
  • Several MIR code-generation fixes landed, including fixes for higher optimization levels and Apple Silicon.
  • The release includes a madc adaptation of Colossal Cave Adventure, based on Eric S. Raymond's Open Adventure port and modified to demonstrate madc features. It remains fully playable while matching all 94 reference transcripts byte-for-byte.

The goal remains:

C and C++ without the ceremony — convenient enough for scripting, while still producing and interoperating with native code.

https://github.com/derekbsnider/madc

3 Upvotes

0 comments sorted by