javascript - Shared memory between C++ and JS program -


i want use shared memory between 2 different type of programs; c++ , javascript. c++ program should write memory , js program should read simultaneously same piece of memory. possible?

browsers cant this. however, there 3 possible ways achieve want:

  1. build restful service c++ posts fires off web socket update js in browser. or have js poll service.

  2. or have browser page embed iframe pointing html page on file system written/updated c++ program.

  3. or assuming intranet, write activex control allow ie anything. using linux have use ies4linux and/or wine.

hope helps.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -