Author: webassemblycodecom-admin


While(0), Why Macros Use It?

The do{…}while(0) statement is used to allow a macro to behave like a function. It is quite easy to find a #define statement that contains do{…}while(0) in it. This article is a follow up...

debug on browsers

How To Debug Webassemly?

Debugging by printing is a very popular debug method. This article shows how to implement a small, but useful, Webassembly print based debugging infrastructure. If you missed the previous article talking about Webassembly debugging,...

debug on browsers

Using Browsers To Debug Webassembly

Debugging is an inevitable development step. Browsers already have some support for Webassembly debugging, Firefox Developer Edition has the best capabilities, while Chrome has features that complement Firefox. In this post, I will present...