3 ms·
It's not clear either, it makes sens to use Rust for CPU heavy task, but a CRUD service that do authentication would be fine in Nodejs since every low level cry
by Thaxll 8y ago
It's not clear either, it makes sens to use Rust for CPU heavy task, but a CRUD service that do authentication would be fine in Nodejs since every low level crypto are using C.
So I'm not sure exatly what they mean, tbh the paper is very light on details.
- nwlieb 8y agoSome CPU heavy operations like crypto are not put in a threadpool. While it may be running C code, it will block the main thread while executing. See https://github.com/nodejs/node/issues/678 https://github.com/nodejs/node/issues/678 Perhaps the new worker threads may alleviate this, but I'm not sure (it's still an experimental API).