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
sgrif's profile
Miss Dada 🏳️‍⚧️
Miss Dada 🏳️‍⚧️
Miss Dada  🏳️‍⚧️
@sgrif

Tweets

Miss Dada  🏳️‍⚧️

@sgrif

Co lead of the http://crates.io  team. Creator of @dieselframework. Former host of @_bikeshed and @_yakshave. Former Rails comitter. Enby. they/them

Albuquerque, NM
patreon.com/seantheprogram…
Joined November 2008

Tweets

  • © 2020 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • 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. Geoffroy Couprie‏ @gcouprie 15 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      I think I have a plan to move out of macros for nom. It’s a monstrous amount of work, but it could be backward compatible, ie I’d rewrite the macro internals so existing code still works

      1 reply 4 retweets 35 likes
      Show this thread
    2. Geoffroy Couprie‏ @gcouprie 15 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      so, here's the idea: nom uses macros calling other macros, to generate a function's body. I like it because the generated code is more or less what I'd write manually, and somewhat easy to debug (clean stack traces, etc)

      1 reply 0 retweets 2 likes
      Show this thread
    3. Geoffroy Couprie‏ @gcouprie 15 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      trait based solutions (everything implement a Parse trait with a parse() method and a lot of combinators) suffers from the same debugging issues as futures: it generates an object that will call a serie of Parse::parse() methods, rendering everything hard to follow

      2 replies 0 retweets 2 likes
      Show this thread
    4. Geoffroy Couprie‏ @gcouprie 15 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      it turns out, I can get the same behaviour as macros with just functions, that may or may not return closures: https://gist.github.com/Geal/84775215be3b4d5978173165373c7dbb#file-appetizer-rs-L174-L297 … I'm not decided yet, but this looks easy enough to employ. And I could rewrite the current macros to use those function combinators

      1 reply 0 retweets 5 likes
      Show this thread
    5. Geoffroy Couprie‏ @gcouprie 15 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      also, if you're interested, here's a small, incomplete parser combinators I wrote on a whim to test this: https://gist.github.com/Geal/84775215be3b4d5978173165373c7dbb#file-appetizer-rs-L18-L166 … This parser technique is easy to learn, anybody can make their own :)

      3 replies 0 retweets 5 likes
      Show this thread
    6. Geoffroy Couprie‏ @gcouprie 15 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      I’ll have to adjust things a bit so that stack traces are not too polluted by the combinators, but it’s easy enough to follow. Fun fact: it’s apparently much better at inlining code than macros nom? I’ll have to investigate :)pic.twitter.com/LN0BP4H44W

      2 replies 0 retweets 4 likes
      Show this thread
    7. Geoffroy Couprie‏ @gcouprie 16 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      what the actual fuck. How. How can it be that much faster already. Top results are from https://github.com/rust-bakery/parser_benchmarks/blob/master/http/nom-http/src/main.rs … (not the simd optimized one) Bottom is the version with functions: https://gist.github.com/Geal/f447cdee0e305954b840e4b47683acd6 … just a naive translation, did not optimize anything. what is happeningpic.twitter.com/mb9fUu6U5A

      3 replies 1 retweet 15 likes
      Show this thread
    8. Geoffroy Couprie‏ @gcouprie 16 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      I’m currently looking at possible perf regressions in previous rustc versions. I don’t have the same behaviour between stable and nightly. And even stable is a lot slower than it should

      1 reply 0 retweets 1 like
      Show this thread
    9. Geoffroy Couprie‏ @gcouprie 16 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      alright, there's definitely a perf regression in last rust stable, when testing on https://github.com/rust-bakery/parser_benchmarks/blob/master/http/nom-http/src/main.rs … @rustlang any idea what happened on the perf side between 1.31 and 1.32?pic.twitter.com/EWPSLqxniw

      1 reply 4 retweets 10 likes
      Show this thread
    10. Geoffroy Couprie‏ @gcouprie 16 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      looks like the jemalloc change makes most of the perf hit

      4 replies 0 retweets 7 likes
      Show this thread
      Miss Dada  🏳️‍⚧️‏ @sgrif 16 Feb 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @gcouprie

      http://Crates.io  saw a way larger impact from the allocator change than we expected too

      12:10 PM - 16 Feb 2019
      • 1 Like
      • James Munns
      1 reply 0 retweets 1 like
        1. New conversation
        2. James Munns‏ @bitshiftmask 16 Feb 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @sgrif @gcouprie

          CC @sadisticsystems - I know sled (an embeddable database crate) had some unfortunate hits by the switchover as well.

          1 reply 0 retweets 0 likes
        3. electrified filth‏ @sadisticsystems 16 Feb 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @bitshiftmask @sgrif @gcouprie

          sled got 300% slower on write-heavy workloads, and it is totally unacceptable for library authors to set the global allocator. But 95%+ of users will only suffer by never knowing about jemallicator, so I'm probably going to do it anyway and make it opt-out via a feature. rip x_x

          1 reply 0 retweets 2 likes
        4. 1 more reply

      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

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