Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
52
rated 0 times [  56] [ 4]  / answers: 1 / hits: 27132  / 15 Years ago, fri, november 6, 2009, 12:00:00

does anybody know how to call C++ functions or methods via JavaScript.
Need scripting like Lua/Python-C++ but with JavaScript.



Thanks in advance.


More From » c++

 Answers
18

You can try Google's V8:




open source JavaScript engine.



V8 is written in C++ and is used in Google Chrome, the open source browser from Google.



V8 implements ECMAScript as specified in ECMA-262, 3rd edition, and runs on Windows XP and Vista, Mac OS X 10.5 (Leopard), and Linux systems that use IA-32 or ARM processors.



V8 can run standalone, or can be embedded into any C++ application...



[#98370] Tuesday, November 3, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kayden

Total Points: 546
Total Questions: 102
Total Answers: 95

Location: Virgin Islands (U.S.)
Member since Fri, Mar 4, 2022
2 Years ago
;