news
54

The discussion frames partial evaluation as compile-time constant expression folding, noting that Cheerp implemented similar optimizations in its C++-to-JavaScript/WebAssembly compiler. Extending it to function calls can hurt binary compatibility because callers may miss changes in a function’s behavior or side effects unless recompiled. Commenters also cite Zig’s built-in compile-time evaluation and Truffle/Graal’s JIT approach as relevant implementations.

Only full members can comment

Log in to express your opinion.

No comments yet.