News for hackers. Stuff that matters.
Re:Rails 7.1 Released by throwthrow5643 on Friday October 06, 2023 @06:06AM (#37788856)
> It's that serializers in Rails are the most prominent place where you'll have cpu-bound performance made visible.

Sorry, what other interpreted language has significantly better serializiation/deserialization performance than Ruby?

Re:Rails 7.1 Released by berkes on Sunday October 08, 2023 @04:56AM (#37808915)
Python, PHP and JavaScript have significantly better performance for cpu-bound programs.

E.g. https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

And I have measured ser/de for PHP, Ruby (and Rust, we needed to know how much faster JSON serde in rust would be, and compared it to Ruby and PHP). Php is probably much faster because the JSON ser/de is apparently written in C.