Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

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
jfbastien's profile
JF Bastien
JF Bastien
JF Bastien
@jfbastien

Tweets

JF Bastien

@jfbastien

C++ lead @ 🍎—🃏Jest-in-Time compiler🃏WebAssembly co-instigator🃏C++ standards committee punster🃏LLVM wrangler🃏⸮🃏

Bay Area, CA
Joined April 2009

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. JF Bastien‏ @jfbastien Feb 15

      New C++ papers available ➡️ http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/2018-02-pre-Jacksonville.htm … What'll make it to C+20? 😯

      4 replies 20 retweets 58 likes
      Show this thread
    2. JF Bastien‏ @jfbastien Feb 15

      I'm especially looking forward to "Signed Integers are Two’s Complement" for C++20. I know it'll be controversial 😬 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0907r0.html …pic.twitter.com/pJSwUTStyk

      18 replies 46 retweets 128 likes
      Show this thread
    3. JF Bastien‏ @jfbastien Feb 20

      While we're at it, should C++ also specify:

      11 replies 1 retweet 17 likes
      Show this thread
    4. JF Bastien‏ @jfbastien Mar 15

      I just presented “signed integers are two’s complement” http://wg21.link/p0907r0  to a joint session of C++ numerics and undefined behavior groups! Broad support, but they want to keep UB on overflow (and have separate type or operator for wrap). I’ll update the paper 📝

      10 replies 10 retweets 45 likes
      Show this thread
      JF Bastien‏ @jfbastien Apr 25

      Not only is the C++ standards committee happy to make signed integers two's complement in C++20 with http://wg21.link/p0907 , the *C standards committee* voted to do the same thing for the next version of C! 🤯 I just have to write the wording. 🎉

      1:39 PM - 25 Apr 2018
      • 73 Retweets
      • 193 Likes
      • Boston Deal Finder Dietmar Suoch Bargain Pinball Stefan More Arvid Gerstmann Mathias Payer Marcus Michael Yu scherzo
      8 replies 73 retweets 193 likes
        1. New conversation
        2. Rich Felker‏ @RichFelker Apr 25
          Replying to @jfbastien

          Does this mean conversions to signed types will be well-defined as modular reduction (e.g. (int)-1U==-1)?

          1 reply 0 retweets 2 likes
        3. JF Bastien‏ @jfbastien Apr 25
          Replying to @RichFelker

          For C++ yes, for C they asked for more targeted papers for ~each bullet point I had in C++. I think some of the effects of the C++ wording wasn’t clear to the C committee, and I’m not there in person to explain. So maybe? I’ll certainly try to get the same effects as C++.pic.twitter.com/N5lS9UkrWt

          2 replies 0 retweets 3 likes
        4. JF Bastien‏ @jfbastien Apr 25
          Replying to @jfbastien @RichFelker

          That being said, there are gotchas around enum when converting to/from int. Furthermore, C sometime differs from C++ in ways I’m not familiar with. I’ll lean on wording experts, hopefully @zygoloid, to help get things harmonized between the two languages.

          0 replies 0 retweets 1 like
        5. End of conversation
        1. New conversation
        2. David Sweeris‏ @TheOtherDaveS May 30
          Replying to @jfbastien

          Does this mean that base 3 computers can't run C++20 code without emulating base 2 for signed integer types?

          1 reply 0 retweets 2 likes
        3. JF Bastien‏ @jfbastien May 30
          Replying to @TheOtherDaveS

          Which base 3 computer tries to run modern C or C++?

          2 replies 0 retweets 2 likes
        4. David Sweeris‏ @TheOtherDaveS May 30
          Replying to @jfbastien

          None, that I’m aware of. It has significant advantages over base-2, though, if (big huge if) we can figure out how to build them.

          2 replies 0 retweets 1 like
        5. JF Bastien‏ @jfbastien May 30
          Replying to @TheOtherDaveS

          In that case, my proposed change breaks none of them 😉

          0 replies 0 retweets 3 likes
        6. End of conversation
        1. New conversation
        2. Pierre Habouzit‏ @pedantcoder Apr 25
          Replying to @jfbastien @jacquesgt

          WHAT ? ?? ? ? ? ? ? WHat just happened to hell, it froze /o\

          1 reply 0 retweets 3 likes
        3. JF Bastien‏ @jfbastien Apr 25
          Replying to @pedantcoder @jacquesgt

          Neither is standard yet! Hell can still spark back up 👹

          1 reply 0 retweets 1 like
        4. Pierre Habouzit‏ @pedantcoder Apr 25
          Replying to @jfbastien @jacquesgt

          next thing you'll know they'll add expression statements... and strong enum types.

          1 reply 0 retweets 4 likes
        5. Jacques Fortier‏ @jacquesgt Apr 25
          Replying to @pedantcoder @jfbastien

          We’ll truly know the apocalypse is at hand when default automatic variable initialization gets standardized

          1 reply 0 retweets 3 likes
        6. Pierre Habouzit‏ @pedantcoder Apr 25
          Replying to @jacquesgt @jfbastien

          lol, it will never happen.

          1 reply 0 retweets 0 likes
        7. Jacques Fortier‏ @jacquesgt Apr 25
          Replying to @pedantcoder @jfbastien

          My new paper: “You can have any undefined value you want, as long as it’s 0”

          1 reply 0 retweets 10 likes
        8. JF Bastien‏ @jfbastien Apr 25
          Replying to @jacquesgt @pedantcoder

          Which zero tho? 🤣 More seriously… I intend to look into this as well.

          1 reply 0 retweets 0 likes
        9. Jacques Fortier‏ @jacquesgt Apr 25
          Replying to @jfbastien @pedantcoder

          If you manage this, I will make it my life’s work to create a national holiday in your honour

          0 replies 1 retweet 4 likes
        10. End of conversation
        1. New conversation
        2. (((David Brower)))‏ @dbrower Apr 27
          Replying to @jfbastien

          There are a handful of UNISYS programmers gonna be sad about this.

          1 reply 0 retweets 1 like
        3. JF Bastien‏ @jfbastien Apr 27
          Replying to @dbrower

          No sadder than they already are. The unisys compiler was last updated in 2017 and still only supports C90. It emulates old hardware on x86 with attached FPGAs. I venture that no new code is being written, otherwise they’d use less expensive hardware.

          0 replies 0 retweets 3 likes
        4. End of conversation
        1. New conversation
        2. John Regehr‏ @johnregehr Apr 26
          Replying to @jfbastien

          pic.twitter.com/ukMeve1fyV

          1 reply 0 retweets 0 likes
        3. JF Bastien‏ @jfbastien Apr 26
          Replying to @johnregehr

          That was not unintentional! The mailing deadline was the 2nd, so I held on...

          0 replies 0 retweets 3 likes
        4. End of conversation
        1. New conversation
        2. Lord Nightmare‏ @Lord_Nightmare Apr 29
          Replying to @jfbastien

          Does this also mean that right shifting of signed integers will finally be formally defined to do 2s complement sign extension, rather than being 'implementation dependent'?

          1 reply 0 retweets 0 likes
        3. JF Bastien‏ @jfbastien Apr 29
          Replying to @Lord_Nightmare

          pic.twitter.com/KGPxU062V7

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