Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive WebAssembly tutorial comparing WebAssembly and JavaScript performance. Learn to set up AssemblyScript for WebAssembly compilation, test, and evaluate computational performance differences. Dive into implementing and benchmarking functions like addition, factorials, and array squaring. Investigate the impact of large parameter payloads and necessary glue code for complex data types. Gain insights into AssemblyScript's TypeScript-like syntax and its suitability for JavaScript and TypeScript developers. Follow along with practical examples, code demonstrations, and performance comparisons to deepen your understanding of WebAssembly's potential in web development.
Syllabus
Intro
Files overview
Try the tests
Factorial AS
Factorial Test
Setting up Benchmark
Add & Factorial Benchmark
SquareArray AS
SquareArray Glue Code
SquareArray Test
SquareArray Benchmark
SquareArray no payload Benchmark
What did we learn?
Taught by
Coding Tech