The former has convenient distribution, but worse performance and other limitations.
The latter can be tricky to keep updated, ensure the environment is the same for everyone and/or cross-platform differences, etc., but significantly better/faster.
But both binaries about the same size. Assuming using something like sokol or SDL3.