Elektrine lite

← Feed

@chemoelectric@masto.ai

Post #1500289

2026-04-10 23:57 UTC

(Hongwei Xi did GMP support in ATS2 using linear types to manage the malloc-free. This is very limiting. It doesn’t let you use GMP and MPFR types in ordinary numeric template instances. This is part of what makes ats2-xprelude so much more powerful than the plain prelude.)

Replies (1)

  • @chemoelectric@masto.ai 2026-04-11 09:18

    You know, that isn’t really an EXPANSION phase so much as a CONTRACTION phase! Though it IS in effect where something akin to macros might be done. But this is an “orthogonal” language. It doesn’t NEED macros! :)

    Open ##1500290