All languages can be compiled to native code, it&#x27;s just harder for some. For example, here&#x27;s an AOT compiler for JS: <a href="https:&#x2F;&#x2F;github.com&#x2F;tmikov&#x2F;jscomp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tmikov&#x2F;jscomp</a>