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
ManishEarth's profile
Who ordered *that*?
Who ordered *that*?
Who ordered *that*?
@ManishEarth

Tweets

Who ordered *that*?

@ManishEarth

@ServoDev at Mozilla Research. @rustlang team; orga @rustconf. 💛 Open Source. Likes languages. Repatriate. Formerly physics. he/him तो/त्या- il/lui 他

Berkeley, CA
manishearth.github.io
Joined January 2010

Tweets

  • © 2019 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.

    Who ordered *that*?‏ @ManishEarth 14 Dec 2018

    So @Kyrenite was showing me a cool new idea she had with GC in Rust and we had a pretty neat realization about this space

    10:50 AM - 14 Dec 2018
    • 7 Retweets
    • 47 Likes
    • Irbis Labs sevpuri GeekPete Andrey @ozkriff Lesnikov Nawfel 🖥️🏳️‍🌈unsafe fn bot() ➡️ impl CRJ Shitposting edef waiting for 36C3 Emanuele Aina Sean Leffler
    3 replies 7 retweets 47 likes
      1. New conversation
      2. Who ordered *that*?‏ @ManishEarth 14 Dec 2018

        Her idea was that a GC in Rust can use a futures-like API, and the space between polls is where gc pauses can happen. It didn't use async yet but it could do something like that in the future. see https://github.com/kyren/luster/blob/3e3a6ea12f6f523c105abd7fbe9d0ad226be784c/src/sequence.rs#L5-L36 … (the overall gc design here is very cool, check it out)

        2 replies 5 retweets 26 likes
        Show this thread
      3. Who ordered *that*?‏ @ManishEarth 14 Dec 2018

        I pointed out that this is actually quite similar to what Go does: Go generates automatic GC interruption points, and the same mechanism powers async I/O scheduling

        4 replies 1 retweet 11 likes
        Show this thread
      4. Who ordered *that*?‏ @ManishEarth 14 Dec 2018

        Whereas, Rust is getting futures/async/await/pin/etc. These provide safe, ergonomic, sequential-looking interruptible code for async I/O (and other things), which you can use (abuse?) to get GC interruption points!!

        1 reply 0 retweets 16 likes
        Show this thread
      5. Who ordered *that*?‏ @ManishEarth 14 Dec 2018

        our realization: the main problem with GC in rust is that it's hard to have safe code when random mutations may run code that steals your lunch async/await/pin are *explicitly* designed for making such interruptions safe and ergonomic to work with! they're almost the same!

        2 replies 3 retweets 21 likes
        Show this thread
      6. Who ordered *that*?‏ @ManishEarth 14 Dec 2018

        even without using it all, you can get major wins from the async/await stuff @withoutboats has a GC design that uses Pin to get soundnesshttps://boats.gitlab.io/blog/post/shifgrethor-i/ …

        1 reply 0 retweets 11 likes
        Show this thread
      7. Who ordered *that*?‏ @ManishEarth 14 Dec 2018

        @Kyrenite's design uses something like futures, and might benefit from something like async/await when generators stabilize (for reasons specific to her gc, it can't use stdlib futures and thus can't use async/await directly)

        1 reply 0 retweets 5 likes
        Show this thread
      8. Who ordered *that*?‏ @ManishEarth 14 Dec 2018

        I brought this up with @asajeffrey and @lastontheboat and there's some cool stuff we could do in servo's javascript GC design using both async/await and pin together (we may be able to get away with using stock futures and async/await)

        1 reply 0 retweets 11 likes
        Show this thread
      9. Who ordered *that*?‏ @ManishEarth 14 Dec 2018

        in servo's case it means every function that may trigger GC becomes async, and pin can be used to avoid holding on to unrooted values cross-interruption async gets us just about enough explicitness about interruption to satisfy rustc, without being so wordy that it's annoying

        2 replies 0 retweets 12 likes
        Show this thread
      10. End of conversation
      1. New conversation
      2. Laser Guided Kittens™‏ @SenojEkul 14 Dec 2018
        Replying to @ManishEarth @Kyrenite

        I'm curious why there are attempts to get GC in Rust. What are the use cases?

        2 replies 0 retweets 0 likes
      3. Who ordered *that*?‏ @ManishEarth 14 Dec 2018
        Replying to @SenojEkul @Kyrenite

        https://manishearth.github.io/blog/2015/09/01/designing-a-gc-in-rust/#motivation … hasn't really changed since then

        1 reply 0 retweets 2 likes
      4. Who ordered *that*?‏ @ManishEarth 14 Dec 2018
        Replying to @ManishEarth @SenojEkul @Kyrenite

        basically: - some graphy datastructures are nicer with gc - if you're writing or working with a managed language runtime, you need to deal with gc'd objects

        1 reply 0 retweets 4 likes
      5. Who ordered *that*?‏ @ManishEarth 14 Dec 2018
        Replying to @ManishEarth @SenojEkul

        servo integrates with spidermonkey and has to throw around managed DOM objects Catherine is writing a Lua runtime.

        1 reply 0 retweets 2 likes
      6. Who ordered *that*?‏ @ManishEarth 14 Dec 2018
        Replying to @ManishEarth @SenojEkul

        there's not so much need for *pervasive* GC in rust, but having a Gc<T> type has a lot of use cases

        2 replies 0 retweets 5 likes
      7. Michael Gattozzi‏ @mgattozzi 14 Dec 2018
        Replying to @ManishEarth @SenojEkul

        JITGC GC as a Service

        1 reply 1 retweet 4 likes
      8. Laser Guided Kittens™‏ @SenojEkul 14 Dec 2018
        Replying to @mgattozzi

        pic.twitter.com/WzUQ8HimwO

        0 replies 0 retweets 4 likes
      9. End of conversation
      1. Aurora  🍪‏ @rawrafox 15 Dec 2018
        Replying to @ManishEarth @Kyrenite

        Having a Erlang-style thread-local GC in Rust would be _so nice_ and binding GC safepoints to async waits would be cool as we can (I think?) assume that people generate limited garbage between those in concurrent Rust. I think this is a great idea! Thanks for sharing!

        0 replies 0 retweets 1 like
        Thanks. Twitter will use this to make your timeline better. Undo
        Undo

    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

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