New series, volume 1

The history of free software for Windows and the evolution of desktop application development

Hello, my name is Mirumi, and I run a blog called miru memo (https://mirumi.me). My main profession is as a software engineer, and I spend my days either programming or writing for my blog. For some time, I will be contributing articles on a wide range of topics, primarily focusing on IT technology. Please treat me kindly.

When I was considering what topic to start with, the keyword "free software" seemed appropriate because it was the catalyst that made my blog widely read. This was also a kind of "first time" for my own blog, and it could be linked to being the "first time" in this magazine's Up&Coming section.

For Windows users, free software represents an important cultural phenomenon. This section provides a brief overview and summary of the evolution of free software and the key technologies used in modern desktop application development.

The era of .NET Framework and the boom of free software

When you think of "free software," many people probably imagine something like this. [Image 1]

By the way, this is a free software called "Zenbu Hiraku" that I developed some time ago.

This was created using the .NET Framework provided by Microsoft. A key feature is its ability to place various UI components (buttons, input forms, etc.) using a mouse, and this ease of use attracted many programmers. Even those working in hardware development may have experience with languages like VB or C# due to developing debugging tools, among other things. [Image 2]

2. Installing UI components within the integrated development environment (Microsoft Visual Studio).

A list of available GUI components (referred to as "controls") is available on a page I created with original illustrations; please take a look if you are interested. https://mirumi.tech/dotnet-control-list

In addition to the feature of being able to receive data input from users through a GUI, a major appeal was the easy access to APIs that wrapped Windows native functions. This is likely what allowed it to become dominant in the free software market. It also offered developers a high degree of freedom, and its ability to create OS customization software contributed to its popularity. [Image 3]

3. Architectural overview diagram of the .NET Framework.
We build executable binaries using class libraries that provide access to Windows features, while incorporating differences from multiple programming languages.
(Source: https://dotnet.microsoft.com/ja-jp/learn/dotnet/what-is-dotnet-framework)

Furthermore, I believe that one of the reasons why the .NET Framework gained popularity was because programming languages like JavaScript, which are considered part of the "web" ecosystem, were not yet fully mature at the time. It was a groundbreaking solution for easily creating graphical user interfaces.

The emergence and decline of Universal Windows Platform (UWP), and the widespread adoption of different frameworks

For a while after that, the era of the .NET Framework continued, but with the rise of browser-based programming as mentioned earlier, there was growing momentum to "create cross-platform applications with a more modern user interface!"

Here, Microsoft announced a new framework called UWP (Universal Windows Platform), but unfortunately (as far as I know), it did not become very popular and declined.

※ Actually, there was something called WPF (Windows Presentation Foundation) before UWP, but we will omit it for this time. [Image 4]

4. A diagram illustrating the new UWP (Universal Windows Platform) announced by Microsoft.
(Source: https://learn.microsoft.com/ja-jp/visualstudio/cross-platform/develop-apps-for-the-universal-windows-platform-uwp)

There are 2 main reasons why it didn't become popular:

  • UWP was only supported on Windows 10 and later, but fewer users upgraded to Windows 10 than Microsoft had anticipated, which significantly narrowed the range of devices it could be used on.
  • Previously, "free software" had the advantage of portability because individual developers could directly distribute executable files on their own websites. However, UWP has a significant limitation in that it can only be installed from the Microsoft Store. Even now, the Microsoft Store is not very well-received (this is my personal opinion).
    There is also a method for distribution that bypasses the Microsoft Store (sideloading), which is available as an option for development purposes.

In addition, restrictions were added to certain Windows features that could be executed from the framework, primarily for security purposes. This meant that many existing free software programs couldn't be fully replaced. Furthermore, a new era began in the world of desktop applications during this time.

As the concept of cross-platform development gained traction, a related idea emerged: that developers should not be limited to relying solely on frameworks provided by specific operating system vendors (such as Microsoft).

A prime example in this context is Electron. It's a framework that allows you to use UI control programs written in JavaScript directly as the GUI for desktop applications. This enables not only the creation of applications for Windows and macOS, but also the possibility of unifying implementations between web pages and desktop applications.

※ Ironically, GitHub, which was originally the developer of Electron, would later be acquired by Microsoft... [Image 5]

5. This is a version rewritten using Electron of "Zenbu Hiraku," a program developed by the author mentioned previously.
It adopts an interface commonly seen on websites.

Many applications that are now essential and widely used, such as Microsoft's "Visual Studio Code" and the communication tool "Slack," which is a de facto standard, were actually developed using Electron.

However, I believe there's an important point to consider in this article, which is whether this can be considered "free software" in the conventional sense.

While it's certainly free software, it somehow feels a bit different from what we typically imagine when we think of "free software."

This illustrates just how overwhelming the initial boom of free software driven by the .NET Framework was, and it also suggests that the term "free software" may have had a practical "role-labeling" function.

For example, a well-known software built with Electron can be described as "simply a desktop client that provides the same services available in a browser," meaning it's essentially just a different interface. This strong impression leads people to believe that it's unlike traditional software that customizes the operating system's behavior, and consequently, they might feel that "it doesn't quite fulfill the expectations associated with the term 'free software'."

This is just one opinion of mine, but it's very interesting how the development policies of services offered in modern times are intricately linked to the historically significant term "free software."

Can the new .NET and Windows App SDK become the true standard for Windows 10 and later?

Frameworks for developing cross-platform desktop applications, including Electron, have become popular, and Microsoft has been launching various new initiatives in an attempt to catch up.

Currently, representative examples include "Xamarin," which was announced to end support in 2024, and ".NET Core," which was also developed as a web application framework.

However, these ultimately ended up being integrated into a newly created framework called ".NET" (a key difference from the previous versions is that nothing follows ".NET" in the name). It seems they are trying to utilize all of their past development achievements through a concerted effort.

So, what is the current status of the traditional .NET Framework that we used to call "free software"? While there isn't a direct connection explicitly stated, it seems likely that the Windows App SDK (formerly Project Reunion) has taken over its role. [Image 6]

6. The positioning of the Windows App SDK.
(Source: https://ascii.jp/elem/000/003/047/3047136/img.html)

Microsoft, perhaps reflecting on the shortcomings of UWP, seems to have realized that "users still want something like .NET Framework." Therefore, they are pursuing a project aimed at true integration, which seeks to "allow access to modern UI and APIs from classic applications, and also provide support for major APIs that became inaccessible through UWP."

The UI set included in the Windows App SDK is called "WinUI 3," which, simply put, is the UI of the native "[Settings]" app in Windows 10 and 11. [Image 7]

7. UI appearance examples using WinUI (the author has obscured personal information in these images).

By this era, Windows 10 had become sufficiently widespread, so the issue of compatibility with various operating environments was largely resolved. While sideloading is slightly easier than using the UWP method, it still requires several additional steps. The adoption of the Microsoft Store has been somewhat promoted over time, but there is still room for improvement in this area.

As mentioned above, I believe there is a certain connection between the culture of free software surrounding Windows and the development situation of desktop applications.

I am very interested in Microsoft's future desktop application strategy, and I am also excited to see how the culture of free software develops among Japanese people.

(Written by Miru)

(Featured in the Summer Issue of Up&Coming '23)



Index
    
Next page

Up&Coming

LOADING