Domenic Denicola 3/5/2015

Reading from Files

Read Original

This technical article discusses the challenges of translating the blocking POSIX read() function into a non-blocking JavaScript API for web streams. It examines the naive approach, the need for background threads, and the resulting data race issues with ArrayBuffers, proposing potential solutions like memory transfer to maintain JavaScript's execution model.

Reading from Files

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week