Hugo Hacker News

Some Ways that PyPy uses Graphviz

chrisseaton 2021-08-16 12:16:08 +0000 UTC [ - ]

I work on a similar tool for Graal graphs at Shopify.

https://github.com/Shopify/seafoam

It allows us to understand compilation - like this:

https://chrisseaton.com/truffleruby/basic-graal-graphs/

nightcracker 2021-08-16 12:13:20 +0000 UTC [ - ]

I really wish Graphviz had some smarter automatic layout algorithms. If I'm not manually laying out the graph, and it isn't one of the select few kinds of graphs that works well, the results are often quite poor.

graphviz 2021-08-16 13:30:06 +0000 UTC [ - ]

Specifically which new algorithms would you like to see?

A difficulty is that implementation is harder than a typical student project, and we need some decent developer documentation.

nightcracker 2021-08-16 17:14:49 +0000 UTC [ - ]

> Specifically which new algorithms would you like to see?

I don't have the answers, sorry, only the frustrations. I know it's a hard problem, and subjective at that. I don't mean to put graphviz down, it's still the tool I go to.

chrisseaton 2021-08-16 12:15:06 +0000 UTC [ - ]

> I really wish Graphviz had some smarter automatic layout algorithms.

I don't know - the currently smart one are already pretty slow in many cases. I'm not sure I have enough time in the day to wait for something even smarter to run!

mistrial9 2021-08-16 14:32:14 +0000 UTC [ - ]

great to see this -- I will add that, despite ascii-driven GraphViz, there is an eternal idea that graphical user interfaces and solid abstractions could lead to a better experience for a researcher or docs person. Software built as GUI+abstractions have resulted in remarkable environments, but will always have limits in other ways. The math and text input to GraphViz meanwhile, keeps rolling along each decade.

joppy 2021-08-16 15:25:35 +0000 UTC [ - ]

It’s not a very high bar though is it, plaintext input and batch processing to produce image files?

graphviz 2021-08-17 00:08:47 +0000 UTC [ - ]

(30 years and 1500K lines of code later) yes that's somewhat true