HACKER Q&A
📣 coddle-hark

View Source Like in the Matrix?


I was rewatching The Matrix the other day and it got me thinking about information density in source code. In the movie, they view the “source code” of the matrix as vertical columns of scrolling characters. The characters vary in brightness and the scrolling varies in speed, and the whole screen is filled with these characters. Compared to how source code is usually presented, there’s a lot more information on the screen.

Has anybody looked into information dense representations of code like that? I’m thinking it might be useful for getting an oversight of a code base or something. Honestly I don’t even know the proper terminology to describe the effect, so if anyone can point me towards relevant literature I’d be grateful.


  👤 mtmail Accepted Answer ✓
""I like to tell everybody that The Matrix's code is made out of Japanese sushi recipes," says Whiteley, a production designer from England who's now based at the Animal Logic animation and visual-effects studio in Sydney. He scanned the characters from his wife's Japanese cookbooks." https://www.cnet.com/news/lego-ninjago-movie-simon-whiteley-...

So writing top-to-bottom Japanease might add more information density. And using a programming language that doesn't require brackets or spaces.


👤 thesuperbigfrog
You should check out the APL programming language:

https://en.wikipedia.org/wiki/APL_(programming_language)

It is very terse and uses symbols to compose operations depending on the context:

The following APL expression finds all prime numbers from 1 to R.

(~R∊R∘.×R)/R←1↓ιR


👤 rendall
I think you might find Software Visualization interesting, which is the abstract visual representation of source code.

https://en.wikipedia.org/wiki/Software_visualization


👤 arthurcolle
It's a work of fiction. Maybe learn the Malebolge esolang if you need a challenge.