4 Low-Level Bit Manipulation

This chapter discusses some bit manipulation techniques for WebAssembly applications, which we’ll apply to projects in later chapters to improve application performance. This topic can be challenging for readers not familiar with low-level programming, so if working with binary data isn’t in your interest, you can continue on to the next chapter and simply refer back to this one as needed.

Before exploring bit manipulation techniques, we’ll go over a few essential topics, which include the three different numeric bases—decimal, hexadecimal, and binary; the details of integer and floating-point arithmetic; and ...

Get The Art of WebAssembly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.