sleffy

@sleffy_

composer / crazed hi-gain violinist / code / / / I want to make music for you!

Berkeley, CA
Vrijeme pridruživanja: listopad 2016.

Tweetovi

Blokirali ste korisnika/cu @sleffy_

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @sleffy_

  1. Prikvačeni tweet
    9. lip 2019.

    Yes hello I am a 🎻✨violinist✨🎻

    Poništi
  2. proslijedio/la je Tweet
    2. velj

    I might be the last astronomer to see this but I am in TEARS at the MIRI logo

    Prikaži ovu nit
    Poništi
  3. 3. velj
    Poništi
  4. 1. velj

    aight im gonna thread_local! the shit out of this. fuckit lmao

    Prikaži ovu nit
    Poništi
  5. proslijedio/la je Tweet
    1. velj

    Most people never, ever forget the first person to give them a sizable advance on their own self-confidence — there's no greater security in life than being a serial enabler of wonderful young people

    Prikaži ovu nit
    Poništi
  6. proslijedio/la je Tweet
    1. velj

    Creating a serendipitous connection, freely offering a good idea, telling someone you see their potential & you'll be in their corner... these are both cheap & costly, the currency of trust in the human project Invest this way and you'll have the world's most joyous nest egg

    Prikaži ovu nit
    Poništi
  7. 1. velj

    syn is very opinionated about how you are supposed to parse things and it's a tiny gripe, with some bad practice involved on my part, but i still don't like it >:V

    Prikaži ovu nit
    Poništi
  8. 1. velj

    `syn` really does not want you to have state during `Parse::parse`.

    Poništi
  9. 1. velj

    now my proc macro crate has direct access to the same AST structures used to generate bytecode, but it's going to traverse it for macro codegen instead of using a hacked-up half-baked special AST for the proc macro

    Prikaži ovu nit
    Poništi
  10. 1. velj
    Prikaži ovu nit
    Poništi
  11. 1. velj

    wow i managed to confuse RLS *really* badly lmao

    Poništi
  12. 1. velj

    yesterday: enormous refactor due to changing my tagged words from 3 bit tags to 4 bit tags today: splitting two crates into four because of dependency shenanigans with proc_macro ;_;

    Poništi
  13. proslijedio/la je Tweet

    I tell people to stop worrying about futuristic runaway smart AI, because it's stupid current AI that will kill us, this is what I mean. Someone bought a product that *literally* text-matched the word "charity" as 'good' and "vodka" as 'bad' and is making hiring choices with it.

    Prikaži ovu nit
    Poništi
  14. 1. velj

    I also want to build a wrapper type which implements a custom Deserialize and enforces constraints, causing serde to error out if they’re violated.

    Prikaži ovu nit
    Poništi
  15. 1. velj

    ...predicates that can be run against any serde-serializable data. So this should be interesting since it means easy logic-programmed constraints over Rust values; just derive Serialize and Whisper (or whatever I call the trait) and you can reason about it in a convenient DSL.

    Prikaži ovu nit
    Poništi
  16. 1. velj

    Today, I wrote a one-way serde serializer (two-way after some important decisions about language internals) which serializes data into an AST in my little logic language (Whisper, working name.) Tomorrow I’m hoping to write a trait derivable by proc-macro, to generate...

    Prikaži ovu nit
    Poništi
  17. 1. velj

    having two totally different parsers leads to some annoyances

    Poništi
  18. 1. velj

    okay so, one of the reasons that Rust proc macros are awesome: i've taken the string_cache_codegen crate, which is intended to go in a file, and built it into a proc macro responsible for generating some core types of my project

    Poništi
  19. 31. sij

    syn + quote really are obscenely powerful. only other language that comes close to this level of codegen flexibility is LISP, I think? And that definitely does not give you the safety and confidence that Rust does.

    Poništi
  20. 31. sij

    starting to go mad with power over proc macros

    Poništi
  21. 31. sij

    Writing serde impls sure is exhausting, but damn does it do a lot

    Poništi

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

    Možda bi vam se svidjelo i ovo:

    ·