*** Welcome to piglix ***

Netscape Portable Runtime

Netscape Portable Runtime
Developer(s) Mozilla Foundation / Mozilla Corporation
Stable release 4.14 (March 24, 2017; 38 days ago (2017-03-24))
Written in C
Operating system Cross-platform
Type Software library
License MPL
Website developer.mozilla.org/docs/NSPR

In computing, the Netscape Portable Runtime, or NSPR, a platform abstraction library, makes all operating systems it supports appear the same to (for example) Mozilla-style web-browsers. NSPR provides platform independence for non-GUI operating system facilities. These facilities include:

Much of the library, and perhaps the overall thrust of it in the Gromit environment, provides the underpinnings of the Java virtual machine, more or less mapping the sys layer that Sun defines for the porting of the Java VM to various platforms. NSPR does go beyond that requirement in some areas, as it also functions as the platform-independent layer for most of the servers produced by Netscape. Some manufacturers expect and prefer that programmers restructure and perhaps even rewrite existing code in order to use the NSPR API. NSPR does not have as a goal the provision of a platform for the porting into Netscape of externally developed code.

The first generation of NSPR originally aimed just to satisfy the requirements of porting Java to various host environments. NSPR20, an effort started in 1996, built on that original idea, though very little remains of the original code. (The "20" in "NSPR20" does not mean "version 2.0" but rather "second generation".) Many of the concepts show reform, expansion, and maturation. As of 2009 NSPR may still function appropriately as the platform-dependent layer under Java, but it primarily serves in supporting clients written entirely in C or in C++.


...
Wikipedia

...