sizegame
sizegame copied to clipboard
Compare binary sizes of canonical Hello World in 17 different languages

https://github.com/MichalStrehovsky/sizegame/assets/45381083/43deedc9-f96a-4b17-80df-3a9661945d9d
Hello @MichalStrehovsky, Here is my implementation using [flat assembler](https://flatassembler.net/): * executable size is 1536 bytes (less than MASM version) * works fine on Windows 11 * prints "Kŕdeľ ďatľov učí...
https://github.com/exaloop/codon I've remembered about this project, that claims to compile Python to machine code using LLVM. But I'm not 100% sure it fits into the rules, will Python be accepted...
At some point we should update the build scripts to automatically get the version of the compiler so that it doesn't have to be hardcoded like https://github.com/MichalStrehovsky/sizegame/blob/b4cf66f352048f5a7daf165f5d112ee2e158f762/.github/workflows/ci.yml#L21 https://github.com/MichalStrehovsky/sizegame/blob/b4cf66f352048f5a7daf165f5d112ee2e158f762/.github/workflows/ci.yml#L118 It's annoying...
I do not add any additional targets, since no decision happens yet about how to do testing. Most interesting target is probably Linux, but I think Mac would be easier...