SonOfLilit
3/26/2007 8:48:00 AM
A generic language visualiser won't be. It just won't, IMHO, since
language execution models are so different.
A framework for language visualization that does the graphics and lets
you tell it how to visualize would be possible, tho.
I can easily tell you how method_missing would be visualised: you'd
see the call to method_missing, like any other call to code that is
written out in the .rb files. Methods that don't exist in code, like
those created by metaprogramming, would be visualised as I described -
they method name and parameters would zoom towards the camera and
dissapear.
Garbage collection is simple to visualize - collected objects just
fade away, if any memory visualization is done (which with my first
proposal isn't the case).
It will indeed greatly benefit the community.
Anyone up for the task?
On 3/26/07, Peña, Botp <botp@delmonte-phil.com> wrote:
> From: SonOfLilit [mailto:sonoflilit@gmail.com] :
> # The Ruby part is easy since writing profilers is so trivial in Ruby.
>
> i cannot wait on how one would picture method_missing, meta methods that magically springs into existence, and garbage collection; maybe picture them w balloons, magic wands, and witch brooms :))
>
>
> # It'll greatly benefit the community. IMHO.
>
> indeed. ultimately, assumming one could come up w a generic multi-language visualizer, it would be one of the best tools to use to study a language. a killer app, imho.
>
> kind regards -botp
>
>