Node js calls to execute CPP compiled files

there is a question. Can, node js call cPP files compiled with gcc? are there any ideas or reference examples? Thank you!

Jun.22,2021

compiled into what? If you have a C-style API, you can use ffi.


Yes, Node.js can call extensions written by CPP. reference link , the extension is called Addon. Now you can write it in Rust.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf212f-30b13.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf212f-30b13.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?