← board

No-AnsiString / bounded-string profile

Motivation

Managed AnsiString is the practical default for the compiler and hosted targets, but embedded targets such as ESP32 may want a profile that avoids managed strings, heap traffic, and large implicit buffers.

The current frozen/non-AnsiString path historically used very large fixed buffers per string. That is the wrong default for small programs and embedded output paths: traditional Pascal short strings cap at 255 bytes, while truly large buffers should be explicit (array of Byte, a deliberately large fixed string/buffer type, or another chosen storage shape).

This is not a blocker for the managed cross path. It is a separate profile and dialect/runtime policy decision.

Scope

Acceptance

Log