DEV Community

Prog. Kanishk Raj
Prog. Kanishk Raj

Posted on

ProXPL v1.3.1 - Stabilization Release

We are pleased to announce the release of ProXPL v1.3.1, a critical stabilization update focused on resolving architectural discrepancies, memory leaks, and garbage collection vulnerabilities identified during our comprehensive codebase audit.

🚀 Key Improvements

1. Unified VM Dispatch Architecture

The Virtual Machine now uses a unified macro-based dispatch loop. This eliminates the "split-brain" problem where the GNUC Computed Goto path and the standard Switch-Case Fallback path had divergent logic.

  • Fixed: Missing opcodes in GNUC path (OP_INTERFACE, OP_IMPLEMENT, OP_MODULO, and bitwise operators).
  • Fixed: OP_CLOSURE upvalue capture failure in high-performance mode.
  • Benefit: 100% logic parity across all platforms and compilers.

2. Memory Leak Resolution

Identified and resolved a significant memory leak in the Type Checker.

  • Fixed: String allocations for symbol names and parameter types were not being released during scope exit.
  • Benefit: Reduced memory footprint during long compilation tasks and improved LSP stability.

3. Enhanced Garbage Collection Safety

Hardened the runtime against race conditions during object allocation.

  • Fixed: OP_MAKE_TENSOR now roots the newly allocated tensor immediately before popping elements from the stack.
  • Benefit: Prevents rare but critical segmentation faults that could occur if a GC cycle triggered during tensor initialization.

4. Robust Error Handling

Refactored the VM's internal stack management.

  • Fixed: Replaced fatal exit(1) calls in the stack push() operation with recoverable INTERPRET_RUNTIME_ERROR reports.
  • Benefit: Host applications (like the REPL, IDE extension, or embedded hosts) can now gracefully recover from stack overflows instead of crashing.

📦 Version Information

  • Major: 1
  • Minor: 3
  • Patch: 1
  • Status: Stable / Recommended for all users

🛠️ Update Guide

Users are encouraged to update to v1.3.1 by rebuilding from source or downloading the latest binaries from the releases page.

# To update via PRM
prm update
Enter fullscreen mode Exit fullscreen mode

Release Date: April 22, 2026

Project: ProX Programming Language (ProXPL)

Top comments (0)