14 comments

  • groundzeros20151 minute ago
    Guaranteed destructors is probably the most complex features ever added to C++, more than templates or move semantics.
  • panstromek5 hours ago
    For everybody who doesn't have the context, just note that this is not an accepted langauge change. It's a just project goal, which means it's accepted as something people will work on, but the design might change significantly or it can even be abandoned completely (which is pretty unlikely for this one, to be fair).
    • ddevnyc46 minutes ago
      I think it's absolutely amazing to have insight into long-term goals like this for open source projects. For one thing, it can help you plan your tech stack, and can even be a source of inspiration on what sorts of topics to learn and what sorts of research to do.
  • stymaar7 hours ago
    Great new! Since 2016 or so it became apparent that immovable types were a crucial missing part of Rust, but for a long time it was believed it wouldn&#x27;t be possible to add them without breaking everything, which is why we ended up with the <i>Pin</i> hack.<p>I&#x27;m very glad they found a way to add it eventually, as it&#x27;s really filling a glaring hole in the language.
    • q3k5 hours ago
      &gt; I&#x27;m very glad they found a way to add it eventually<p>Will this integrate with existing code that uses Pin&lt;T&gt;? If not this will split the ecosystem even further...
      • ordu4 hours ago
        I don&#x27;t see why it may fail to integrate. Declare Pin as !Move and... thats all? I mean, there will be issues, edge-cases because it is just how these things happen, but still I don&#x27;t see any fundamental issues with continuing to use Pin.
        • Georgelemental3 hours ago
          Pin applies to the point<i>er</i>, !Move applies to the point<i>ee</i>.
          • ordu3 hours ago
            So... Pin should be defined as Pin&lt;T: !Move&gt;?
            • mcherm2 hours ago
              No, the point of Pin is to wrap types that CAN move. If the type were !Move then Pin wouldn&#x27;t be needed.
              • Dagonfly1 hour ago
                &gt; the point of Pin is to wrap types that CAN move.<p>I would highlight that there are many cases where you CAN move an object safely until a certain operation requires the object to &quot;stay put&quot; in place.<p>Pin allows for that by tying the object to the place only when required. That&#x27;s why Pin relates to both the object and the place.<p>Meanwhile, !Move types can&#x27;t ever move. The object has to remain in the inital place it was constructed in. !Move requires in-place construction and emplacement to be ergonomic at all.
              • simonask2 hours ago
                I guess `!Move` is largely equivalent to `Unpin` for the purposes of `Pin`, so for example Pin&#x27;s safe constructor `Pin::new()` can be re-expressed in terms of `!Move` instead of `Unpin`. Today you need unsafe code to pin a `!Unpin` (i.e. &quot;movable&quot;) type.<p>But I also suspect there are important differences between `!Move` and `Unpin` that I&#x27;m not sure about.
  • yccs277 hours ago
    There&#x27;s a different proposal by @withoutboats to make immovability a property of the place&#x2F;reference instead of the type:<p><a href="https:&#x2F;&#x2F;without.boats&#x2F;blog&#x2F;pinned-places&#x2F;" rel="nofollow">https:&#x2F;&#x2F;without.boats&#x2F;blog&#x2F;pinned-places&#x2F;</a><p>Does this project goal mean that the rust maintainers have decided to implement @yoshuawuyts&#x27; immovable types proposal in favor of pinned places?
    • Ygg26 hours ago
      <p><pre><code> &gt; # How does this relate to the &quot;pin ergonomics&quot; initiative? &gt; This work is an alternative to Project Goal 2025H2: Continue Experimentation with Pin Ergonomics, which includes the following extensions: &gt; A new item family pin in lvalues, e.g. &amp;pin x, &amp;pin mut x, &amp;pin const x. &gt; A one-off overload of Rust&#x27;s Drop trait, e.g. fn drop(&amp;pin mut self). &gt; A new item kind pin in patterns, e.g. &amp;pin &lt;pat&gt;. &gt; Notably, this work does not solve pin&#x27;s duplicate definition problem, meaning that even with these extentions we still end up with Trait and PinnedTrait variants of existing traits. The Drop trait being the exception to this, since the initiative is proposing to special-case it using a one-off overload. </code></pre> <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust-project-goals&#x2F;blob&#x2F;main&#x2F;src&#x2F;2026&#x2F;move-trait.md#how-does-this-relate-to-the-pin-ergonomics-initiative" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;rust-project-goals&#x2F;blob&#x2F;main&#x2F;sr...</a>
      • yccs274 hours ago
        Ah, thanks, I didn&#x27;t realize &quot;pin ergonomics&quot; was the Rust Project name for @withoutboats&#x27; pinned places.
    • rienbdj6 hours ago
      This sounds like a similar approach to OxCaml
  • Tazerenix8 hours ago
    More algebraic effects being retrofitted onto Rust.
    • dubi_steinkek3 hours ago
      How so? This feel distinct from the &quot;algebraic effects&quot;-like features like constness, async, can-panic, can-unwind, etc., since this is a property of the types themselves rather than of functions.
      • Tazerenix2 hours ago
        The traits are essentially effect handlers for effects like `drop&lt;T&gt;`, `move&lt;T&gt;`, `forget&lt;T&gt;` which are implicitly charged to the a function which owns a `T` and does drops, moves, or forgets it.<p>Inferring the capabilities of the function from the traits of the types of the arguments is similar to tracking effects. The function charges `drop&lt;T&gt;` when `x: T` goes out of scope, which is handled by the trait implementation. If Rust had a proper algebraic effects type system, you would be able to see this directly in the signature of the function (and even more, if the trait impls themselves had their effects tracked, you&#x27;d be able to see from the signature of the function the side effects of deallocation of its owned variables, like if `drop&lt;File&gt;` performs `io`).
        • Guvante2 hours ago
          I haven&#x27;t seen any algebraic effects system that is that powerful<p>The closest is linear types but even then drop isn&#x27;t an effect but also a function you can call to allow not continuing the references
          • Tazerenix1 hour ago
            Yeah I should have phrased that better. The traits themselves are not the effects, they&#x27;re bits of code which can have side effects. Rust doesn&#x27;t track those side effects in the type system yet, but !Forget especially is the essence of that idea. If you implement it for everything owned by a function, you can basically infer that the function does not have the leak effect (which would be an effect in the effect row of a Forget trait implementstjon).<p>If you try treat memory as an effect you gain the need for several polymorphic effect type functions drop, forget, etc which map a type to the effect row charged by its corresponding Drop, Forget impl. Rust doesn&#x27;t have that type system obviously.
  • skitter7 hours ago
    Although not part of the goal, it also mentions `!Destruct`&#x2F;&quot;must-move types&quot;, aka linear types: Instead of there always being a way to drop values without providing any arguments, if you wanna get rid of a value of a linear type you have to call a function that takes it by value.
    • simonask6 hours ago
      For context, the reason this would be really nice is that it would enable API designs that catch certain kinds of errors.<p><pre><code> let txn = create_transaction(); &#x2F;&#x2F; do something with the transaction txn.commit(); &#x2F;&#x2F; consume the txn </code></pre> Right now, you can&#x27;t implement this API without choosing between either silently rolling back unless the user calls `commit()`, or panicking in the Drop impl for the transaction if the user didn&#x27;t explicitly call either `commit()` or `rollback()`.<p>Your only current choice is to use closures, which are much less composable, because you need a variant for each flavor: infallible, fallible, async fallibe, etc.<p><pre><code> start_transaction_async(async || { &#x2F;* ... *&#x2F; TransactionResult::Commit }); start_transaction_async_try(async || { &#x2F;* ... *&#x2F; Ok(TransactionResult::Commit }); </code></pre> Ick.<p>If instead the transaction is a must-move type, you would get a compiler error if you fail to call exactly one of either commit or rollback, and particularly you would be forced to consider what happens at every exit point (early-out via `?` no longer just forgets the transaction). Very nice.
      • ordu4 hours ago
        &gt; If instead the transaction is a must-move type, you would get a compiler error if you fail to call exactly one of either commit or rollback<p>Can you elaborate how it may work? I mean if I create a function:<p>fn fail_silently(txn: Transaction) {}<p>then the calling code would pass the compiler, but this function presumably isn&#x27;t, ok. But what can make these functions to pass:<p>impl Transaction { pub fn commit(self) { ... } pub fn rollback(self) { ... } }<p>Would you need to destructure self or what?
        • yccs273 hours ago
          Yes, destructuring is typically the only allowed way to get rid of linear&#x2F;indestructible values. If the type has private fields, this is only possible in the same module, so commit(txn) and rollback(txn) would have to be implemented in the same module as the Transaction type.
        • vlovich1234 hours ago
          Exactly - fail_silently is illegal and you have to actually destructure the type to explicitly implement the destructor<p>&gt; How would you handle destructors with arguments?<p><a href="https:&#x2F;&#x2F;smallcultfollowing.com&#x2F;babysteps&#x2F;blog&#x2F;2025&#x2F;10&#x2F;21&#x2F;move-destruct-leak&#x2F;" rel="nofollow">https:&#x2F;&#x2F;smallcultfollowing.com&#x2F;babysteps&#x2F;blog&#x2F;2025&#x2F;10&#x2F;21&#x2F;mov...</a>
    • melodyogonna6 hours ago
      Linear types requires significant work to incorporate into the core built-in collections and types. I&#x27;ve been following the work on Mojo to enable Linear type support for built-in types and collections, I don&#x27;t think Rust&#x27;s language semantics will allow for the same level of integration (Rust is already stable).
      • virtualritz5 hours ago
        But Rust has editions.<p>That is a big lever language designers can use if they painted themselves into a corner.
        • yccs273 hours ago
          Yes, editions are a great mechanism. It still has its limits, especially if you want easy edition migrations. All existing Rust code assumes it can drop any type whenever it wants, and that is not something you can just change across editions. You have to be very careful with defaults if you don&#x27;t want conflicts when crossing edition boundaries.
          • simonask2 hours ago
            The naïve idea would be to just say that all generic parameters have an implicit `where T: Move` bound, and you have to explicitly opt out of it with `where T: ?Move`, just like with `?Sized`.<p>In fact, that&#x27;s exactly how I would expect it to work, but there may be non-obvious drawbacks.
            • Dagonfly1 hour ago
              The compat issue has always been associated types on std traits.<p>For example, should Iterator::Item be Move or ?Move<p>If you leave it as Move, you can&#x27;t create any iterators over !Move types. If you change it to ?Move, then functions using generic iterators can&#x27;t assume that the elements of an Iterator are always moveable. Which is a breaking change compared to now.<p>The most critical trait is probably Deref. Using !Move types without `Deref::Target: ?Move` is painful, because calling any method on boxed types relies on Deref.
              • simonask48 minutes ago
                I&#x27;m very probably missing something, but as a user I would definitely expect `Iterator::Item: Move`, but then also that `&amp;{mut} T: Move where T: ?Move`.<p>But yeah I can see how these bounds are somewhat viral. Thanks!
                • Dagonfly41 minutes ago
                  Here is an example of the problem: <a href="https:&#x2F;&#x2F;play.rust-lang.org&#x2F;?version=stable&amp;mode=debug&amp;edition=2024&amp;gist=c4e2a17964a92c19db33e1169e2806b8" rel="nofollow">https:&#x2F;&#x2F;play.rust-lang.org&#x2F;?version=stable&amp;mode=debug&amp;editio...</a><p>Imagine if MyTrait comes from core&#x2F;std. Adding an opt-out bound like ?Sized (or ?Move) is a breaking change for any generic code that relies on Sized&#x2F;Move. But you want some traits from std to be open for !Move types.
      • dubi_steinkek3 hours ago
        Which stdlib collections and types should become `!Move`?
        • simonask3 hours ago
          None. The question is more what happens when you put a `!Move` type into, say, `Vec&lt;T&gt;`, because that&#x27;s a collection type that regularly moves its elements to a new allocation when it grows or shrinks.<p>Should it be possible to construct a `Vec&lt;T&gt;` whose size can never change? Is there a subset of Vec&#x27;s API that can be annotated with `where T: ?Move`? These are all important design questions, with the potential to break 99% of existing Rust code.
  • OskarS7 hours ago
    mem::forget isn’t the only way you can safely leak a value, you can do it with reference cycles too, right? And there is no way for the compiler to detect that?<p>Isn’t that why mem::forget is safe, because you can always implement it yourself safely? How do you get around that?
    • stymaar7 hours ago
      &gt; mem::forget isn’t the only way you can safely leak a value, you can do it with reference cycles too, right? And there is no way for the compiler to detect that?<p>But there&#x27;s an easy solution for that: you make the reference-counted smart pointers require their pointee type to be <i>Forget</i>. It will be like how <i>Arc&lt;T&gt;</i> doesn&#x27;t implement <i>Send</i> unless <i>&lt;T: Sync&gt;</i>.
      • klauserc2 hours ago
        An alternative way to &quot;forget&quot; a value is to hand it off to another thread that then loops infinitely.<p>Could of course be plugged by saying `!Forget : !Send`, but wouldn&#x27;t that preclude legitimate useful scenarios for `!Forget`?
        • Dagonfly1 hour ago
          Passing ownership to another thread is not the same as forgetting&#x2F;leaking.<p>The point of !Forget is ensuring that once the owner goes out of scope the destructor must be guaranteed to run. An infinite loop is not a problem, cause the new thread will never leave its scope. Ref-cycles are a problem, cause you can create a ref-cycle. Then the program flow leaves the scope which will run the drop on all RC&#x27;s but not the drop on the inner type.
        • aw16211072 hours ago
          &gt; An alternative way to &quot;forget&quot; a value is to hand it off to another thread that then loops infinitely.<p>Might be able to address that by only allowing such a handoff to a thread spawned via some scoped abstraction to ensure that progress can only be made if&#x2F;when the spawned thread terminates?
    • skitter7 hours ago
      By doing the same as with `Sized`: Automatically including the `Forget` bound on generic parameters and letting methods that don&#x27;t need to be able to forget them opt out. That way existing code continues to compile and existing unsafe code doesn&#x27;t become unsound.
  • boccko_1 hour ago
    Give me all the liberating constraints. Get rid of panic next.
  • safercplusplus2 hours ago
    Ok, I guess somebody has to provide the youngsters&#x2F;uninitiated with some context. What is going on here can be viewed as part of a process of Rust (potentially) incrementally adopting the C++ model, because the Rust model is limited in important ways.<p>Specifically, Rust&#x27;s &quot;necessarily-trivial-destructive&quot; moves make it possible for a memory location previously holding a valid object to become invalid without a destructor (or any other handler) being called. Accommodating this possibility resulted in unforeseen (by many) limitations, particularly in the safe subset. (See &quot;the leakpocalypse&quot;.) This was partially addressed by the introduction of &quot;pinning&quot; into the Rust language. The posted github page suggests that this sort of pinning is not the ideal approach, and that it is more effective to make the &quot;unmovability&quot; of an object a property of the object&#x27;s type, rather than a property of the reference to the object, as is the case with the pinning approach.<p>To be clear, we&#x27;re talking about Rust-style &quot;necessarily-trivial-destructive&quot; movability here. Traditionally, C++ doesn&#x27;t really support this sort of movability. That is, even if an object&#x27;s contents are (&quot;conceptually&quot;) moved to a different location, the original source object remains (at its original location) until it is otherwise destroyed (and its destructor called). So in C++, all types are &quot;immovable&quot; in the sense of the posted github page.<p>The github page notes how these &quot;immovable&quot; types can support self-references completely in the safe subset in a way that pinning can&#x27;t.<p>&gt; This unblocks patterns that are currently impossible in safe Rust.<p>For an idea of some other unblocked patterns, you can consider so-called &quot;norad&quot; pointers [1] (and proxy pointers [2]) in the SaferCPlusPlus library. Analogous to how `RefCell` references can be used to express references that cannot be statically verified to conform to Rust&#x27;s &quot;aliasing-xor-mutability&quot; restrictions, &quot;norad&quot; pointers can be used to express references that cannot be statically verified to be lifetime safe. This would include, for example, all manner of cyclic references beyond just &quot;self-references&quot;.<p>I think you could implement a version of these norad pointers in Rust that can safely target these immovable types (whose destructor is guaranteed to be called while the object is still in its original location). But note that the C++ implementation uses static inheritance (which Rust does not support) to avoid the noise having to access the target object as &quot;interior&quot; content (like with `RefCell`s).<p>With the availability of these flexible references, one could imagine immovable types becoming popular in things like games &#x2F; entity component systems, GUI frameworks, browser engines, and any place where &quot;back pointers&quot; would be convenient. One might even imagine that at some point, types being &quot;immovable&quot; could become the popular default for object types in Rust (among biological and&#x2F;or non-biological Rust programmers). At which point, people may decide that actually they do want (the contents of) some of their immovable types to be &quot;movable&quot;, but they don&#x27;t necessarily need the object to be <i>destructively</i> movable. So you could imagine the introduction of standard `nondestructive_move()` (and `nondestructive_move_from()`) methods that would be companions of the existing `clone()` (and `clone_from()`) methods. At which point Rust would have counterparts for C++ copy <i>and</i> move constructors (and assignment operators).<p>In my view, this adoption of the C++ model (potentially) addresses Rust&#x27;s main limitation. With one consequence being to potentially make automated translation of C and C++ code to (reasonable code in) the safe subset of Rust much more feasible than seems to be currently.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;duneroadrunner&#x2F;SaferCPlusPlus&#x2F;blob&#x2F;master&#x2F;README.md#norad-pointers" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;duneroadrunner&#x2F;SaferCPlusPlus&#x2F;blob&#x2F;master...</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;duneroadrunner&#x2F;SaferCPlusPlus&#x2F;blob&#x2F;master&#x2F;README.md#tnoradproxypointer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;duneroadrunner&#x2F;SaferCPlusPlus&#x2F;blob&#x2F;master...</a>
    • simonask2 hours ago
      I agree with most of that, but there&#x27;s one important detail (that I&#x27;m sure the designers of this proposal are thinking about): The current contract of Pin in Rust (the only standard support for expressing immobility) doesn&#x27;t just cover the object&#x27;s own location, but also any references derived from the object, commonly called &quot;pin projection&quot;.<p>For example, if you have a `Pin&lt;Box&lt;Vec&lt;u8&gt;&gt;&gt;`, it&#x27;s safe to turn that into a `Pin&lt;&amp;mut [u8]&gt;`.<p>Any system that replaces `Pin` will probably have to maintain that same property, which wouldn&#x27;t naïvely happen using C++-like move semantics, right? Or maybe I&#x27;m overassuming?
  • germandiago2 hours ago
    Little by little, Rust, like D, acknowledges that C++ flexibility regarding object construction, copy and move, even if too much as a default, is sometimes needed :)<p>I saw in D years ago how they also checked into this flexibility after getting some use cases for it (in this case, copying): <a href="https:&#x2F;&#x2F;github.com&#x2F;dlang&#x2F;DIPs&#x2F;blob&#x2F;master&#x2F;DIPs&#x2F;accepted&#x2F;DIP1018.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dlang&#x2F;DIPs&#x2F;blob&#x2F;master&#x2F;DIPs&#x2F;accepted&#x2F;DIP1...</a>
    • orlp2 hours ago
      This is the opposite, it is further opting out of flexibility.
      • eqvinox1 hour ago
        I guess the point is that the <i>concepts</i> are needed, which is true. But the Rust way (more explicit and targeted) of dealing with these concepts seems better than how either C++ or D handle it.
    • giancarlostoro1 hour ago
      D is my favorite language that I wish I could use more, but the chances of me being paid to use it are too low, I wish that job market would expand, I feel like D needs a really good alternative to Vibe.d a web framework with a well designed ORM, or a rich GUI stack out of the box. Go became massive because a production ready but simple HTTP server came out of the box, and other nice to haves that made being productive in Go a breeze from day 1.
      • germandiago1 hour ago
        I also like d a lot even if I did not use it that much (toolchain and getting things done problems mostly, besides not great platform support).<p>The metaprogramming of D is really impressive.<p>In fact I considered using Vibe.d for some backend: it has fibers. I love stackful coros in general (virtual threads in Java, for example). Way more than stackless for most uses.<p>But I am afraid that Vibe.d could not be flexible enough. With Java, Python, etc. I have more than enough for my needs right now.
    • kibwen1 hour ago
      To be clear, this is absolutely not adding any sort of C++-style overrideable implicit move or copy constructor to Rust. There&#x27;s not really any relationship to C++ in this proposal, it&#x27;s just a step towards opt-in linear types.
  • jerf2 hours ago
    Wouldn&#x27;t this be fairly substantially backwards incompatible?
    • panstromek1 hour ago
      By default yes. Part of the work is figuring out how to get around that.
      • jerf51 minutes ago
        Thank you.
  • suddenlybananas8 hours ago
    Could someone explain this to me as someone who&#x27;s never touched async Rust? What kind of useful patterns would this allow for?
    • simonask8 hours ago
      The big one is scoped tasks, or structured concurrency.<p>Currently, Rust has scoped threads: Threads that are guaranteed to terminate before the function that spawned them returns. This is powerful because it allows you to pass references to data that lives on your own stack to threads that you spawn, without any bookkeeping or synchronization mechanism - just the normal borrow checker rules.<p>For example, you can allocate a large array, then split it into multiple non-overlapping slices, and then have a group of threads populate each slice, all in safe Rust code.<p>But the same isn&#x27;t true for async tasks in Rust, because futures are just objects representing a state machine, and they don&#x27;t get any special treatment. In particular, they carry no guarantee that the state machine will actually run to completion, which is fundamentally different from how functions run (stack frames are guaranteed to unwind in some way, either by returning or panicking, unless the entire program has terminated).<p>To make the situation worse, there are many cases where Rust futures are much more prone to cancellation than synchronous code, because that is also one of the big benefits of using async in the first place - for example, you may be running multiple futures in parallel, pick the result from the one that finishes first, and then cancel the rest.<p>Getting this stuff under control is why people say that &quot;async cancellation&quot; is a difficult problem to solve, and that is true in all languages that have async. These traits will hopefully make it much easier to work with in Rust.<p>(There are also many other interesting things you could do with this, unrelated to async. Immovable and unforgettable are both interesting properties of an object that could be used to design many cool APIs in general.)
    • pornel4 hours ago
      Things you&#x27;d expect to work already.<p>It doesn&#x27;t really add anything new and flashy, but removes some annoying warts.<p>Sync code has scoped threads that enable multi-threaded execution within a function, without having to ensure the data outlives the function call. Async can&#x27;t do that while guaranteeing safety. This makes tokio::spawn awkward and annoying, and is a major source why people dislike Rust&#x27;s async.<p>Low-level async code that polls Futures requires using the Pin wrapper type, which is unergonomic, and doesn&#x27;t really guarantee safety, but it&#x27;s more like a &quot;be careful here&quot; sign. Proposed changes would make that code look more like normal Rust and work without unsafe escape hatches.
      • simonask2 hours ago
        &gt; and is a major source why people dislike Rust&#x27;s async<p>It&#x27;s worth mentioning that there is, in fact, no language out there other than Rust that can even do this in the first place.<p>Some languages give the illusion that they support it by boxing the stack frame of async functions and letting a garbage collector deal with the consequences, but that comes with significant drawbacks too (additional GC pressure, heap allocation overhead, requiring a GC in the first place).<p>You can do it with C++ coroutines, but it&#x27;s much harder to do correctly than in Rust if you want to maintain any sense of conviction that the system is correct.<p>The main reason that structured async concurrency would be so awesome to have is that it feels like Rust has the right set of features that could enable it with a set of constraints that are so much more attractive than any other language out there can provide - no overhead, &quot;just works&quot; with no drawbacks.<p>(For the record, you can actually get pretty far today using primitives like `FuturesUnordered` instead of `tokio::spawn` and similar, but this sidesteps the runtime&#x27;s scheduler, so YMMV. This basically creates a task-local mini-scheduler for your futures, which may or may not be sufficient.)
    • aabhay8 hours ago
      It makes it easier to write recursive async functions. It makes it easier for async functions to borrow rather than clone from their outer scope.<p>All really awesome, non controversial and ergonomic things.
      • simonask2 hours ago
        Wait, how does it actually change the recursive async story?<p>The problem today is that the compiler-synthesized struct implementing `Future` for each async function cannot contain an instance of itself without boxing, because it would create a type of infinite size. That&#x27;s a separate problem that&#x27;s also hard to solve nicely, because the call tree might be deep, and deciding where to cut (using Box::pin) is non-trivial.
  • hnc99rxjlw3 hours ago
    I felt this one