search
HomeOperation and MaintenanceLinux Operation and MaintenanceAfter QQ was refactored with Electron, it finally realized the unification of the three-terminal architecture of Linux, macOS, and Windows!


After 24 years of changes, the national application QQ has become a memory of the post-80s/90s generation and the main battlefield of the post-00s generation. Now, because of the release of a latest version of QQ, it has attracted the attention of technical people of all ages.

On July 3, Tencent officially launched the trial version of Windows QQ v9.9.0. To say what is special about this version, the biggest highlight is its new 64-bit version support. Based on the new NT architecture, has since officially implemented macOS, Linux, Windows The three terminals are unified, making the operation smoother and faster.

After QQ was refactored with Electron, it finally realized the unification of the three-terminal architecture of Linux, macOS, and Windows!

#macOS, Linux, Windows desktop version QQ adopts the new NT technology architecture


##Always, a set of The ability of code to run on multiple terminals is a goal that many modern application developers and teams have always pursued, including today's QQ team.

However, in the early PC era, when Windows dominated the world, QQ only had a Windows version, so there was no such consideration.

Until 2008, Tencent successively launched QQ for Linux and QQ for Mac versions.

theneach platformAfter more than ten years of continuous development, according to Tencent client engineer and Zhihu netizen MagiLu (https ://www.zhihu.com/people/m-a-g-irevealed that since the three terminals were initially independent teams and independent code implementations, Windows has the richest and most comprehensive functions, and Mac is the main Innovative experience, relatively few functions, Linux is the crudest. With the baptism of mobile Internet, various organizational structure adjustments, talent flows and business changes, the current desktop QQ is in a state that is relatively bloated, difficult to maintain, and lacks updates and iterations. .

Based on this, the Tencent QQ team decided to launch the QQ architecture upgrade plan last year, abandoning the Native development method previously adopted by the desktop version, and choosing instead Use cross-platform solutions to bring a new QQNT architecture.

牛逼啊!接私活必备的 N 个开源项目!赶快收藏

After QQ was refactored with Electron, it finally realized the unification of the three-terminal architecture of Linux, macOS, and Windows!

The so-called NT means New Technology.


As a new version of QQ desktop UI cross-platform solution, NT architecture can realize the unification of QQ architecture among multiple systems.


In September last year, Tencent took the lead in upgrading the Mac version of QQ. This was also Tencent’s first new reconstruction of the desktop QQ based on the NT technology architecture. The latest technology architecture, more stable performance, smoother transmission, and easier maintenance.

Also in December last year, Tencent launched the QQ Linux 3.0 version in full swing. It implements a new architecture based on the QQNT technical architecture driver, supports x64 systems and arm64 systems, and brings multiple functional improvements and expand.

Now, Tencent has completed the upgrade of the last desktop version of Windows QQ, which means adopting the new NT technology architecture, QQ is available for the first time The unified architecture on the three platforms of Window, macOS, and Linux has also allowed the QQ team to end the days of tinkering with the code that netizens ridiculed.

#Using Electron framework


The new software architecture framework launched by QQ platform this time mainly uses Electron technology to achieve the unification of QQ architecture among multiple system platforms.

After QQ was refactored with Electron, it finally realized the unification of the three-terminal architecture of Linux, macOS, and Windows!

It is not difficult to see that Electron plays an indispensable role in it.

It is worth mentioning that today’s desktop application software basically needs to run across platforms, and technologies such as MFC and Duilib cannot meet the demand. Today's cross-platform desktop application software development mostly uses Qt and Electron.

Then why didn’t Tencent choose Qt instead of using Electron?

In fact, compared to Electron, Qt has the advantages of high operating efficiency, robust architecture, and powerful performance. However, according to MagiLu, the reason for not using Qt is related to Tencent’s internal talent reserve and technology accumulation. He said, “Qt is indeed a good choice in terms of performance, but the team currently does not have much accumulation in Qt. There is basically no infrastructure, and there is actually a shortage of relevant talents in the market, making it even more difficult to recruit."

Therefore, based on internal investment costs and accumulation, it adopted Electron technology.

Specifically, Electron (https://github.com/electron/electron) is a cross-platform desktop development environment based on Node.js and Chromium. Electron integrates the browser kernel Packaged with the backend Node.js service, a full-stack development environment using JavaScript is implemented. The program can be deployed to Windows, macOS, and Linux platforms without any modification.

Today, Electron has been used for front-end and back-end development by multiple open source web applications. Famous projects include Microsoft's Visual Studio Code. In addition, when searching for public accounts, Linux should learn how to reply "monkey" in the background and get a surprise gift package.

At the same time, according to survey data, Electron has also been selected as the most popular desktop cross-platform solution among developers in recent years. Electron's versatility (it can be used with any UI framework, even if it's usually associated with React or Vue.js) may also explain why it receives the highest satisfaction ratings.

After QQ was refactored with Electron, it finally realized the unification of the three-terminal architecture of Linux, macOS, and Windows!


The eye-catching new desktop version of QQ


As an old application, QQ is still a social tool for many young people today. Tencent has also been committed to building platform integration, and even announced not long ago that QQ can be logged in with WeChat accounts to continue to activate QQ users.

Now the QQ UI, which has been upgraded with new technology architecture, looks more refreshing and simple. The message interface adopts a three-column design, allowing the avatar, chat list, and chat window to be in the same frame.

This seems to look more like the desktop WeChat interface, doesn’t it?

After QQ was refactored with Electron, it finally realized the unification of the three-terminal architecture of Linux, macOS, and Windows!

In addition, Windows QQ also supports one-click opening of voice and video in chat, as well as night mode, sending files and text together, and other functions to better meet the different needs of desktop users.

At the same time, Tencent brings a multi-terminal unified experience of Linux, Mac, and Windows to QQ based on the NT technology architecture, and also provides certain reference significance for the ecological unification of domestic software in the industry. Leaving aside Windows and Mac in daily life, One of the important reasons why many people do not use Linux-based operating systems is that many applications are incompatible.

After QQ was refactored with Electron, it finally realized the unification of the three-terminal architecture of Linux, macOS, and Windows!

# At present, as QQ realizes the unified experience of three terminals, it is undoubtedly of great significance to domestic software.


"Memory Killer" Electron?


## However, what is also somewhat disappointing is that due to the new NT Due to the dependence of the architecture on Electron, many netizens are worried that the demand for computer memory of the new version of QQ is likely to be much higher than that of the old version.

After all, even though Electron has countless advantages, it can’t hide the shortcomings of resource consumption for its operation.

Because of this, a few days ago, WhatsApp, an instant messaging application owned by Meta Company, announced that it would abandon the Electron-based desktop application on Windows, prompting users to switch to the newly launched native application for uninterrupted access.

Two months ago, Teams, owned by Microsoft, announced that it had rebuilt the Teams application from the ground up around speed, performance, flexibility and intelligence, with its technology transitioning from Electron to the WebView 2 rendering engine.

Faced with the desktop version of QQ using Electron, some netizens said:

  • When faced with WeChat, DingTalk, QQ , even the browser freezes directly, you can realize how bad the experience of Electron application is;

  • Electron is a good thing for programmers, the development speed Faster. But for users, it is undoubtedly a disaster. After all, not everyone’s computer has 32 GB of memory.

There are also media reports on this issue. Currently, QQ The technical team has set goals in multiple stages, from single process memory optimization to overall memory control, and the new version has achieved effective optimization results.

Finally, it is reported that Tencent also plans to release a mobile version of QQ based on the NT architecture in the near future. So, will you use the new version of QQ? What do you think of QQ using Electron?

Reference:

https://www.zhihu.com/question/570447541/answer/2791939780

https://www.ithome.com/0/703/474.htm

The above is the detailed content of After QQ was refactored with Electron, it finally realized the unification of the three-terminal architecture of Linux, macOS, and Windows!. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:Linux中文社区. If there is any infringement, please contact admin@php.cn delete
Maintenance Mode in Linux: A System Administrator's GuideMaintenance Mode in Linux: A System Administrator's GuideApr 26, 2025 am 12:20 AM

Maintenance mode plays a key role in Linux system management, helping to repair, upgrade and configuration changes. 1. Enter maintenance mode. You can select it through the GRUB menu or use the command "sudosystemctlisolaterscue.target". 2. In maintenance mode, you can perform file system repair and system update operations. 3. Advanced usage includes tasks such as resetting the root password. 4. Common errors such as not being able to enter maintenance mode or mount the file system, can be fixed by checking the GRUB configuration and using the fsck command.

Maintenance Mode in Linux: When and Why to Use ItMaintenance Mode in Linux: When and Why to Use ItApr 25, 2025 am 12:15 AM

The timing and reasons for using Linux maintenance mode: 1) When the system starts up, 2) When performing major system updates or upgrades, 3) When performing file system maintenance. Maintenance mode provides a safe and controlled environment, ensuring operational safety and efficiency, reducing impact on users, and enhancing system security.

