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. Read On https://webassemblycode.com/while0-macros-use/
Posts made by tazebr123
-
While(0), Why Macros Use It?
-
Debugging Webassembly With Print-Statements – Hexdump Addition
Dumping hex values is a very important addition to our Webassembly debug infrastructure. Hexdump (the dumping hex values) is helpful when you need to see the content of buffers.Read on https://webassemblycode.com/debugging-webassembly-print-statements-hexdump-addition/
-
Learning by Doing, Tetris in Webassembly, a Roadmap
The current goal of this blog is to implement a Tetris clone in Webassembly. During the course of this implementation, we are going to touch on key Webassembly development points and hopefully we are going to have a better understanding of what it takes to have a full project implementation in Webassembly Keep on reading: https://webassemblycode.com/learning-tetris-webassembly/
-
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.
Keep reading -
Webassembly can’t access the DOM. What?
What is the DOM? I am sure Webassembly is going to bring developers from areas where the DOM concept is not familiar, like myself. This post explains what I have learned about the DOM and will contain a small Webassembly program that is going to change the content of a HTML document.
Read on: https://webassemblycode.com/webassembly-cant-access-dom/ -
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 how to enable debugging during the compilation process, and what we can do with Firefox and Chrome. In a future post, I will focus on poor man’s debugging, or how to instrument your Webassembly code to log debugging messages.
Read on:https://webassemblycode.com/using-browsers-debug-webassembly/ -
How to Update the Emscripten C/C++ Compiler
The Emscripten C/C++ Compiler for Webassembly is evolving at a blazing speed. Bug fixes and new features. Keeping it updated can save you hours when you stumble upon something that is already resolved.
Full article https://webassemblycode.com/update-emscripten-c-c-compiler/
-
Browsers Now Spit Out Compilation Error Messages
Compilation error messages steps into the browser world. The “failed to compile wasm module: CompileError: at offset 8: binary version 0xd does not match expected version 0x1” error was generated after trying to execute a simple “Hello World” application in the Firefox browser. What does this message mean?
Read full article:https://webassemblycode.com/browsers-now-spit-compilation-error-messages/ -
This Browser Supports Webassembly? At what degree?
How to make sure your Webassembly code can run on your user’s browser? Besides, as Webassembly evolves, your application is going to encounter a mixed population of browser versions with different degrees of Webassembly support.
Read full article here:https://webassemblycode.com/browser-supports-webassembly-degree/ -
XOR should be an English word
Soup xor salad? This question is much clearer than Soup or salad.Why?
Read full article here: https://webassemblycode.com/xor-english-word/ -
Dissecting a Minimum (Useful) Webassembly Module
What is the content of a very simple, but usefull Webassembly module? What each byte represents?
Read article: https://webassemblycode.com/dissecting-minimum-useful-webassembly-module/
-
RE: How To Setup Webassembly in a Windows PC?
@admin Still having the same issue, please let me know if I should try something different.
-
RE: How To Setup Webassembly in a Windows PC?
@admin Not at all, I think it is a good idea, but I don't know how to do it. Tried to edit my post and got an error: "You are only allowed to edit your post within 5 seconds..." or something like that.
-
How To Setup Webassembly in a Windows PC?
Official instructions are confusing and lacking for the Windows environment. This step by step guide is geared towards a Windows user that wants to generate a Webassembly application.