Login
You're viewing the mstdn.social public feed.

Replies

  • Jul 3, 2026, 4:04 PM

    also love that "cargo test" is built-in. (first time I've seriously done this in a project :P).

    when a test fails I think "yes! that saved me another hour or two of debugging!" and I take a nap.

    💬 1🔄 0⭐ 4
  • 💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 1
  • 💬 0🔄 0⭐ 1
  • Jul 3, 2026, 10:49 AM

    @zeenix @hbons I don't know their exact claims, but i can imagine if you're trying to do a lot of linking with C ABI libraries its a hassle

    💬 1🔄 0⭐ 0
  • Jul 3, 2026, 11:12 AM

    @laund @hbons sometimes they are, yes but I think the main issue is meson interop because they'd want to continue using meson like they've always done. This is now mostly a resolved issue though, thanks to Paolo Bonzini.

    💬 0🔄 0⭐ 0
  • Jul 3, 2026, 5:18 PM

    @hbons Rust makes testing incredibly smooth for a solo developer. I write a lot of tests for .NET, sure, but that’s because I have a whole internal testing framework I can use.

    You can get to that low friction point in any stack, I suppose, but cargo definitely makes it take less effort. That means it makes it more natural to shift left.

    💬 1🔄 0⭐ 1
  • 💬 1🔄 0⭐ 1
  • Jul 3, 2026, 5:26 PM

    @hbons we have a whole domain-oriented framework, so TDD with integration tests is actually worth considering. Just don’t ask how much it cost to get there.
    Unit tests in Rust come super naturally. Big integration stuff, less so, at least for me.

    💬 1🔄 0⭐ 1
  • 💬 1🔄 0⭐ 0
  • Jul 3, 2026, 6:10 PM

    @hbons not really… I guess all you need for your asserts is the odd ls or hash, right?
    That feels doable in some kind of containerized fashion.

    💬 0🔄 0⭐ 1