Nim icon indicating copy to clipboard operation
Nim copied to clipboard

Compiling with TCC backend and ARC/ORC memory management generates large executable

Open Apis035 opened this issue 4 months ago • 4 comments

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)

Apis035 avatar Oct 04 '24 12:10 Apis035