Re:Rusty Ownership and the Lifecycle’s Stone
by fbdab103 on Sunday November 27, 2022 @04:53PM
(#33767391)
But that is kind of my point. There are plenty of reasons to use Rust that have nothing to do with performance. My brief toe-dip into the Rust world loves the static types, good dependency management, and single executable deployment. That it is faster than my standard language is just the cherry on top.
[ Parent
| on HN ]
Re:Rusty Ownership and the Lifecycle’s Stone
by pclmulqdq on Sunday November 27, 2022 @05:06PM
(#33767497)
The unfortunate reality for many Rust fans is that a lot of people would prefer to use a less complicated language when performance doesn't matter.
That Rust program you spent a day golfing to make beautiful use of iterators? Your friend wrote it in go in 15 minutes.
They also get static types, good dependency management, and singe executable deployment. Cython + mypy basically gives you that with Python.
Re:Rusty Ownership and the Lifecycle’s Stone
by mplanchard on Sunday November 27, 2022 @07:57PM
(#33768640)
I don’t know why this would be an unfortunate reality. People should use whatever language they want.
Rust gives you a lot of ways to express yourself, but now that I am quite familiar with it, I can write Rust just as quickly as I can write Python or Go.
You can spend all day code golfing in any language.
Re:Rusty Ownership and the Lifecycle’s Stone
by mplanchard on Sunday November 27, 2022 @08:04PM
(#33768672)
Yeah, Rust is a really fun language to write in my opinion. If your use-cases are tolerant of non-hyper-optimized Rust, there’s no reason to make it too hard on yourself while you’re learning. As you use it, I think you’ll naturally gravitate towards writing more optimized code, because the language guides you in that direction.