News for hackers. Stuff that matters.
Re:Rust needs a web framework for lazy developers by mathw on Monday October 07, 2024 @03:19AM (#41763555)
That's an interesting perspective I'd not considered before. Maybe there are different "registers" of Rust, in the same sense that linguists talk about registers in human languages, where you use your language differently for different purposes.

And thus, maybe if you're writing something that doesn't need to be screamingly fast absolutely all the time there's a register of Rust where putting lots of things in Rc<Box<T>> is completely acceptable, in much the same way that you might use a lot of impolite words around your friends but you don't in front of your employer.

Re:Rust needs a web framework for lazy developers by Philpax on Monday October 07, 2024 @04:00AM (#41763741)
Re:Rust needs a web framework for lazy developers by LtdJorge on Monday October 07, 2024 @05:15AM (#41764143)
I think Rc<Box<T>> could be simplified to Rc<T>.
Re:Rust needs a web framework for lazy developers by scotty79 on Monday October 07, 2024 @08:09AM (#41765189)
I'm gonna plug my Rust "invention" here:

Show HN: How to program in Rust as if it was old school C++ with pointers

https://news.ycombinator.com/item?id=34067924