Nießen, Tobias2023-03-012023-03-012020https://unbscholar.lib.unb.ca/handle/1882/13566Alongside JavaScript, V8 and Node.js have become essential components of contemporary web and cloud applications. With the addition of WebAssembly to the web, developers finally have a fast platform for performance-critical code. However, this addition also introduces new challenges to client and server applications. New application architectures, such as serverless computing, require instantaneous performance without long startup times. This thesis investigates use cases and integration issues of WebAssembly in Node.js, and the performance and quality of WebAssembly compilation in V8 and Node.js. We present the design and implementation of a multi-process shared code cache for Node.js applications, and demonstrate how such a cache can significantly increase application performance, and reduce application startup time, CPU usage, and memory footprint.text/xmlx, 138 pageselectronicen-CAhttp://purl.org/coar/access_right/c_abf2WebAssembly in Node.jsmaster thesis2023-03-01Kent, KennethPatros, PanosComputer Science