Let's be honest: web and mobile applications are now the dominant kind of software we deal with every day. The days when specialized programs had to be installed on your computer are behind us, because nearly everything is available from a browser or a smartphone. The best example is Photoshop, which found a worthy web successor in Photopea. I would even go further. When I see how users in some companies still have to run older software on their own machines, and how many problems it causes, I sometimes feel sorry for them.
Still, that necessity is not without reason. There are situations where a web or mobile app is a much worse solution. The real value lies in knowing when each type of software is needed, and that takes expert knowledge, which IT specialists have.
Today let's talk about a type of application that is said to have been pushed aside a bit, which is not entirely true: desktop applications.
What are desktop applications?
They are simply programs that need to be installed on the user's computer to work. Historically, this is the "most obvious" type of software, because people have long been used to installing everything locally, checking hardware and system requirements, and wrestling with configuration problems. It makes no difference whether programs are installed from floppy disks and CD-ROMs, as they used to be, or downloaded from the Internet or through special launchers, as with digital game stores. To this day, clients sometimes ask us what their hardware needs in order for the application to "run", and they are pleasantly surprised when we tell them that a browser is enough and the only thing to keep in mind is a suitable server.
And why are they called "desktop" applications in the first place? Because a desktop computer is a computer that sits on or under a desk, as opposed to a laptop. Desktops used to be far more common than laptops, and in the early days of the Internet most programs had to be installed on machines at home, so this usually meant PCs standing on or under a desk.
Why were desktop applications displaced?
You could just as well ask why desktop applications are no longer attractive. The first and most important argument is convenience. Today's users spend most of their time in a web browser, not on one particular computer but often on several, plus mobile devices. It is a self-reinforcing loop: they browse many websites and use other web software that needs no installation and works right away, so when something has to be downloaded to their computer, they look at it with distaste. More importantly, browsers are "fairly" standardized, so there is no need to worry whether the application will actually work on the user's computer. And if it doesn't, there is usually no need to visit the client, because the fix goes onto the server.
A classic problem of versions that run in the user's own environment is having to adapt to the operating system. Some programs exist only for certain systems. Even when so-called ports are made, without proper support from an IT team they sometimes have rough edges and differences from other platforms. For developers they are a nightmare, because installation packages have to be prepared for different operating systems (Windows, Linux, macOS), sometimes even for specific variants of a given system.
Another reason is software updates. Leaving aside the effect of caching, updating a web application is fairly simple and means deploying the new version to one or a few servers. With desktop applications it is not that easy. In the past you had to distribute a new installation package and ask users to perform certain steps (the famous patches). For many years now, programs have had self-update mechanisms built in, but there is still the matter of handling different environments and exceptional situations, checking which version should be updated, and so on.
Another argument against desktop applications is cluttering your computer. Users know well that the more programs are installed, the bigger the mess and the slower "Windoze" runs. Keep in mind, though, that:
- not all applications require installation. Some are distributed as portable versions, so they work right after being copied,
- not every program interferes with system mechanisms such as the registry or services,
- the slowdown appears after longer use and with a growing number of files collected by the application, which can also be kept in check.
At this point some will say that mobile apps are installed too. That is true, but there the advantage is having the software always at hand, which completely changes the picture for some people. You can have the program in front of you in any situation, without sitting down at a desk or reaching for a laptop.
So we have presented the arguments against desktop applications, and to be fair, there really are fewer reasons to choose them than there used to be. But they have not disappeared. Many people still praise them, and sometimes they are an essential part of entire systems. So let's look at the other side of the coin (or rather the first one).
Advantages of desktop applications
First of all, people like to install frequently used applications on their computer, because they get faster access to them and use the browser less. Slack is a good example. Many people have it installed because its icon sits in the taskbar, and launching the messenger does not require hunting through tabs in Chrome or Firefox. For some this is no problem at all, while others name it as the main reason to download the desktop version. A small technical tip here: many applications today actually use embedded browsers "under the hood", and we will come back to that later.
The second point is access to the user's disk, and with it greater possibilities for saving configuration and data or handling files. Of course, all of this (at least to some extent) can be done from a browser as well, but not as simply, so using a desktop application is often faster, also from a plain human point of view. In addition, you can usually use them offline, that is, without Internet access. Not entirely, of course: nearly every program today uses network resources, but not all to the same extent, and some at least let you display the most recently downloaded information without the Internet. For web applications this is possible only with PWA technology.
The most important argument in their favor is that... sometimes there is simply no other way. We still need software that digs deeper into the system, uses the Windows registry, relies on services or daemons, uses a company's internal infrastructure, or has to run in the background and support the work of other programs. In addition, some applications put such a load on the computer that they simply have to run directly on the operating system. Games and programs for demanding, resource-hungry operations such as rendering or video editing are examples.
What to build desktop applications with?
It used to be fairly simple, because technologies focused on writing software for specific computers, and even when web applications joined the game, the split was quite clear: C++, C#, Java, Python or even Delphi (brrr...) were the choices for desktop applications. Over the years the situation has become more complicated.
Yes, these languages are still used, because there is no denying that they deliver the best performance and the tightest integration with the operating system. In both respects C++ offers the most, which comes at the price of being hard to use, so technologies such as Rust, which could become the leading language within a few years, are being promoted. In many cases Java or C# will be the better choice if, besides system access, we also care about comfortable implementation. But for most uses a much more convenient solution has appeared: hybrid technologies.
These are frameworks or tools that let you write one codebase for many platforms. They gained their fame fastest in the world of mobile apps, where solutions such as Ionic (which we use at Wilda Software), React Native, NativeScript or Flutter exist. Thanks to "hybrids" there is no need to write separate code in Java/Kotlin and Swift, which lowers the budget and simplifies the process. The solutions for desktop applications look just as appealing.
The best-known framework of this kind is Electron, and for a long time it was even the only one. Building an installed application with it feels like writing a website, because that is exactly what lies underneath: a website written in JavaScript and HTML with all the extras familiar to web developers. On the one hand, web specialists can confidently build such applications, and on the other, they get plenty of ways to talk to the operating system. Slack, mentioned earlier, has its desktop application written in Electron. It all sounds great, and it really is a framework that covers the requirements of most projects, but it has a few drawbacks. One of the more significant ones is the huge size of the published application: something written in C++ that weighs about 5 MB after compilation can take up several hundred megabytes in Electron.
That is why alternatives started to appear, the most promising of which is the Tauri framework, which lets you write in JS and in the already mentioned Rust. Xamarin (C#) and the previously mentioned Flutter (Dart) are also worth getting to know. There are also many lesser-known engines, and sometimes theoretically cross-platform Java solutions such as JavaFX are enough. We must not forget Qt, a framework known for many years, which now lets you write applications not only in C++ but also in JavaScript or Python (thanks, Arek, for the reminder).
So the choice is quite large. While there are situations where we cannot avoid native languages, in my experience Electron, or its alternative Tauri, is in most cases a perfectly suitable solution, especially for applications that closely resemble websites but need to work with the user's disk.
When is it worth considering desktop applications?
As mentioned, web and mobile applications dominate the market, but desktop applications have their uses too. They should at least be considered where:
- access to the user's disk is needed,
- "contact" with services running in the system or other system-specific solutions is necessary,
- very large hardware resources are required,
- the software is to monitor the internal network or interact in some way between devices on the company network,
- being able to use the application without an Internet connection is crucial,
- there is no need to communicate with a server.
In the past we have built such applications. It is indeed not common, but it can be essential because of project requirements or the context of the data being processed. Sometimes web and desktop software must also be built side by side. It all depends on the project and its needs.
Summary
Desktop applications have been in retreat, and for a long time. But that does not mean they have disappeared completely, and they will not. They are still needed, and although the range of their use has shrunk considerably, sometimes they cannot be replaced by either web or mobile applications. Today's "desktops" also look and work a bit differently, and they do not have to come with the problems we had a dozen or so years ago.
Best regards and thank you, Jakub Rojek.


