MichalStrehovsky / sizegame

Compare binary sizes of canonical Hello World in 18 different languages
210 stars 17 forks source link

Add support for multiple OS #8

Open kant2002 opened 1 year ago

kant2002 commented 1 year ago

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 to add (less controversy on what clean OS is).

/cc @delneg

MichalStrehovsky commented 1 year ago

I'm not interested in maintaining Linux, sorry. See #2 for discussion.

Linux opens a can of worms that I'm not keen on resolving/discussing. The static/dynamic libc linking (can't call this "Linux" unless everything is linked statically, really), which libc (this depends on which distro you do the static linking), what to do with debug symbols (they're part of the executable as a convention, but for most languages they don't affect runtime behaviors, but then there's Go and Rust where it does), etc. Each of those is a discussion point on its own. I like the simplicity of "just take the hello world, compile with canonical settings, and you're done" but this is only possible on Windows/mac/BSD. And I don't care about mac and BSD is too niche.

delneg commented 1 year ago

Will PR's for Linux or BSD or macOS be accepted ?

MichalStrehovsky commented 1 year ago

Will PR's for Linux or BSD or macOS be accepted ?

No