Hacker News new | ask | show | jobs
by baq 1269 days ago
Node is an interpreter just like Python, gives access to OS features like sockets, file systems and processes, so yes, you can.

However I’d rather not if you value your sanity and want to use typescript, because then you introduce packages and compilers and the whole npm ecosystem which makes building C++ look easy and sane.

1 comments

It is the first time I see gyp being called easy and sane.
To build what I’m currently working on it is required to use docker, pnpm, npm, nx, tsc, corepack and nvm. I think. Not sure at all. I haven’t built some parts of the project. There’s more involved to run most tests.

Something went off the rails at some point.