The Apache Portable Runtime (APR) is a supporting library for the Apache web server. It provides a set of APIs that map to the underlying operating system. Where the OS doesn’t support a particular function, APR will provide a replacement. Thus, the APR can be used to make a program truly portable across platforms.

APR was originally a part of Apache, but has now been spun off into a separate project of the Apache Software Foundation, and is used by other applications to achieve platform independence.

The range of platform-independent functionality provided by APR includes:

  • Memory allocation and memory pool functionality
  • Atomic operations
  • Dynamic library handling
  • File I/O
  • Command argument parsing
  • Locking
  • Hash tables and arrays
  • Mmap functionality
  • Network sockets and protocols
  • Thread, process and mutex functionality
  • Shared memory functionality
  • Time routines
  • User and group ID services


Installation

A very simple tutorial that explains how to compile and install Apache Portable Runtime (apr) on Linux can be found here.


Similar projects

  • Glib provides similar functionality. It supports many more data structures and OS-independent functions, but fewer IPC-related functions (local and global locking, dynamic loading, or shared memory management are not provided).
  • NSPR is a cross-platform abstraction library used by the Mozilla project. It is used by another subproject of Mozilla XPFE to provide cross-platform graphical user interface (GUI) functionality.
  • Adaptive Communication Environment (ACE) is an object-oriented library written in C++ similar in functionality to APR. It is widely deployed in commercial products.
  • WxWidgets is an object-oriented cross-platform GUI library that also provides abstraction classes for database communication, IPC and networking functionality.
  • Qt is a cross-platform application development framework with similar features and can also be used for GUI development.
  • SDL is a cross-platform abstraction library for multimedia applications and computer games that provides features such as 2D graphics, timers, sound, joystick and CD-ROM access.


External links

  • The APR website
  • The current APR programming documentation
  • The Apache Software Foundation website
  • APR tutorial

60 Comments to “Of cross-platform. Apache Portable Runtime”  

  1. 1 Viagra.
  2. 2 Phentermine prescription online.
  3. 3 What is adderall.
  4. 4 Hydrocodone.
  5. 5 Get phentermine.
  6. 6 Adderall.
  7. 7 Amoxicillin and alcohol.
  8. 8 Ultram.
  9. 9 Valium.
  10. 10 Xanax.
  11. 11 Xanax xr crushed.
  12. 12 Soma side effects.
  13. 13 Phentermine.
  14. 14 Discount phentermine.
  15. 15 Amoxicillin.
  16. 16 Amoxicillin false positive for cocaine.
  17. 17 Hydrocodone m357.
  18. 18 Wellbutrin.
  19. 19 Phentermine.
  20. 20 Phentermine weight loss.
  21. 21 Amoxicillin.
  22. 22 Hydrocodone extraction.
  23. 23 Soma.
  24. 24 Percocet high blood pressure.
  25. 25 Ultram.
  26. 26 Adderall.
  27. 27 Amoxicillin.
  28. 28 Amoxicillin.
  29. 29 Viagra.
  30. 30 Canadian prescriptions and percocet.
  31. 31 Tramadol hydrochloride.
  32. 32 Effects of hydrocodone.
  33. 33 Amoxicillin alternative.
  34. 34 Zoloft side effects.
  35. 35 Adderall.
  36. 36 Vicodin.
  37. 37 Adderall.
  38. 38 Fioricet.
  39. 39 Xanax.
  40. 40 Adderall xr.
  41. 41 How long does fioricet show up in blood work.
  42. 42 Soma.
  43. 43 Soma cube.
  44. 44 Ambien overnight.
  45. 45 Amoxicillin dosage.
  46. 46 Effects of vicodin.
  47. 47 Ambien.
  48. 48 Soma sun pilates.
  49. 49 Tramadol.
  50. 50 Valium 10.
  51. 51 Vicodin.
  52. 52 Atlanta ephedra lawyers.
  53. 53 Phentermine.
  54. 54 Buy fioricet.
  55. 55 Dextroamphetamine adderall comparison.
  56. 56 Vicodin.
  57. 57 Extract codeine from fioricet.
  58. 58 Dosing of amoxicillin for sinus infection.
  59. 59 Fda approved ephedra for.
  60. 60 Tramadol.


Leave a Reply

You must log in to post a comment.