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

Running Linux Console App on Chrome OS in Virtual Machine

Chrome OS, developed by Google, is a light-weighted operating system based on the Linux kernel. It uses Chrome web browser as the user interface that primarily supports web applications released as Chrome extensions. However, Chrome extension is not fresh to me. When running Chrome OS in a virtual machine, I wondered whether it is possible to run native apps. In this article, I want to share how to run a console application built with Dynamsoft C/C++ Barcode SDK on Chrome OS.

Read more

Mixing Kotlin and Java to Build Android Barcode Reader

Last week I made a warm up for Kotlin, getting started to learn tutorials and reference. Now it is time to take the next step. Since Kotlin is hundred percent compatible with Java, we can use both programming languages without barriers in one project. In this article, I want to share how to build an Android barcode reader using Kotlin code and Java code.

Read more

Building Kotlin Barcode Reader on Windows

Kotlin, developed by JetBrain, is a statically typed programming language that compiles to Java code and JavaScript code. Recently, Google announced that Kotlin is a first-class language for writing Android apps. The big Android market will bring a promising future for Kotlin. If you never used Kotlin before and don’t want to fall behind, get started with the new programming language now. In this article, I want to share the experience of writing my first Kotlin app – a command line barcode reader.

Read more