• 6 Posts
  • 45 Comments
Joined 4 months ago
cake
Cake day: July 3rd, 2025

help-circle

  • I think it might be nice if such posts included some background

    Build for web, desktop, and mobile, and more with a single codebase. Zero-config setup, integrated hot-reloading, and signals-based state management. Add backend functionality with Server Functions and bundle with our CLI.

    I don’t think everyone is up to date on every Rust library that exists



  • I guess you are being downvoted because that is not directly connected to Rust. It would be a problem with any language

    Yeah, compiling from source on Windows is a mess. In that regard it is not a functional OS, one has to install a lot of tools in order to compile the tiniest thing

    I would put both ways into the descriptions, just for that one lost person that for some reason has to compile from source on Windows, just to give them a hint where to start. I think, it’s also very probable that if they have to compile from source, they might have a lot of issues with getting VS to work.
    It will be a pain anyway, most will probably just download your binary and hope you prefer mining bitcoin instead of ransoming their whole drive


  • Not that I want to argue with you but when reading this, I thought

    building a railroad these days is so incredibly expensive. Building bike lanes is also extremely expensive.

    Wasn’t one of the recent goals to bring labour back to US? Doesn’t that seem like a perfect fit?

    If traffic backs up through intersections

    Replace cars with buses

    if you have to walk 20 miles after you get off the train station

    20 miles?! There should be at least 5 stations on that distance Build the local train in a circle, with a station every few miles. Disperse the “last mile” via buses. Attach one point of the circle to the intercity railroad with a big station servicing inter- and intra- city trams, buses, maybe add a parking lot for now, so people can leave their car and continue with public transport. Later it can be changed to a mall, office space, hotel, w/e. Administration buildings maybe? So those are easily reachable?

    cover a few thousand people but cost tens or hundreds of millions to build

    Is road maintenance, drivers’ policing, car reliance and car-related deaths cheaper?






  • INeedMana@piefed.ziptoRust@programming.devThe Handle trait
    link
    fedilink
    English
    arrow-up
    2
    ·
    23 days ago

    I don’t know but it could be anything else than an Arc. Obviously you should still be able to take a usual reference to such a thing.

    Maybe. My point is that unless you want to, for example, have a reference that you switch between which object it references, I think you would be fine with using the ref-counted reference. With eventual optimization done via compiler when it’s sure the code won’t be trying to access the object after it got deleted. But even if I’m wrong, there could be another way to get a pure reference

    This proposal as I understand it is an attempt at making reference-counting more ergonomic.

    Yes, and IMO by using Handle for that it breaks a pattern. Rust keeps * and & for speaking about values and memory management (I want data vs I want reference). Using a trait for ref-counted referencing adds another layer. So suddenly we have *, & and ::Handle(). You see what I’m getting at?







  • After decades I am still uncertain of some grammatical rules and word choices. I still struggle with spelling often, and once in a while I find a word that I have been pronouncing wrong my whole life.

    Get more contact with native speakers. No shade but half of them don’t even know the rules

    I know how you feel, I also feel that. I am not always sure how to navigate cultural connotations of words, sometimes a native surprises me by using a phrase, that I have known before, in a way that I knew is the proper use but would have never come up with that myself. Yet, since I started spending more personal time with native speakers, I would often be asked to take a look at a draft of their message. Or they ask me how would I word something. Because “you are better with words” ¯\(ツ)/¯ The difference is, you and I pay attention to what/how we say it. Native speakers often just say it as it comes

    Granted, as we already established, I am not a native speaker but by looking at your posts I would not say you are struggling with English