But it’s a hard problem, mostly because of “entropy”.
A Stirling engine easily needs to radiate 20 times as much heat as it produces as power.
Wikipedia says "Stirling engines have a high efficiency compared to internal combustion engines, being able to reach 50% efficiency," which seems to contradict that. What's the discrepancy?
Thermoelectric piles are basically the worst form of generating electric power with heat (it has 0 moving parts, so it's used in various places), and it's still not that bad.
edit: Never mind, apparently they are worse than what I thought they were, at 5~8%. But they are still the least efficient way to turn heat into electricity, and yet they can achieve what that guy said.
https://blog.mide.com/thermodynamic-theory-of-the-ideal-stir...
They invented and are very close to commercializing a direct heat-to-electricity converter that uses acoustic waves. No moving parts. Close to 30% efficiency.
Sound == heat.
An AMTEC converter may be an another "fully self-contained" solution