News for hackers. Stuff that matters.
Re:The Serde Rust Framework by Fiahil on Friday October 15, 2021 @03:49AM (#28875402)
It's a tradeoff. Switch to Python and watch your serialization code become at least 10x slower at runtime.
Re:The Serde Rust Framework by CraigJPerry on Friday October 15, 2021 @05:44AM (#28875979)
10x slower seems unlikely - if in python you’re using the same rust serde library for your json parsing or whatever, E.g. you “poetry add orjson” to pull rusts serde lib into your python project, then the actual serde operations themselves will be native rust speed.
Re:The Serde Rust Framework by dathinab on Friday October 15, 2021 @06:40AM (#28876314)
The problem is IMHO less the increased runtime cost, but that it also tends to get less reliable, robust, harder to get actual right (instead of just somehow working) etc.