Re:Better-sqlite3: A faster Sqlite library for Node.js
by always_good on Tuesday March 27, 2018 @02:23PM
(#16691335)
No you weren't. Look at your first comment. You're literally relating sync in the C API with Node's API.
[ Parent
| on HN ]
Re:Better-sqlite3: A faster Sqlite library for Node.js
by zbjornson on Wednesday March 28, 2018 @03:51PM
(#16701252)
My first post was talking about the C API. A sync C API can be made into an async node.js API using the thread pool. That's what node does internally for DNS resolution, fs and other APIs.