The Node in the World . NET would be CLR or . NET?

Asked

Viewed 325 times

6

Since Node is a development platform server-side in JS... and . NET we have CLR (Common Language Runtime) the Node would be the CLR that compiles? Or a framework like . NET, as two import modules I was very confused as to that question.

1 answer

4


The question is formulated in a way that does not reflect reality.

In a way we can compare the . NET platform with Node.js. The platform involves a number of things.

The CLR is the Runtime, something Node also has, so I think CLR is for Node V8.

In fact, the . NET platform is a standard and there are several implementations. As far as I know Node only has one, even the Deno is not compatible.

In fact the compiler of . NET is not part of CLR. In the most common implementations of . NET the most common is to use the .NET Compiler Platform. Node takes the source and Jitta directly. CLR has a Jitter also, but part of a previously compiled code.

Another important component of the platform is the FCL.

Other components may be optional, as occurs in Node as well.

The question of modules is not clear, I think it fits a specific question with more details of the doubt. But I think there are similarities, the . NET gets with Nuget and Node with NPM.

  • That was my doubt... I was so confused that I didn’t even know how to express it...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.