Can Asynchronous Programming Solve the Problem of Intensive Computing in Central Processor?

  node.js, question

Recently, I am constantly understanding nodejs.

We often see that nodejs is not suitable for Central Processor intensive computing scenarios, then we also often use asynchronous programming async in nodejs to perform time-consuming query operations, and return after the query is finished. Is Asynchronous Programming to Solve the Problem of Intensive Computing in Central Processor?

Conclusion:
Asynchronous programming is used to solve IO.
Js is single-threaded, and Central Processor-intensive computing still takes time.

No, it should be understood that javascript has only one thread of execution. As long as it enters the computation intensive area, Central Processor will be occupied and the entire program will be stuck here. The reason why io can use asynchronous acceleration is that the delay period of io does not occupy Central Processor.