News for hackers. Stuff that matters.
Re:Fury: 170x faster than JDK, blazing fast serialization by... by chaokunyang on Sunday October 08, 2023 @08:09AM (#37809771)
Protobuf/Avro doesn't support polymorphism and circular references, maybe that's one of thge reason? But even compared with protobuf, fury is 3.2x faster. When comparing with avro, fury is 5.3x faster
Re:Fury: 170x faster than JDK, blazing fast serialization by... by TeeWEE on Sunday October 08, 2023 @11:54PM (#37816782)
How can this be faster than Protobuf? Protobuf basically does a direct storage of bytestream to memory. No parsing needed because it precompiled the stubs. Theoretically it can’t be much faster.

And having an IDL is an advantage imho. Clear specs and interface design.

Re:Fury: 170x faster than JDK, blazing fast serialization by... by chaokunyang on Monday October 09, 2023 @01:33AM (#37817182)
Not exactly. Protobuf has compression for string/numbers. Fury use different compression protocol. Another thing is that Protobuf generated code are not efficient enough. Fury generated the code at runtime, which has more information about the jvm, then it can genereate more eifficient code, avoid many memory access, branchs, and do more code optimization.