It’s not clear if dynamic linking is allowed or not (considering it’s something you really have to go out of your way to avoid), which is a big difference.
I was also going by some modified Raylib examples (+bindings, Linux, so size is influenced by that) I already had compiled, 1,372,160bytes for the 2D one (no textures/sounds, just collision detection and some polygons). With my original comment I wasn’t even thinking about how dynamic links could be counted for size, only that static linking could be smaller (which isn’t even a guarantee).
EDIT: Actually, the 3D one (yaw_pitch_roll example with plane replaced with a vertex-painted office plant) is smaller after the binary is stripped.
Just the logic .so for one of my Godot projects is significantly big (761,856bytes for something with ~250LoC) though that might be on the bindings or even my compilation settings.
It’s not clear if dynamic linking is allowed or not (considering it’s something you really have to go out of your way to avoid), which is a big difference.
I was also going by some modified Raylib examples (+bindings, Linux, so size is influenced by that) I already had compiled,
1,372,160 bytesfor the 2D one (no textures/sounds, just collision detection and some polygons). With my original comment I wasn’t even thinking about how dynamic links could be counted for size, only that static linking could be smaller (which isn’t even a guarantee).EDIT: Actually, the 3D one (
yaw_pitch_rollexample with plane replaced with a vertex-painted office plant) is smaller after the binary is stripped.Just the logic
.sofor one of my Godot projects is significantly big (761,856 bytesfor something with ~250LoC) though that might be on the bindings or even my compilation settings.