Ultraken (ultraken) wrote,
Ultraken
ultraken

Executable versus Script

I recently found that the compiled C++ version of my Snake game is significantly smaller than the Lua script version that runs in ConsoleLua. The executable is around 5KB while the script is around 8KB, and ConsoleLua is over 100KB (80% of which is Lua itself). That's... somewhat disheartening.

To add insult to injury, the Snake executable is statically linked to a compact version of the C runtime (called wcrt) so it doesn't even need the Visual C++ 2013 redistributable package.

Tags: programming
Subscribe

  • Mom's passing

    Nine months after being diagnosed with gallbladder cancer, my mother passed away this afternoon after three and a half days in hospice. She was very…

  • Spacesynth Sampler Platter

    Several more hours of spacesynth... Spacesynth and Italo Disco are closely related--Spacesynth is instrumental Italo Disco with a bit more…

  • Spacesynth and Friends

    It's been a while... Earlier this week, a member of the Battlezone community posted a video of a project they were working on and I liked the…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments