Hacker News new | ask | show | jobs
by slacka 4711 days ago
"asm.js might not be useful or necessary for this" So for situations like this, would Duetto's approach of mapping C++ objects/functions to native JavaScript objects/functions be better? If so, is this a feature that could be added in the future to Emscripten or are the designs mutually exclusive?
1 comments

Both the emscripten/mandreel and duetto approaches map functions to functions. The difference is that duetto maps objects to objects as well.

AFAIK the duetto approach brings no benefits in this case.