The advantages and disadvantages of using Electron in 2021.

If you are trying to use JavaScript to build a desktop app, chances are you have at least considered using Electron. Released by GitHub in 2013 for their Atom editor, Electron has been used by many massive companies like Microsoft, Discord, and Slack. This article aims to give an objective overview of Electron, along with its advantages and disadvantages. This article also gives overviews of a few alternatives and whether you might want to use them instead.

In 2013, GitHub was trying to make a new, sleek editor, called Atom. They also wanted to use web technologies to build it…


In the past few years, there has been a lot of talk about WebAssembly on the web and other areas. If you have not heard about it before, it is an Assembly like language. It can run almost anywhere, including the web, mobile, desktop, and on servers. Many languages support compiling to WebAssembly, such as C/C++ (Emscripten), Rust, and Go (TinyGo). Others have an interpreter/JIT Compiler that can be compiled to WebAssembly, like Python (Pyodide) and C#. It has many benefits for using on the web and in native code, which will be talked about later. …


Comparing Serverless Databases: Firestore, DyanmoDB, Cosmos DB, and More

In the past, almost all databases were single machines running SQL. Latency was low, it was fairly simple, and you did not need to worry about consistency. But times have changed, and now databases must be scalable across multiple machines, connect to potentially thousands of small serverless functions, and remain consistent and secure.

Traditional SQL databases are limited by their technology that expects there to be a stable number of connections. They also can’t deal with a sudden spike in traffic as well. Because of the need for a more scalable database, serverless databases were born. Serverless databases use varying…


Why compiling declarative UI to JavaScript is helpful and fast

Today, web frameworks like React and Vue are extremely popular for creating modern web applications, and it is for a good reason. They help make pieces of code into reusable components and make it easy to update based on data using declarative markup.

However, almost all of them come with a performance cost because they need large runtime libraries. Also, that interface language is less powerful and more verbose because it is limited to the constraints imposed by native JavaScript.

However, solutions to this problem allow you to have better performance while using less verbose code.

These frameworks compile languages…


HTTP/3, or HTTP over QUIC, brings many new performance features to HTTP

When researching the internet and the technologies behind it, you might have come across this term: HTTP. HTTP, or Hypertext Transfer Protocol, is the backbone of the web and is the universal protocol for transferring text data. You have no doubt used it, as the website you learned about HTTP on uses HTTP.

Intro

A Short History on HTTP

The first version of HTTP released was HTTP/0.9. Tim Berners-Lee created it in 1989, and it was named HTTP/0.9 in 1991. HTTP/0.9 was limited and could only do basic things. It could not return anything other than a webpage and did not support cookies and other modern…


Cloudflare, a cloud provider, can help you cut your costs significantly while increasing performance

Everything revolves around the cloud in today's world, allowing applications to do things that could not be done on the client. However, doing this incurs many costs, and if done incorrectly, can significantly slow down your applications. A lot of these problems can be solved by changing cloud providers or services. While most companies use things such as AWS (Amazon Web Services), or GCP (Google Cloud Platform), a newer competitor, Cloudflare, has managed to make many technological advantages in cost and performance. In this article, we will look at various Cloudflare services and how they compare to different cloud providers.

Hosting Services

Cloudflare CDN: Edge CDN


How JavaScript evolved to be what it is today.

Today, JavaScript is used everywhere. Everything from front-end websites to web servers to games use JavaScript for running their logic. But not everyone knows how it started, and how much it has changed since its beginning. Or how certain tools and libraries changed the path of its evolution.


Frameworks can be very helpful. They help people reuse code through components and allow for more of a declarative coding style. Chances are, if you are reading this, you have used one before, whether it is React, Angular, Vue.js, Alpine, Preact, or another of the many frameworks.

However, they come with a performance cost, due to the code needed to store components and render them. Luckily, you can minimize that cost by choosing a fast framework. In this article, we will look at a few of the fastest frameworks for JavaScript, and compare them on the benchmark krausest.github.io, …


Webpack is one of the most popular bundlers around today. Tons of production apps and frameworks, such as Next.js, Create React App, and more, use it for bundling and building. Additionally, it has the largest library of plugins out of any bundler. However, times have changed since Webpack’s inception, and now it is not the best tool for lots of cases.

Why Webpack grew

Back in 2014, when Webpack was first released, the JavaScript ecosystem was quite different. Grunt and Gulp dominated the build tool scene, with advanced plugins that did many things, such as automating releases, or compiling things such as Sass…

AsyncBanana

A JavaScript and Web dev enthusiast

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