ptypes

一個STL 的簡單替代品,包括了多執行緒和網路通信。它定義了動態字元串、通用類型、字元集合、列表和其它基本數據類型以及可移植的執行緒和同步對象,IP 套接字以及命名管道。

基本介紹

  • 外文名:ptypes
  • 目標:實現各種複雜的網路服務程
  • 優點:簡單而直觀的接口
  • 包括:多執行緒和網路通信
中文版簡介,英文版簡介,

中文版簡介

PTypes(C++ Portable Types Library
)它的主要實現目標是用於實現各種複雜的網路服務程
序、機器人或者非可視化互動的客戶機/伺服器程式。
PTypes 定義了簡單而直觀的接口,與STL 不同的是它對使用模板採取的保守態度。PTypes
庫可以移植到許多現代作業系統上(目前已經有FreeBSD 、Linux、SunOS、Mac OS X 和
Windows 平台的移植)。所有平台相關細節都被隱藏在內部。一個簡單的叫做wshare 的網頁
伺服器包含在其中,用於展示庫的使用。
}

英文版簡介

PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading and networking. It defines dynamic strings, variants, character sets, lists and other basic data types along with portable thread and synchronization objects, IP sockets and named pipes. Its main `target audience' is developers of complex network daemons, robots or non-visual client/server applications of any kind.
PTypes defines simple and intuitive interfaces and differs from the STL in fairly moderate use of templates. The library is portable across many modern operating systems (currently Linux, MacOS X, SunOS, FreeBSD, HP-UX and Windows). All platform-dependent issues are hidden inside. A simple web server called wshare is included in the package to demonstrate the full power of the library.
And finally, PTypes is open and free.

相關詞條

熱門詞條

聯絡我們