@ekuber@hachyderm.io
@ekuber@hachyderm.io avatar

ekuber

@ekuber@hachyderm.io

"We spent decades trying to invent a sufficiently smart compiler when we should have been inventing a sufficiently empathetic one."

Rust Compiler team member. If you have to search for answers when the compiler is talking to you, that's a bug.

There are no bad programmers, only insufficiently advanced compilers.

Cache-locality awareness evangelist.

💼@aws, opinions my own

he/him

Trans rights are human rights

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ekuber, to rust
@ekuber@hachyderm.io avatar

Has anyone tried to do a pure-#Rust protocol buffers serialisation/deserialization implementation? As much as being able to wrap over libraries with a C ABI easily is a great Rust feature, dealing with non-Rust dependencies can sometimes be annoying.

ekuber,
@ekuber@hachyderm.io avatar

As much as code generation is great for straightforward IDE support, these kind of things feel like they should be provided mostly as proc-macros instead, but reasonable can disagree.

ekuber,
@ekuber@hachyderm.io avatar

@pervognsen that's a good call out for improving the tooling surrounding macros. rustc should be able to reference Spans in non-rust files (there's an open ticket for that) which would make a lot of those things "just work".

ekuber,
@ekuber@hachyderm.io avatar

@ztj very defensible position

ekuber,
@ekuber@hachyderm.io avatar

@pervognsen @daemontus there's no current limitation today on a proc macro generating files and then referencing those.

ekuber,
@ekuber@hachyderm.io avatar

@skorgu @adrianco XML is the worst document serialisation format, except for all the others

ekuber,
@ekuber@hachyderm.io avatar

@adrianco it looks very interesting, but would only be suitable for me on new projects that don't have to interface with existing services.

hazelweakly, to random
@hazelweakly@hachyderm.io avatar

There's traffic and then there's... Whatever the fuck this is

ekuber,
@ekuber@hachyderm.io avatar

@hazelweakly if the terminal itself wasn't a shit show, it sounds like what's needed is to improve connectivity to the airport through public transport. In one mile of single lane stand still traffic there are around 260 cars, so for each occupied lane and additional mile of parked cars, we are talking about a single plane load (assuming single occupancy). Looking at departures now 5 planes are leaving in 17 minutes.

lechindianer, to photography

My GAS kicked in. While others buy new cameras with overpriced lenses I choose another direction and bought a vintage lens for 80€.

who recognises this famous vintage lens? 😃

ekuber,
@ekuber@hachyderm.io avatar

@lechindianer is that a Helios 44-2 58mm?

lzg, to random
@lzg@mastodon.social avatar

deleted_by_author

  • Loading...
  • ekuber,
    @ekuber@hachyderm.io avatar
    ekuber, to rust
    @ekuber@hachyderm.io avatar

    I'm super proud whenever a newcomer asks a question in a forum, and the response is "if we run the code you want, the compiler tells you this, which explains why it can't doesn't work", and then goes on to expand. I'm terribly against RTFM attitudes, but Read The Friendly Compiler Output should be a valid learning strategy.

    ekuber,
    @ekuber@hachyderm.io avatar

    @odoruhako I've found that sometimes people miss things that are there, maybe because of verbosity, perhaps due to jargon. The forum posters should quote and expand. I'm proud when errors at the very least hint at the issue, even if more help is needed.

    ekuber,
    @ekuber@hachyderm.io avatar

    @c0dec0dec0de @odoruhako I believe that errors like those should be customised. The API designers must have a seat at the table when it comes to compilation errors.

    ekuber,
    @ekuber@hachyderm.io avatar

    @mr_rustbot @c0dec0dec0de @odoruhako working on it 😉

    predrag, to rust
    @predrag@hachyderm.io avatar

    New functionality and new example queries in the Trustfall rustdoc playground 👀

    Go query the supertraits, associated types, and associated constants over your favorite crates 🦀
    https://play.predr.ag/rustdoc

    ekuber,
    @ekuber@hachyderm.io avatar

    @predrag a rustacean is a programmer that likes to be told no (for good reasons)

    ekuber, to random
    @ekuber@hachyderm.io avatar

    I arrive to the conclusion that the fundamental political fight is between "better things are possible and necessary" and "but what if better things are different to what I'm used to?"

    ekuber,
    @ekuber@hachyderm.io avatar

    @samir ah yes, the "fuck you, I've got mine" middle point

    ekuber,
    @ekuber@hachyderm.io avatar

    @samir fair. I'm trying to differentiate between those that are opposed to any change and those who oppose change due to perceived inconvenience.
    "You want to take a lane away for a dedicated bus lane? I drive! You'll cause congestion!" (Despite the fact that having busses be faster causes modal shift from people until traffic marches the new improved trip speed of the busses, even the individual continue to drive.)

    slesa, to rust German
    @slesa@social.saarland avatar

    Error messages of have the best explanations I've ever seen...

    ekuber,
    @ekuber@hachyderm.io avatar

    @slesa whenever you encounter cases where that's not true, please file tickets! That's how we keep them good.

    ekuber, to photography
    @ekuber@hachyderm.io avatar

    Bad self portrait

    ThePlant, to random
    @ThePlant@mastodon.social avatar

    Okay so update: my teeth ache everywhere. It’s a bit grim. Makes me wanna puke so i keep sipping water.

    Guess i will be quite hydrated for the next year.

    ekuber,
    @ekuber@hachyderm.io avatar

    @ThePlant for what is worth, it gets much easier, to the point that after the first day of a new set, they are not uncomfortable at all. When there are big movements, those ache quite a bit but should be few and far between.

    ekuber,
    @ekuber@hachyderm.io avatar

    @ThePlant yes, that helps a lot

    ekuber, to random
    @ekuber@hachyderm.io avatar

    Every time I'm halfway through a nasty rebase, I can hear the project's voice in my head: "I've altered the upstream, pray I do not alter it any further."

    skinnylatte, to animals
    @skinnylatte@hachyderm.io avatar

    14 years of laughing at Cookie when she’s getting a shower (she looks like a giant rodent when she’s wet)

    ekuber,
    @ekuber@hachyderm.io avatar

    @skinnylatte those EYES!

    bitprophet, to rust
    @bitprophet@social.coop avatar

    " / is a modern programming language”, exhibit A.

    ekuber,
    @ekuber@hachyderm.io avatar

    @onelson @bitprophet and every now and then some lovely picture of some rusted object

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines