Developer builds viral 3D source code visualizer that consumes 21GB of RAM — flies around 2.5 million lines of code at over 120 frames per second


The immortal line “it’s a Unix system, I know this” is forever entrenched in many a techie’s brain. In the Jurassic Park movie, the visualization software in question was Silicon Graphics’ File System Navigator for IRIX, an actual piece of software running on a real SG workstation. The concept of viewing files in 3D space never truly caught on, but the horsepower available in contemporary machines may change that. Makepad creator Rik Arends created his own 3D flyable source code visualizer that he claims handles 2.5 million lines with ease, at 120+ FPS, no less.

Although the published video is only at 60 FPS due to X’s limitation, the navigation looks smooth indeed, and it’s impressive to see all the actual source code in a reasonably readable manner. Arends says the visualization initially took 21 GB of RAM (in this economy?!), but that after judicious application of indexes and streaming compression, he got memory usage down to a much more palatable 3.5 GB. Although he remarked that he’s yet to fully optimize the visualizer, he did try to load Chromium’s entire source tree (51 million lines) in only 60 seconds at one point.





Source link

About Author /

Start typing and press Enter to search

×

Login

Enable Notifications OK No thanks