Nim
Nim copied to clipboard
Compiling with TCC backend and ARC/ORC memory management generates large executable
Description
echo "hello world"
nim c --cc:tcc --threads:off main.nim
Nim Version
2.2.0
Current Output
Nim generates 39,169 KB executable file.
Expected Output
Nim generates a small executable file. On version 2.0.8, Nim generates a 105 KB executable file.
Known Workarounds
Use memory management other than ARC/ORC.
Additional Information
TCC version 0.9.28rc 2024-09-27_mob@3ead10dd (x86_64 Windows)