[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] C libraries.



> I'm looking unix oriented, portable C libraries which implement

"unix" or "portable"?
Let me ignore the "unix", and assume that you are looking for a real
portable library, that runs under Windows, OS2, OS/390, PocketPC, etc.
(and UNIX/Linux of course!)

> 1. Basic data structures ( similar to C++/STL )
> 2. OS/Network abstraction layer ( Socket, Thread etc.. )
> 3. Some design patterns framework like thread pool, reactor etc..

http://apr.apache.org is the exact and clear answer for all of your
requirements.

glibc is located almost on the other side of the scale (unless you
insist on comparing it with libraries which are even worse).

Notes:
======
1. Although much experience has been achieved recently using APR, only
   three important packages use it (Apache, subversion, and a third
   that I don't remember).
2. APR "forces" you to use allocation pools; Some people may dislike
   it (For example, I miss the "realloc"...)
3. The best way to install APR, right now, is to download the latest
   CVS of Apache2, and then ensure that nothing major was checked in
   (into APR) during the following 24 hours. Or wait 2-3 weeks for
   Apache 2.0.26.

-- 
Eli Marmor
marmor@netmask.it
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
__________________________________________________________
Tel.:   +972-9-766-1020          8 Yad-Harutzim St.
Fax.:   +972-9-766-1314          P.O.B. 7004
Mobile: +972-50-23-7338          Kfar-Saba 44641, Israel

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il