We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
현재는 CPP <-> JS 간 소통할 때, (`SingleIteration)
emscripten::convertJSArrayToNumberVector 로 js array 를 std::vector 로 변환,
emscripten::convertJSArrayToNumberVector
std::vector
emscripten::val 을 이용해서 결과물을 다시 js 로 변환하는 방식을 사용하고 있음.
emscripten::val
이렇게 말고,, JS 와 cpp 간 메모리를 공유할 수 있는 방법이 있을지 보고, 있으면 그 방법을 활용하여 결과물 개선,
기본으로 올라가있는 메쉬는 실시간으로 작동하고 있지만, FAUST 데이터를 업로드해 보면 시뮬레이션이 많이 느려지는 현상이 있음. 만약 이 방식이 적용된다면 FAUST 와 같이 큰 데이터에서도 꽤 빠른 시뮬레이션을 해 줄 것으로 기대됨.
The text was updated successfully, but these errors were encountered:
https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#access-memory-from-javascript
Javascript 에서 access memory 하는 부분 참조
Sorry, something went wrong.
emscripten-core/emscripten#5519
No branches or pull requests
현재는 CPP <-> JS 간 소통할 때, (`SingleIteration)
emscripten::convertJSArrayToNumberVector
로 js array 를std::vector
로 변환,emscripten::val
을 이용해서 결과물을 다시 js 로 변환하는 방식을 사용하고 있음.이렇게 말고,, JS 와 cpp 간 메모리를 공유할 수 있는 방법이 있을지 보고, 있으면 그 방법을 활용하여 결과물 개선,
기본으로 올라가있는 메쉬는 실시간으로 작동하고 있지만, FAUST 데이터를 업로드해 보면 시뮬레이션이 많이 느려지는 현상이 있음. 만약 이 방식이 적용된다면 FAUST 와 같이 큰 데이터에서도 꽤 빠른 시뮬레이션을 해 줄 것으로 기대됨.
The text was updated successfully, but these errors were encountered: