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. reabstraction thunk golem‏ @jckarter Sep 20
      Replying to @pcwalton @RichFelker

      I've written compilers targeting both C and LLVM, and while LLVM does make some things easier, it also makes things like FFI harder (even with C), and like Rich says you give up a lot of portability.

      2 replies 0 retweets 2 likes
    2. Patrick Walton‏ @pcwalton Sep 20
      Replying to @jckarter @RichFelker

      You give up some portability. Not “a lot” of portability. Compiling to C also makes things like proper debug info and stack maps/register maps for GC harder (and by “harder” I mean “impossible”)

      2 replies 0 retweets 1 like
    3. reabstraction thunk golem‏ @jckarter Sep 20
      Replying to @pcwalton @RichFelker

      Fair, I've never tried to write a GC language targeting C. The portability situation is better now, sure; back when I started playing with LLVM even Windows support was shaky.

      1 reply 0 retweets 2 likes
    4. Slava Pestov‏ @slava_pestov Sep 20
      Replying to @jckarter @pcwalton @RichFelker

      A GC language could target C by storing all heap pointers on a shadow stack or similar. Remember how the Factor runtime used macros and later smart pointers for that

      1 reply 0 retweets 1 like
    5. Patrick Walton‏ @pcwalton Sep 20
      Replying to @slava_pestov @jckarter @RichFelker

      Yeah, you could do that, or you could use conservative GC. It won’t be perf-competitive with the best GCs though.

      2 replies 0 retweets 1 like
    6. JF Bastien‏ @jfbastien Sep 20
      Replying to @pcwalton @slava_pestov and

      Why wouldn’t a conservative GC be competitive?

      1 reply 0 retweets 0 likes
    7. Patrick Walton‏ @pcwalton Sep 20
      Replying to @jfbastien @slava_pestov and

      It can’t be a moving GC, which means it can’t have bump allocating TLABs in the nursery. So malloc will be slower than it needs to be.

      1 reply 0 retweets 0 likes
    8. JF Bastien‏ @jfbastien Sep 20
      Replying to @pcwalton @slava_pestov and

      The JSC GC is conservative and non-moving, seems to be doing fine. Agreed malloc when you can't just bump a pointer isn't as fast, but you have other costs that this, no?

      2 replies 0 retweets 0 likes
    9. Patrick Walton‏ @pcwalton Sep 20
      Replying to @jfbastien @slava_pestov and

      Well, to be honest I don’t really have the motivation for a Twitter debate about GC strategies right now :) Suffice it to say that if you’re targeting C you’re limited in your choice of GC algorithms.

      1 reply 0 retweets 2 likes
    10. JF Bastien‏ @jfbastien Sep 20
      Replying to @pcwalton @slava_pestov and

      We're debating? 😲 Agreed that targeting C limits GC algorithms. Really it's Boehm or do something else than C 😉https://www.youtube.com/watch?v=wxrbOVeRonQ …

      1 reply 0 retweets 1 like
      Rich Felker‏ @RichFelker Sep 20
      Replying to @jfbastien @pcwalton and

      Boehm is "something else than C". It's 100% filthy UB. But you can do GC in C. Just not on arbitrary C objects, rather higher-level object you implement in terms of C ones.

      5:59 PM - 20 Sep 2018
      1 reply 0 retweets 1 like
        1. New conversation
        2. Rich Felker‏ @RichFelker Sep 20
          Replying to @RichFelker @jfbastien and

          Failure to understand this for decades is the main reason browsers are such buggy, memleaky crap.

          1 reply 0 retweets 0 likes
        3. Patrick Walton‏ @pcwalton Sep 20
          Replying to @RichFelker @jfbastien and

          Hey now, Firefox/Gecko has fully precise hybrid GC/refcounting, with a cycle collector :) Took a mountain of engineering work (@graydon_pub did a lot of it, in fact!)

          3 replies 0 retweets 2 likes
        4. Patrick Walton‏ @pcwalton Sep 20
          Replying to @pcwalton @RichFelker and

          (Runner up is Chromium, which is not fully precise GC, but it does precise collections once the event loop is done and there’s no native code on the stack, which is usually good enough.)

          1 reply 0 retweets 1 like
        5. JF Bastien‏ @jfbastien Sep 20
          Replying to @pcwalton @RichFelker and

          My kernel does precise GC at process boundary 😉

          0 replies 0 retweets 3 likes
        6. 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