I recently installed an app to manually activate the fans on my MacBook Pro M1 Pro as I've never been able to trigger them over the past 4+ years. Just to check whether the fans even work (they do).
You must be using only lame languages like C or Go or Python that aren’t optimized for laptop warming during compilation. Try using a Real Language with a Real Compiler, like C++ or Rust or Swift, and build decent-sized projects using all cores.
(All joking aside, this is why I have a MacBook Pro. Compilation easily hits the Air’s thermal limits and the performance boost on the Pro with its fan is impressive.)
TBH there was a shameful period when producers were "reinventing" QWERTY keyboard and had a better idea whether Ctrl key should be present and where it should be located. Remember when Apple removed the Esc key?