Ultraken (ultraken) wrote,

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

  • Dead Star codes

    I'm not sure if anyone still reads this, but here goes... Armature is playtesting an alpha build of Dead Star and I still have some download codes…

  • Vectrex Lives!

    I finally got around cleaning the contacts on my Vectrex game system and cartridges, which had gotten glitchy due to 30+ years of oxidation. I wet…

  • An Arcade In Your Browser

    The Internet Archive's Internet Arcade

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded