Revision (Demoscene)

SDL2 on my machine is 1.2 MiB. So if we assume it's 1% overhead, your resulting program would be 117.5 MiB. That seems like a huge file size for a demo.

they did say less than, though from that number even that would be shooting a bit high. A lot of these demos work in the kilobyte range.

as in you wouldn't measure them with megabytes

Recheck your math. If it was only .5% of the size overhead, your resulting program would be ~235 MiB. I was being generous by rounding to one.

meant for

I was doing mental math, but yes you are right. I'm saying the user there was technically right in saying it was less than 1 percent.

The larger demo competitions are 64kilobytes. That is tiny! Yet for these guys they make it into so much. It is something amazing.

I meant the perfomance not the size... not every pc demo is 64kb. Obviously for a size production you wouldn't use sdl...

More over, I said one could use SDL to have a portable demo, which would mean that the size of the library would not be included (unless you want to include all versions for each OS / platform). Small PC demos use directX or openGL, obviously, I think SDL is on similar level, it could have been just installed on the system and ready to be used by your program.

And even if you want to include SDL in your program, say, you want to compile it statically with your code. Remember that SDL is really broad, it can handle lots and lots of screen formats, different color depths, planar graphics... And I proposed to use SDL just to get a framebuffer in a normalised way, all your bliting routines would be yours (you can use SDL's but writing your own software renderer is half the fun). SDL is open source, it's quite small and organised, it's licence allows you to compile it statically. It's quite easy to just take a part of it that you want, for example, said creation of a window and frame buffer. That's a tiny part of (compiled) code.

Dynamic linking or dlopen()ing SDL is fair and square on non-windows OSs IMO. Windows has win32 for really efficient windowing, and since "Linux" has no official API besides syscalls, it's just fine to treat the most common installed software stack as part of the "base platform" in this case. Even the last party I attended has "allowed to link to common system (for example glibc, OpenGL and SDL)" in the rules instanssi.org/2018/kompot/#96 and another pretty big local one has "Latest Ubuntu (18.04)", whatever that means, and I sure as hell hope it means the "average ubuntu after installing a few common applications and games" (SDL2). assembly.org/summer18/demoscene/rules

What the fuck are you talking about? are you one of those markov chain bots?