Skip to content
  • Home Home Home, current page.
  • Moments Moments Moments, current page.

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
RichFelker's profile
Rich Felker
Rich Felker
Rich Felker
@RichFelker

Tweets

Rich Felker

@RichFelker

Yeah, I do @musllibc, FOSS & infosec stuff. But now is not the time for a mostly-/only-tech Twitter feed.

musl-libc.org
Joined March 2014

Tweets

  • © 2018 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Patrick Walton‏ @pcwalton May 30

      Everyone says they don’t need compiler optimizations because they’re a good programmer, but nobody actually wants to compile with -O0.

      9 replies 3 retweets 62 likes
    2. Rich Felker‏ @RichFelker May 30
      Replying to @pcwalton

      That's so backwards. That you're a good programmer is precisely the reason you DO need optimizations.

      1 reply 4 retweets 23 likes
    3. Rich Felker‏ @RichFelker May 30
      Replying to @RichFelker @pcwalton

      Bad programmers who write unrolled spaghetti C that looks like asm can usually get away with minimal or no optimization. Programmers who write clean high-level code need optimization. Optimization de-incentivizes bad code.

      1 reply 9 retweets 37 likes
    4. John Regehr‏ @johnregehr May 30
      Replying to @RichFelker @pcwalton

      so much shitty C wouldn't exist if people could have trusted the optimizer in 1988

      2 replies 1 retweet 26 likes
    5. Rich Felker‏ @RichFelker May 30
      Replying to @johnregehr @pcwalton

      Have you ever read the old glibc strstr? :-)

      1 reply 0 retweets 6 likes
    6. Patrick Walton‏ @pcwalton May 30
      Replying to @RichFelker @johnregehr

      Now I’m morbidly curious.

      1 reply 0 retweets 5 likes
    7. Rich Felker‏ @RichFelker May 30
      Replying to @pcwalton @johnregehr

      You know you want to go look!

      1 reply 0 retweets 4 likes
    8. Patrick Walton‏ @pcwalton May 30
      Replying to @RichFelker @johnregehr

      What version should I be looking at?

      1 reply 0 retweets 2 likes
      Rich Felker‏ @RichFelker May 30
      Replying to @pcwalton @johnregehr

      For your enjoyment: https://sourceware.org/git/?p=glibc.git;a=blob;f=string/strstr.c;hb=9d13fb2413921c713f83efe331e8e4d219c62c6b …

      5:25 PM - 30 May 2018
      • 4 Retweets
      • 32 Likes
      • null DSA chaos dracolich working group Justin Lavoie jonathankoren™ Alexander Riccio Josh Holland dx � 🎃 Jackie!! emily
      5 replies 4 retweets 32 likes
        1. New conversation
        2. Patrick Walton‏ @pcwalton May 30
          Replying to @RichFelker @johnregehr

          /* possible ANSI violation */

          1 reply 0 retweets 21 likes
        3. John Regehr‏ @johnregehr May 30
          Replying to @pcwalton @RichFelker

          /* UBs R us */

          1 reply 0 retweets 14 likes
        4. isis agora lovecruft‏ @isislovecruft May 30
          Replying to @johnregehr @pcwalton @RichFelker

          oh. my. fucking. god.pic.twitter.com/aqfWyEorih

          12 replies 17 retweets 111 likes
        5.  🎃 elvira geistman  👻‏ @mycoliza May 30
          Replying to @isislovecruft @johnregehr and

          goto jin

          2 replies 1 retweet 17 likes
        6.  🎃 elvira geistman  👻‏ @mycoliza May 30
          Replying to @mycoliza @isislovecruft and

          I think my favorite thing about this code may be that we `goto ret0` rather than just returning 0

          1 reply 0 retweets 17 likes
        7.  🎃 elvira geistman  👻‏ @mycoliza May 30
          Replying to @mycoliza @isislovecruft and

          I'm assuming that this is for some kind of C Reasons

          3 replies 0 retweets 14 likes
        8. John Regehr‏ @johnregehr May 30
          Replying to @mycoliza @isislovecruft and

          I assume it saved 2 bytes of code on VAX

          2 replies 0 retweets 21 likes
        9.  🤓‏ @science_dot May 30
          Replying to @johnregehr @mycoliza and

          Has anybody done an experiment where they implement C std lib in a reasonable way and compare performance with glibc? If musl is that, then I know what to do 🤓

          1 reply 0 retweets 5 likes
        10. 1 more reply
        1. New conversation
        2. John Regehr‏ @johnregehr May 30
          Replying to @RichFelker @pcwalton

          @#$%@#%$@%#$#$%

          2 replies 0 retweets 2 likes
        3. John Regehr‏ @johnregehr May 30
          Replying to @johnregehr @RichFelker @pcwalton

          the only good thing about it is that it doesn't switch the endianness of the processor dynamically

          2 replies 0 retweets 1 like
        4. John Regehr‏ @johnregehr May 30
          Replying to @johnregehr @RichFelker @pcwalton

          someone should benchmark this against musl when both are compiled with modern clang and gcc

          1 reply 0 retweets 0 likes
        5. Rich Felker‏ @RichFelker May 30
          Replying to @johnregehr @pcwalton

          Well the perf ratio is arbitrarily large since it's bad big-O.

          2 replies 0 retweets 1 like
        6. Rich Felker‏ @RichFelker May 30
          Replying to @RichFelker @johnregehr @pcwalton

          Just search for a^Mb in a^Nb, N>>>M.

          0 replies 0 retweets 1 like
        7. End of conversation
        1. Rich Felker‏ @RichFelker May 30
          Replying to @RichFelker @pcwalton @johnregehr

          Its the naive quadratic algorithm, with all the branches tweaked for some particular version of gcc and particular cpu. Which ones, history has forgotten.

          0 replies 0 retweets 3 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. New conversation
        2. Hedgehog  🦔‏ @SilverEzhik May 30
          Replying to @RichFelker @pcwalton @johnregehr

          Ah yes, my favorite poem,pic.twitter.com/OJ93XQ3xZE

          2 replies 25 retweets 44 likes
        3. 1 more reply
        1. New conversation
        2. Richard‏ @halkyardo May 30
          Replying to @RichFelker @pcwalton @johnregehr

          SCREAMINGpic.twitter.com/grDp3xYCUj

          1 reply 0 retweets 4 likes
        3. Garbodorian '@jack Actively Supports Nazis' Gray‏ @GarbodorianGray May 30
          Replying to @halkyardo @RichFelker and

          pic.twitter.com/O36pLVN1xN

          0 replies 0 retweets 1 like
        4. End of conversation

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2018 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Cookies
        • Ads info