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
wycats's profile
Yehuda Katz 🥨
Yehuda Katz 🥨
Yehuda Katz  🥨
Verified account
@wycats

Tweets

Yehuda Katz  🥨Verified account

@wycats

Tilde Co-Founder, OSS enthusiast and world traveler.

Portland, OR
yehudakatz.com
Joined August 2007

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. Dan Abramov‏ @dan_abramov 4 Nov 2017

      I wish there was a way to write const [A, B] = fn(), and inside fn() write return [A, B], and have @flowtype fail on “name” mismatches.

      12 replies 7 retweets 98 likes
      Show this thread
    2. Dan Abramov‏ @dan_abramov 4 Nov 2017

      Or, put it another way, I wish there was a way to “pack” named properties into a type checked tuple that would be compiled to an array.

      3 replies 1 retweet 15 likes
      Show this thread
    3. jordwalke‏ @jordwalke 4 Nov 2017
      Replying to @dan_abramov @flowtype

      This is exactly what happens when you compile @reasonml to JavaScript. In fact the code on left is almost valid ES6 even.pic.twitter.com/xnjhjy1V8A

      3 replies 13 retweets 75 likes
    4. jordwalke‏ @jordwalke 4 Nov 2017
      Replying to @jordwalke @dan_abramov and

      JIT friendly(er) too (or at least, the worst case JIT thrash I’ve seen with regular JS objects would not be possible)

      1 reply 0 retweets 4 likes
    5. jordwalke‏ @jordwalke 4 Nov 2017
      Replying to @jordwalke @dan_abramov and

      I’d really like TC39 to consider a Struct() construct which is like an Array but never dynamic, has no proto, avoiding all dynamic checks.

      4 replies 8 retweets 53 likes
    6. ΛNGUS  🎃‏ @Angus_KST 5 Nov 2017
      Replying to @jordwalke @dan_abramov and

      They’re (or were) looking at value types at one point right? For (then) ASM.js interope, probably something they’re considering for WASM

      2 replies 0 retweets 0 likes
    7. jordwalke‏ @jordwalke 5 Nov 2017
      Replying to @Angus_KST @dan_abramov and

      I don’t understand why value type semantics had to be part of the proposal. In native ocamlopt records are non dynamic w/out value types.

      1 reply 0 retweets 1 like
      Yehuda Katz  🥨‏Verified account @wycats 15 Nov 2017
      Replying to @jordwalke @Angus_KST and

      Typed Objects (originally worked on by @nikomatsakis among others) weren't value types. I'm still in favor.

      8:49 PM - 15 Nov 2017
      • 4 Likes
      • Hongbo Zhang Some(@cλbai) ΛNGUS 🎃 jordwalke
      1 reply 0 retweets 4 likes
        1. New conversation
        2. Sebastian Markbåge‏ @sebmarkbage 15 Nov 2017
          Replying to @wycats @jordwalke and

          I think the OP's goal were lost in this thread. @dan_abramov wanted to avoid bloating the bundle with the full property names. (That might be an artifact of a poor metric.) You can use numeric properties in a typed object though.

          2 replies 0 retweets 3 likes
        3. jordwalke‏ @jordwalke 15 Nov 2017
          Replying to @sebmarkbage @wycats and

          I'm not up to date on the TypedObjects stuff, but I would be in favor as long as they don't have value type semantics, and support numeric index access without penalty.

          1 reply 0 retweets 0 likes
        4. Sebastian Markbåge‏ @sebmarkbage 15 Nov 2017
          Replying to @jordwalke @wycats and

          It's the "without penalty" that is tricky with JS VMs. Unless you make it very explicit, you can't rely on the optimizations you want happening. :( E.g. OCaml is not value types because it is semantically free to do those optimizations anyway. JS VMs wouldn't in most cases.

          1 reply 0 retweets 1 like
        5. Sebastian Markbåge‏ @sebmarkbage 15 Nov 2017
          Replying to @sebmarkbage @jordwalke and

          Even things like multiple return values that could be optimized in theory if both sides are known, is something we can't rely on. Making that an explicit desire in the API (e.g. through value types) makes that more likely. Maybe there's another way to achieve that though.

          1 reply 0 retweets 0 likes
        6. jordwalke‏ @jordwalke 15 Nov 2017
          Replying to @sebmarkbage @wycats and

          I accept the reality that in a VM, typed objects without value semantics must accept some tiny penalty. (I was merely saying that numeric indices should note receive additional penalty (not that anyone would go out of their way to penalize them!))

          1 reply 0 retweets 0 likes
        7. jordwalke‏ @jordwalke Apr 11
          Replying to @jordwalke @sebmarkbage and

          Coming back to this - I think that TypedObjects proposal was very large and has a ton of stuff I can't imagine being immediately useful (I wonder what the original use case was). Is it worth reviving this in limited form:

          1 reply 0 retweets 0 likes
        8. jordwalke‏ @jordwalke Apr 11
          Replying to @jordwalke @sebmarkbage and

          - Simple object/array like structure with very few features and no/low prototype. - Not extensible - cannot add or delete fields. - Users must preresolve fields to integers at creation and access time. - The runtime types of individual fields can't / don't need to be modeled.

          1 reply 0 retweets 0 likes
        9. jordwalke‏ @jordwalke Apr 11
          Replying to @jordwalke @sebmarkbage and

          Basically TypedArray but whose contents are not typed, heterogeneous, and treated as a single 64bit number which in many VMs would be its standard NaN-boxed representation of any "normal" JS value. Not sure how that would work in Chrome though.

          1 reply 0 retweets 0 likes
        10. 3 more replies

      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