Re:Makie, a modern and fast plotting library for Julia
by simondanisch on Wednesday July 05, 2023 @04:07AM
(#36597232)
We're not using diffing! Diffing has a pretty big overhead for calculating the shadow dom and going through all values and seeing if they're the same, which can be very expensive for huge plots. We use signals that get wired through from the user up to the gpu, so if the user changes something, it gets immediately and directly changed on the gpu too! that's very different from diffing and much faster..
We're surely also not the only ones doing something like that, but Alex is referring to the whole package of Makie offering the ui, performance, simplicity and visuals to do this easily
[ Parent
| on HN ]
Re:Makie, a modern and fast plotting library for Julia
by twobitshifter on Thursday July 06, 2023 @03:39PM
(#36621651)
ok, that’s interesting. The other libraries don’t diff the dom either (so many different diffs in this world) but compare the chart configuration and use this to determine what’s changed. And when you provide a partial configuration the existing stuff is implicitly left unchanged, so only new data is compared.