Hacker News new | past | comments | ask | show | jobs | submit login

asm.js doesn't have support for reference types. You can access threads via the HTML5 'Web Worker' feature.

So, all the C++ threading code will automatically be converted to 'Web Workers'?

No, but it's not a great deal to write a parallel execution subsystem in C/C++ which abstracts the differences between pthreads and WebWorkers away. Using low-level pthreads primitives directly in high-level code is a bad idea anyway.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact