News for hackers. Stuff that matters.
Re:Zero-cost futures in Rust by mindslight on Friday August 12, 2016 @02:29PM (#12277741)
Actually the "current approach" gives you no bound on the stack size. You guess, hope, and test (or do this analysis manually).

While your general objection is good to always keep in mind, it is a tradeoff. There is no perfect solution when you're up against the halting problem (unless you're proposing to change the language to only bounded recursion).

What I'm arguing for here is for more than the single problem the OP is solving, so it's not a case of choosing one or the other and calling it a day.

There are no comments on this comment yet.