Linux: Essential Commands and OperationsLinux: Essential Commands and OperationsApr 24, 2025 am 12:20 AM

Indispensable commands in Linux include: 1.ls: list directory contents; 2.cd: change working directory; 3.mkdir: create a new directory; 4.rm: delete file or directory; 5.cp: copy file or directory; 6.mv: move or rename file or directory. These commands help users manage files and systems efficiently by interacting with the kernel.

Linux Operations: Managing Files, Directories, and PermissionsLinux Operations: Managing Files, Directories, and PermissionsApr 23, 2025 am 12:19 AM

In Linux, file and directory management uses ls, cd, mkdir, rm, cp, mv commands, and permission management uses chmod, chown, and chgrp commands. 1. File and directory management commands such as ls-l list detailed information, mkdir-p recursively create directories. 2. Permission management commands such as chmod755file set file permissions, chownuserfile changes file owner, and chgrpgroupfile changes file group. These commands are based on file system structure and user and group systems, and operate and control through system calls and metadata.

What is Maintenance Mode in Linux? ExplainedWhat is Maintenance Mode in Linux? ExplainedApr 22, 2025 am 12:06 AM

MaintenanceModeinLinuxisaspecialbootenvironmentforcriticalsystemmaintenancetasks.Itallowsadministratorstoperformtaskslikeresettingpasswords,repairingfilesystems,andrecoveringfrombootfailuresinaminimalenvironment.ToenterMaintenanceMode,interrupttheboo

