-
PTypes 2.0.0: list classes redesigned
In this release container classes/templates have been completely redesigned. As an alternative to std::vector PTypes now offers 2 separate templates, tpodlist and tobjlist, which were specifically designed to eliminate the template 'code bloat' problem and to perform dynamic array reallocations in the most efficient way. A limitation for element types that existed in the previous versions (must be derived from 'unknown') is no longer in effect. The old interfaces for lists are preserved for backward compatibility.
This release also features Cygwin port, a standard installation procedure for UNIX ('make install'), several minor improvements and bug fixes.
2004-03-23 10:45:58 UTC by hovik
-
PTypes 1.9.0: support for thread pools added
This release features a new class 'jobqueue' which serves as a basis for creating the thread pool model in network server and robot applications. A thread pool is a fixed list of reusable thread objects that receive job 'assignments' from a queue. Applying this model to heavily loaded applications removes the overhead of creating and destroying many thread objects. Example 2 in the multithreading examples is now a network server template that demonstrates the usage of the jobqueue class combined with a collection of thread objects.
This release also features implementation of atomic functions for the PowerPC processor, changes in the DLL/so versioning policies, as well as a number of improvements and fixes in various parts of the library. Please, see the change log for details:
http://www.melikyan.com/ptypes/doc/changes.html
There is a new library add-on called pstringx that can be found here:
http://www.melikyan.com/ptypes/doc/ext/pstringx/
2004-01-26 11:19:01 UTC by hovik
-
PTypes 1.7.4: Unix shell in an object-oriented way
The new release 1.7.4 features a new thread class with enhanced functionality called unit. Each unit has its own main() along with input/output 'plugs'. Units within the framework of one application can be connected to each other through local pipes to form stream-oriented data processing chains, like processes in the Unix shell.
Unit is a central concept in our new project called Objection! - an OO shell language and a virtual machine that has the ability to load units compiled into dynamic (shared) libraries and manipulate their properties and methods. Objection! is currently in the stage of architectural design and experimental coding.
For more information on the new release of PTypes, please see: http://www.melikyan.com/ptypes/doc/changes.html
2002-12-09 10:27:07 UTC by hovik
-
PTypes 1.5.3: closer to the real world of networking
The latest fixes and additions in PTypes were mainly targeted to development of real-world robust networking applications. Dynamic strings and some other modules have been optimized and thoroughly tested under `stressing' conditions. Additional features have been added in the input streams to easily protect the server application from denial-of-service attacks. A new sockets example in the documentation can serve as a good starting point for novice network programmers.
2002-08-27 08:52:18 UTC by hovik
-
PTypes 1.4.0: a sample HTTP daemon is now included
The new release includes a sample program called wshare, which is a simple multithreaded HTTP daemon. Wshare shows the full power of PTypes, yet it can be useful itself to quickly share local files over the web. No installation, no configuration, just run wshare with your document path from the command line.
2002-07-09 14:40:23 UTC by hovik