mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Subject: Re: Draft: musl promo materials
Date: Sat, 14 Jul 2012 12:05:15 -0700	[thread overview]
Message-ID: <20120714120515.1b75fddb@newbook> (raw)
In-Reply-To: <20120713233052.GA1110@brightrain.aerifal.cx>

On Fri, 13 Jul 2012 19:30:52 -0400
Rich Felker <dalias@aerifal.cx> wrote:

> Updated version based on some comments.. I think the list is getting
> long enough that it would possibly make sense to reorder/trim it for
> the intended target audience in some usages, and only include the full
> thing on the website.
> 
> Rich
> 
> 
> ----------------------------------------------------------------------
> 
> Consistent quality and implementation behavior from tiny embedded
> systems to full servers.
> 
> Minimal machine-specific code, meaning less chance of breakage on
> minority architectures and better success with "write once run
> everywhere" development.

One criticism I've heard (not saying I agree!) is that you lose
performance with musl thanks to most functions being in C...

> Extremely efficient static and dynamic linking support, yielding small
> binaries and minimal startup overhead.
> 
> Realtime-quality robustness. No unnecessary dynamic allocation. No
> unrecoverable late failures. No lazy binding or lazy allocation.
> 
This reminded me about _XOPEN_REALTIME:
"This Option Group consists of the set of the following options from
within POSIX.1-2008 (see Options ):

    _POSIX_FSYNC
    _POSIX_MEMLOCK
    _POSIX_MEMLOCK_RANGE
    _POSIX_MESSAGE_PASSING
    _POSIX_PRIORITIZED_IO
    _POSIX_PRIORITY_SCHEDULING
    _POSIX_SHARED_MEMORY_OBJECTS
    _POSIX_SYNCHRONIZED_IO
"
Of these, the MEMLOCK ones are the only ones defined yet.
It seems _POSIX_FSYNC is supported, but not advertised.
The other 4 are not defined yet; what's musl's  support for them?
I'm curious how far from  complete _XOPEN_REALTIME support musl is.

X/Open also defines the Advanced Realtime, Realtime Threads, and
Advanced Realtime Threads options.

> MIT license.
> 
> Full math library with a focus on correctness. Exact and
> correctly rounded conversion between binary floating point and decimal
> strings.
> 
> Reentrancy, thread-safety, and async-signal safety well beyond the
> requirements of POSIX. Even snprintf and dprintf are fully reentrant
> and async-signal-safe.
> 
> Highly resource-efficient POSIX threads implementation, making
> multi-threaded application design viable even for memory-constrained
> systems.
> 
> Simple source code and source tree layout, so it's easy to customize
> or track down the cause of unexpected behavior or bugs, or simply
> learn how the library works.

Other than the mention of realtime when no proper realtime support is
advertised in the headers, seems pretty good.



  reply	other threads:[~2012-07-14 19:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-13 18:12 Rich Felker
2012-07-13 19:16 ` Szabolcs Nagy
2012-07-14  6:40   ` orc
2012-07-13 23:30 ` Rich Felker
2012-07-14 19:05   ` Isaac Dunham [this message]
2012-07-15  0:01     ` Rich Felker
2012-07-14 21:45 ` Charlie Kester
2012-07-14 23:06   ` Isaac Dunham
2012-07-14 23:30     ` Gregor Richards
2012-07-15  0:49       ` Isaac Dunham
2012-07-15  0:58         ` Gregor Richards
2012-07-15  0:03     ` Rich Felker

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=20120714120515.1b75fddb@newbook \
    --to=idunham@lavabit.com \
    --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).