![]() NSPR, while far from perfect, does provide a single API to which clients may program and expect reasonably consistent behavior. The software industry's offering of threads lacks consistency. It strives to not export the lowest common denominator, but to exploit the best features of each operating system on which it runs, while still providing a uniform service across a wide range of host offerings. ![]() NSPR has the goal of providing uniform service over a wide range of operating-system environments. 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++. (The "20" in "NSPR20" does not mean "version 2.0" but rather "second generation".) Many of the concepts show reform, expansion, and maturation. NSPR20, an effort started in 1996, built on that original idea, though very little remains of the original code. The first generation of NSPR originally aimed just to satisfy the requirements of porting Java to various host environments. NSPR does not have as a goal the provision of a platform for the porting into Netscape of externally developed code. Some manufacturers expect and prefer that programmers restructure and perhaps even rewrite existing code in order to use the NSPR API. ![]() ![]() 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. 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. basic memory management ( malloc and free).NSPR provides platform independence for non-GUI operating system facilities. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |