mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Weldon Goree <weldon@langurwallah.org>
To: musl@lists.openwall.com
Subject: Re: Status towards next release (1.1.4)
Date: Sun, 13 Jul 2014 14:16:30 +0530	[thread overview]
Message-ID: <53C24766.2040803@langurwallah.org> (raw)
In-Reply-To: <20140712170008.GM179@brightrain.aerifal.cx>

Just because I figure someone should propose the most brute possible
strategy: what about storing the .mo data in the library itself? Port
the built-ins to the format, and you have a single code path for locale
access, and it doesn't involve persistent storage. If I'm understanding
your idea right and you're talking about the equivalent of
SYS_LC_MESSAGES and parts of LC_TIME and LC_COLLATE, this isn't nearly
as bloated as it sounds at first (particularly if one is putting, say, 4
locales in a given build rather than 446).

Now, obviously maintainers wouldn't like the choice of either 1 bloated
binary or 446 non-bloated binaries (or God forbid the Cartesian product
of all the possible locale combinations), and this kind of violates the
basic idea of locale that you shouldn't need to recompile software to
get it to speak French, but I just wanted to throw that idea out there.

Weldon


  parent reply	other threads:[~2014-07-13  8:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-12  5:10 Rich Felker
2014-07-12  6:02 ` Isaac Dunham
2014-07-12 14:26   ` Rich Felker
2014-07-12 19:13     ` Isaac Dunham
2014-07-12  7:24 ` u-igbb
2014-07-12  8:44   ` Laurent Bercot
2014-07-12 14:55   ` Rich Felker
2014-07-12 16:29     ` u-igbb
2014-07-12 17:00       ` Rich Felker
2014-07-12 17:15         ` u-igbb
2014-07-13  8:46         ` Weldon Goree [this message]
2014-07-14  3:48           ` Rich Felker
2014-07-14 17:55         ` Rich Felker
2014-07-12 14:41 ` Matias A. Fonzo
2014-07-12 14:58   ` Rich Felker
2014-07-12 15:03 ` Rich Felker
2014-07-12 16:41   ` Locale path and security [Was: Status towards next release (1.1.4)] Rich Felker
2014-07-12 17:04   ` Status towards next release (1.1.4) u-igbb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C24766.2040803@langurwallah.org \
    --to=weldon@langurwallah.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).