Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

my #rust knowledge is quite low and yet I found this hilarious anyway.

Uncategorized
1 1 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    0 Views
    #Joy #Complexity #Richness #Rust #Paint #Corrosion #Decay #Beauty #Moss #Nature #WeatheringAs we countdown the last few days of the year, please take a moment to consider how beautiful, rich and detailed the world is.In a video game this fence might well be pristine, or maybe rust and moss would just be drawn on the surface but out in the world, each patch of green moss is fully 3D and, if only we looked, filled with tiny insect, and even tinier, microbial life.On the other side of the park is a similar railing, but it has the remains of three or four layers of different colour paint, peeling and bubbling, and little moss, but much more lichen.Every exposed surface in the city has some measure of similar complexity, and this is without even entering the park, or digging into the ground.Life is wonderful, and we, you and me, being here to see it is a miracle, and as a total non-believer I use that word deliberately, if carefully.May your 2026 be filled with childlike wonder.
  • 0 Votes
    1 Posts
    4 Views
    so, day 1 #AdventOfCode, the #ruby solution is easy, and the #rust one too.I'm a bit sad rust doesn't seem to have integer subrange types a-la pascal (or I couldn't find them 🤷)rust important bits, if you want to criticize them :)https://gist.github.com/riffraff/7aa3fb332ae9e2d61783b671cf160361
  • 0 Votes
    3 Posts
    21 Views
    @Alonely0 makes sense, but I'll only be playing with rust for the AoC and I prefer to stick to the package manager for short uses. Although I saw the rustup "self uninstall" option, which is nice, I still prefer macports
  • 0 Votes
    12 Posts
    15 Views
    @silverpill @scott @phnt sounds good - like I said, the licensing is totally up to you!personally, I prefer permissive licenses over copyleft stuff in all my projects. for me, it's a lot of extra work + research time that isn't on the codebase...note that, in Rust, it's sometimes *a lot* of extra work, so do be mindful that you might limit adoption and widespread usage. if that's what you're aiming for (in terms of corporate/private usage), it's probably a good pick! :Dyou might also provide a dynamically linked MIT wrapper w/ `cargo-add-dynamic`. just saves everyone some time lol https://crates.io/crates/cargo-add-dynamic