Any value in a APR or NSPR port?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Oobles
Site Admin
Posts: 347
Joined: Sat Jan 17, 2004 9:49 am
Location: Melbourne, Australia
Contact:

Any value in a APR or NSPR port?

Post by Oobles »

Just curious of what people think of porting either the Apache Portable Runtime library or Netscape Portable Runtime. Both of these projects seem to have a nice set of features.

The latest APR includes Atomic operations, Dynamic Shared Object Loading, File I/O, Locks, Memory management, Memory-maped files, multicast sockets, network i/o, shared memory, thread and process management, data structures(tables, hashes, priority queues,etc).

Apache Portable Runtime
http://apr.apache.org/

Netscape Portable Runtime
http://www.mozilla.org/projects/nspr/

Anyone had any experience with either of these? It could be that they won't add any value at this level?

David. aka Oobles.
User avatar
groepaz
Posts: 305
Joined: Thu Sep 01, 2005 7:44 am
Contact:

Post by groepaz »

what interisting projects are there that use those libs?
Oobles
Site Admin
Posts: 347
Joined: Sat Jan 17, 2004 9:49 am
Location: Melbourne, Australia
Contact:

Post by Oobles »

It wasn't so much if current projects use them, but if future projects might find them useful. I've got no interest in porting Firefox or Apache, however, parts of those projects could be useful. I've got a few ideas for some networking based apps I'd like to do. Developing them in a portable way would be a plus.
holger
Posts: 204
Joined: Thu Aug 18, 2005 10:57 am

Post by holger »

what's the point of wrapping POSIX?
jsgf
Posts: 254
Joined: Tue Jul 12, 2005 11:02 am
Contact:

Post by jsgf »

Seems like overkill to me. If we can wrap the networking in a fairly standard sockety library and wrap threading in pthreads, then we're most of the way there.

mmap, shared memory, etc are clearly not applicable to this platform, so there's no benefit there.
Post Reply