DEV Community

Discussion on: if javascript only needs the browser to compile why can't other languages do it

Collapse
 
sfleroy profile image
Leroy

I think the short answer is that all languages need some kind of runtime. For js this ships with all browsers, for dotnet it ships with windows, for C, C++ this ships with all operating systems.

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

C doesn't really need a runtime.