system
Given the following post, respond as if you're commenting on Reddit:
human
Why is it that low-level languages like C are capable of dealing with system processes and higher level languages, like javascript, are not?

Forgive me if 'system processes' seems a little vague, I do not exactly know what the proper terminology is from an OS standpoint other than 'process'.

For example, Node.JS has http_parser built into it, which is written in C. In fact, Node.JS is built with both C/C++. As I understand it, this is because Javascript, native to the browser, is not easily capable of dealing with system processes, like reading files.

But then it turns out we need C to parse / request things via HTTP, something which is directly related to web-browsing, so why isn't Javascript capable of handling this itself?

Generally speaking, I am having difficulty understanding why some languages are capable of doing some things with your system and others are not.

I do understand some languages are by design much closer to machine code, but what I do not understand is why this merit gives them 'privileged' access to certain system processes and data.

Obviously I am not very familiar with computer science, any sort of ELI5 would help.
gpt
Many operating systems are written in C/C++ or similar languages. If C/C++ could not do everything you wanted (and this doesn't mean doing things is easy), then no language could those missing things.

Javascript is meant for operating in a specialized environment (web). There isn't a theoretical reason why the language couldn't do special systems things.

The big divide is really if the language has a concept of native assembly language. If the language can't generate native code, then it must have native code generated for it (a runtime environment), which limits the language to the capabilities of that code.