I went towards reading root bytes instead of json buffer, this is the implementation suggested by developers at ROOT and all the other similar projects (in go, julia, and javascript) seems to have adapted the same strategy.
https://github.com/thisismeamir/root.kt
a
altavir
05/26/2026, 11:40 AM
The problem with direct binary implementation is that it breaks for any non-basic ROOT distribution. And all collaborations use non-standart ROOT distributions.
altavir
05/26/2026, 11:41 AM
Do you have any test cases yet?
a
Amir H. Ebrahimnezhad
05/26/2026, 1:45 PM
Yes I'm testing it agains FCCee CMS and Atlas data as well as some simple cases by myself.
Amir H. Ebrahimnezhad
05/26/2026, 1:47 PM
non-standards right now are not that important. only EDM4hep, Pandora and some other projects are relevant at CERN anyway...