summaryrefslogtreecommitdiff
path: root/zjit/src/json.rs
AgeCommit message (Collapse)Author
2025-12-10ZJIT: Use inline format args (#15482)Alex Rocha
2025-11-12ZJIT: Add standalone JSON implementation (#15162)Aiden Fox Ivey
I split this off from https://github.com/ruby/ruby/pull/14999 to land the JSON component earlier. Iongraph's viewer is (as mentioned in the article above) a few notches above graphviz for viewing large CFGs. It also allows easily inspecting different compiler optimization passes and multiple functions in the same browser window. Since Spidermonkey is using this format, it may be beneficial to use it for our own JIT development. The requirement for JSON is downstream from that of the Iongraph format. As for writing the implementation myself, ZJIT leans towards having fewer dependencies, so this is the preferred approach.