Ptypes

Jul 20, 2023

C++ Portable Types Library

PTypes is a C++ Portable Types Library. It offers the following features

  • Threads and synchronization objects along with message queues solve the vital problem of diversity of the threading API’s on different platforms.
  • IP socket classes and utilities provide complete IP-based framework for both client-side and server-side programming. They can be combined with PTypes multithreading.
  • Dynamic strings, variants, character sets, date/time type and various kinds of dynamic and associative arrays Delphi programmers will find them very similar to the ones in their favorite language.
  • Streaming interfaces provide buffered I/O with simple and powerful text parsing methods. A strictly defined syntax for the given text format or a formal language can be represented by calls to PTypes token extraction methods. The unified streaming interface is applicable to files, named pipes and network sockets.
  • Special thread class with enhanced functionality called unit. Units have their own main and input/output ‘plugs’; they can be connected to each other within one application to form pipes, like processes in the Unix shell.
  • Finally, everything above is portable all platform-dependent details are hidden inside.


Checkout these related ports:
  • Zziplib - Library to provide transparent read access to zipped files
  • Zydis - Fast and lightweight x86/x86-64 disassembler library
  • Zycore-c - Support library with platform independent types, macros, etc for Zydis
  • Zthread - Platform-independent object-oriented C++ threading library
  • Zookeeper - Coordination Service for Distributed Applications
  • Zls - Zig LSP implementation + Zig Language Server
  • Zfp - High throughput library for compressed floating-point arrays
  • Zeal - Offline documentation browser
  • Zapcc - C++ caching compiler based on clang
  • Zanata-platform - Web-based translation platform
  • Zanata-cli - Zanata Java command line client
  • Z88dk - Complete Z80/Z180 development kit
  • Z80ex - ZiLOG Z80 CPU emulator library
  • Z80asm - Assembler for the Z80 microprocessor
  • Z80-asm - Z80 assembly code assembler and disassembler