On Wed, Mar 17, 2010 at 01:48:06PM -0700, Garrett D'Amore wrote: > On 03/17/10 01:25 PM, Nicolas Williams wrote: > >There's a number of projects that could greatly benefit from a C library > >(even if that were implemented using IPC to a python daemon that uses > >your python library). For example, ssh(1) and sshd(1M) (which currently > >execute and parse the output of locale -a). But also C implementations > >of a growing number of Internet protocols that provide globalization > >features. > >[...] > > Agree strongly. I think there may be a call here for both C and > Python bindings.
Also, with regards to a C implementation, while I'd be happy with one that called out to a python daemon in the short-term, I'd not recommend that approach in the long-term, since that would tend to result in large numbers of daemons whose only purpose is to make available to C apps APIs that should really have been written in C in the first place. I think Python and other HLLs are fine for many purposes, but they are not fine for writing system libraries for an OS that is mostly written in C. Locales in particular and much G11N infrastructure are really low-level and core features of the OS. They should be written in C. Nico --