The Preview of Dynamsoft WebAssembly Barcode SDK

WebAssembly (Wasm) is a revolutionary technology for Web development. It aims to execute at native speed in web browsers. With WebAssembly, it is convenient to port C/C++ code for web client and server applications. Dynamsoft Barcode Reader 6.2 is the most potent barcode SDK ever, and its WebAssembly edition is on the way. Let’s see what we can do with the preview edition of Dynamsoft WebAssembly barcode SDK.

Read more

Building JavaScript and WebAssembly ZXing on Windows

If you are looking for a barcode SDK for web development, the ideal outcome is to find a pure JavaScript SDK. The pure JavaScript SDK means JavaScript APIs do not rely on any server-side code. However, most of the barcode SDKs are written in C/C++ and Java. They do not have corresponding JavaScript editions. Meanwhile, JavaScript performance is also the bottleneck. Nowadays, with the advent of WebAssembly, all this will change. WebAssembly runs alongside JavaScript, providing with near-native performance in modern web browsers. In this post, let’s see how to build JavaScript and WebAssembly ZXing – the most popular open source barcode SDK – for developing web barcode apps on Windows.

Read more

Learning Emscripten: Compile C/C++ to JavaScript

It was my first time to hear about WebAssembly when watching Google I/O ’17. WebAssembly (wasm) lets developers compile C/C++ or other statically typed languages into JavaScript for building high-performance web apps. Assume I have a C/C++ barcode detection or OCR library deployed on server-side,  I can now move it to the web client-side. I was excited about this feature and wanted to know more about relevant technologies. My first step is to learn the compiler that called Emscripten.

Read more