Location>code7788 >text

Domestic open source cross -platform software development framework new choices: soui5

Popularity:75 ℃/2025-02-03 11:41:15

Introduction to SWINX

SWINX is a set of Windows APIS running under the Linux platform after nearly a year, source code: source code:Github or GiteeS represents Simple also produced on behalf of the setting up software. Win represents Windows and X represents a cross -platform. A client project with a GUI first needs to provide conventional process startup and thread scheduling support for the operating system. This is the conventional function of OS; more importantly, it also needs the system to provide a window -based UI support. SWINX provides window management API (HWND series API) under the Windows platform, graphic drawing API (GDI series API), kernel object API (Event, Mutex, Symaphore, etc.). Essence

The products similar to SWINX are Wine. The design goal of WINE is to be binary on the Linux platform to be compatible with the existing procedures on Windows platform. This design goal makes Wine very large. However, in practical applications, there are very few large projects that Wine can run perfectly (such as QQ, WeChat and other products, and it is impossible for products to run on the Linux platform through WINE).

SWINX refers to the design of WINE, but SWINX's design goal is the product of the source code -level compatible Windows platform. Software manufacturers have a software product that runs on the Windows platform. It can compile software that runs on the Linux platform (the support of subsequent MacOS platforms is also planned). Different from WINE is that Wine is based on the X11 API, and X11 API is a set of synchronous API launched by the Linux platform in the early days. Now the Linux platform provides higher -performance XCB APIs. XCB uses asynchronous framework, which has significantly improved the performance of X11.

Different from the grandness of WINE, SWINX only implements the necessary APIS, so SWINX is very streamlined. Slightly experienced programmers can simply control SWINX. How to discover which API implementation is missing during the development process, users can easily increase these themselves. API.