In this chapter, we talked about different strategies we can use to debug and optimize our WebAssembly code. We discussed writing C macros, which allow us to easily remove calls to print to the console when we move from development into production. We talked about source maps, what they are, and how they can help us to debug our WebAssembly code from within a browser. We discussed using the debugger in both Chrome and Firefox to step through WebAssembly's source code. Finally, we discussed optimization in WebAssembly, what compiler options are available in Emscripten, and how we can go about improving our WebGL performance.
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand