posix for windows

The code development speed is fast and the program running performance is high, which is the remnant of all code farmers. And posix for windows is the ideal solution for this grief.
In the selection of server operating systems, Linux has become the mainstream, including financial institutions such as exchanges. In the terminal operating system, windows has become the mainstream because of its simplicity and ease of use. Using visual studio to develop C/C++ programs is higher than other tools in terms of development efficiency. A popular practice is to write cross-platform code in visual studio, and then run it under Linux after passing the test. Since the boost library provides powerful cross-platform capabilities and a very complete API, this mode is becoming more and more effective.
Some big cows prefer to write debugging code directly under linux, and even take pride in using vi and emacs. However, for the general public, developing large-scale software in this way will basically be miserable, and the efficiency is low, in addition to using There is no point in showing it off.
Although mingw and cygwin can directly compile most of the source code under Linux into Windows local programs, they basically have no development tool support, and do not support epoll. Most of the programs related to the network cannot be migrated. In visual studio 2017, it provides the ability to locally edit and debug remote Linux programs. It can not only use the convenience of visual studio, but also directly generate executable code under linux, killing two birds with one stone. Unfortunately, it cannot generate local programs.
quark project, https://github.com/QuarkCloud/quark is committed to implementing a posix library that can be used in visual studio, which can directly write and debug source code in visual studio that can be seamlessly migrated to linux, and can also generate local and linux executables. execute program. Basically, most of the bugs are debugged and repaired under windows, and the debugging cost under linux is reduced.
There are a large number of programs under linux, because they were written early and did not use cross-platform libraries such as boost. With the posix for windows solution of the quark library, you can simply adjust and migrate to windows to enrich your toolbox. And linux developers can easily achieve cross-platform without being careful about the platform features of windows. For those who want to learn linux programming, it is a very effective way and greatly reduces the cost of learning.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324890818&siteId=291194637