If you want something with a small footprint I would personally go for Rust, but anything that compiles to a static binary is going to be better than something that needs a dedicated runtime.
Python is what I use for small one-time scripts and utility stuff that doesn’t need to run long, but it may be worse than Java…
Based on what the YouTube frontpage looks like when I’m not logged in I can guarantee that I will have zero interest in anything that gets hyped up on a leaderboard. But YouTube will of course malform its UI so it can constantly shove it into my face like it does with shorts.