ysaie

31 / ⚧ / code, music, art, games

──────────────────────────────
🌸 many-shaped creature
✨ too many projects
🚀 cannot be stopped
🌙 stayed up too late
:eggbug: eggbug enjoyer
──────────────────────────────
header image: chapter 8 complete from celeste
avatar: made using this character builder


📩 email
contact@echowritescode.dev

... and holy shit, basically every problem i had with cargo is gone now? i can't believe it??

  • target directory can be moved around
  • not stuck to the bin/main.rs and lib/mod.rs layout
  • workspace members can be anywhere, not just immediate subdirectories of the top-level directory

basically the only incredibly minor issue i have is that it defaults to creating a git repository in every new crate directory, but i can easily delete the empty .git folder it made and carry on with my day (and i wouldn't be surprised if there's some command line option you can pass to turn this off, too; it's an odd default, but as long as i can switch it off easily, it doesn't bother me).

time to see if the language itself lands better this time around...


You must log in to comment.

in reply to @ysaie's post:

i totally get that! that was how i bounced off the first few times, back in like... 2016-2017 i think? but after spending the last 7-8 years doing heavy lifting in C++, i actually really appreciate the borrow checker. i wish C++ had something similar, even if it was a feature you needed a -W flag or something to activate.

I think maybe my problem is feeling like all the other forms of pointers/references in Rust are "bad" and therefore I put myself in more trouble than I need when perhaps an Rc<T> is the right thing sometimes.

Now I'm tempted to play with Rust again, too. :eggbug-shocked: