 |
C++ Portable Types Library (PTypes) - Default branch
|
Section: Unix |
|
|
|
| Added: Tue, Jun 18th 2002 03:05 PDT (5 years, 11 months ago) |
Updated: Wed, Jun 27th 2007 09:11 PDT (10 months, 20 days ago) |
|
|
About:
The C++ Portable Types Library (PTypes) is a simple alternative to the STL that includes multithreading and networking. It defines dynamic strings, character sets, variants, lists and other basic data types along with threads, synchronization primitives and IP sockets. It is portable across modern Unix and Windows systems and includes a sample HTTP daemon showing the full power of the library.
Author:
Hovik Melikyan [contact developer]
Homepage:
http://www.melikyan.com/ptypes/
Tar/GZ:
http://www.melikyan.com/ptypes/ptypes-2.1.1.tar.gz
Changelog:
http://www.melikyan.com/ptypes/doc/changes.html
CVS tree (cvsweb):
http://ptypes.cvs.sourceforge.net/
Bug tracker:
http://sourceforge.net/tracker/?group_id=56008
Trove categories:
[change]
Dependencies:
[change]
No dependencies filed
|
|
» Rating:
8.49/10.00
(Rank 285)
» Vitality: 0.08% (Rank 2182)
» Popularity: 3.93% (Rank 996)

(click to enlarge graphs)
Record hits: 23,828
URL hits: 16,336
Subscribers: 144
|
|
Branches
Comments
[»]
Very Nice Library!
by Chris - Nov 12th 2004 15:50:26
In the time it took me to get Boost and ACE* compiled and usable as plugin
libraries I was able to make a controlled document webserver application
complete with view/update/tracking/collaboration capabilities using PTypes
library that works in a diverse network environment for proof of
concept.
This is definitely a library that will be a main stay in my own personal
toolbox!
Chris
*I am not being critical of Boost, ACE, or STL as I have used them
extensively and they are great libraries. My point is PTypes is one of
the first truly plug it and go with code bases I have come across in a
long time with such a gentle learning curve/functionality ratio. Awesome
library.
-- ~
~
:wq
[reply]
[top]
[»]
PTypes / STL comparative
by jespa - May 18th 2004 07:55:30
Has somebody done a comparative between PTypes and STL? It should be nice
to see a comparative about performance and memory ocupation for several
hungry-resource problems.
Jose Miguel Espadero
[reply]
[top]
[»]
Re: PTypes / STL comparative
by Hovik Melikyan - May 18th 2004 09:45:11
>
> Has somebody done a comparative between
> PTypes and STL? It should be nice to
> see a comparative about performance and
> memory ocupation for several
> hungry-resource problems.
>
I did some tests on my FreeBSD and also on a Windows 2003 machine with
MSVC. In summary, the basic operations on dynamic arrays (std::vector and
pt::tpodlist) are nearly equal, but PTypes produces less binary code.
The picture with dynamic strings is different. PTypes performs better than
Microsoft's string class, but it is worse than GNU.
As for memory usage, PTypes uses less memory space for strings compared to
GNU, by exactly one 'int' per string (the capacity is not stored, a
quantization algorithm is used instead in PTypes).
(BTW, a better place to discuss this is the project management page at
SourceForge.net:
http://sourceforge.net/projects/ptypes/)
-- Hovik Melikyan
[reply]
[top]
|
|
 |