Linux: A Deep Dive into Its Fundamental PartsLinux: A Deep Dive into Its Fundamental PartsApr 21, 2025 am 12:03 AM

The core components of Linux include kernel, file system, shell, user and kernel space, device drivers, and performance optimization and best practices. 1) The kernel is the core of the system, managing hardware, memory and processes. 2) The file system organizes data and supports multiple types such as ext4, Btrfs and XFS. 3) Shell is the command center for users to interact with the system and supports scripting. 4) Separate user space from kernel space to ensure system stability. 5) The device driver connects the hardware to the operating system. 6) Performance optimization includes tuning system configuration and following best practices.

Linux Architecture: Unveiling the 5 Basic ComponentsLinux Architecture: Unveiling the 5 Basic ComponentsApr 20, 2025 am 12:04 AM

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

Linux Operations: Utilizing the Maintenance ModeLinux Operations: Utilizing the Maintenance ModeApr 19, 2025 am 12:08 AM

Linux maintenance mode can be entered through the GRUB menu. The specific steps are: 1) Select the kernel in the GRUB menu and press 'e' to edit, 2) Add 'single' or '1' at the end of the 'linux' line, 3) Press Ctrl X to start. Maintenance mode provides a secure environment for tasks such as system repair, password reset and system upgrade.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!