Browse Prior Art Database

Implementing Locale as Dynamically Loaded Shared Object Files

IP.com Disclosure Number: IPCOM000108254D
Original Publication Date: 1992-May-01
Included in the Prior Art Database: 2005-Mar-22
Document File: 2 page(s) / 67K

Publishing Venue

IBM

Related People

Tucker, TO: AUTHOR

Abstract

Disclosed is an approach for the storage of locale data which uses dynamic loading to achieve system-wide sharing of locale data and per-locale C library performance optimization.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 53% of the total text.

Implementing Locale as Dynamically Loaded Shared Object Files

       Disclosed is an approach for the storage of locale data
which uses dynamic loading to achieve system-wide sharing of locale
data and per-locale C library performance optimization.

      A C library which supports the POSIX and XPG
internationalization requirements relies on a body of data called
locale.  This locale database in conjunction with existing and new
API provides developers with the services necessary to write
locale-sensitive and codeset- independent applications.

      The locale database for many locales is very large; it is
therefore important that this data be shared as much as possible.
Implementing the locale database as a shared object file which can be
dynamically loaded satisfies this requirement since data so loaded is
subsequently shareable by all processes in the system.

      The C library functions which support internationalization can
be broken into two groups.  The first group consists of those
functions which must access locale data directly.  The second group
consists of those functions which can access the locale data
indirectly by relying on some other function.

      The first group of functions are implemented as methods.  That
is, they are saved with the locale data in the shared locale object
and are loaded as needed when the locale object is loaded.  This
approach allows a different implementation of a method for each
locale (although this...