Project

General

Profile

« Previous | Next » 

Revision 8f9b038d

Added by aidenfoxivey (Aiden Fox Ivey) about 6 hours ago

ZJIT: Add standalone JSON implementation (#15162)

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.