[Pharo-dev] Compiler Explorer (for the Compiler guys) #offtopic

Mariano Martinez Peck marianopeck at gmail.com
Wed Oct 18 07:42:37 EDT 2017


On Wed, Oct 18, 2017 at 3:36 AM, Tudor Girba <tudor at tudorgirba.com> wrote:

> Hi,
>
> This is already available since some time in the GTInspector. You can just
> inspect a compiled method. You will get both the bytecode and the AST (with
> source tracking, too). In fact, this was one of the original reasons why
> GTInspector exists: I wanted to figure out how the AST is structured so
> that I can write queries against it :).
>


Sure, we just miss machine code :)
But...AFAIR to get the machine code of a method it needs VMMaker to be
loaded....





>
>
> Cheers,
> Doru
>
>
> On Oct 17, 2017, at 10:03 PM, Esteban A. Maringolo <emaringolo at gmail.com>
> wrote:
>
> I'm sure we could do this with ease, because we already can see the
> bytecodes.
>
> https://godbolt.org/
>
> Regards!
>
> Esteban A. Maringolo
>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "The coherence of a trip is given by the clearness of the goal."
>
>
>
>
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20171018/e5d12d79/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiled-method-bytecode.png
Type: image/png
Size: 98926 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20171018/e5d12d79/attachment.png>


More information about the Pharo-dev mailing list