Yeah! I had enough of flutter. I will like to keep it short:

7 problems I had with Flutter:

  1. No separation of style , coding and layout. An infinite depth widget tree for creating a simple animated button. The code looks ugly as hell, the bigger the project gets the uglier and difficult it becomes to manage.
  2. Its not cross platform in true sense, once you dwelve into the world of plugin writings. You will often be in position wher you have to write code in swift (For IOS) and C/C++/Kotlin for android. …

Hi Everyone,

If you have faced issues like me in finding concise tutorial on how to run C/C++ code in Deno using WASM, this is a to the point tutorial for you.

Prerequisites

  1. VSCODE: IDE
  2. Install WebAssembly plugin in VSCODE:
  3. EMSCRIPTEN Just follow each steps to install this tool.
  4. Deno
  5. C/C++ source code

C Example

Step1: C Source code

We will use fairly simple code to demonstrate the concept.
We have a add.c file which exposes a single function add from it using emscriten macros.

#include <emscripten.h>EMSCRIPTEN_KEEPALIVE
int add(int x, int y) {
return x + y;
}

Consider this as a facade for your C…

Anurag Vohra

Deno, Typescript, JS, CouchDB

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store