Live data from Hacker News

Glamorous Toolkit: Moldable development environment

gtoolkit.com

31–38 of 38 posts

Re: Glamorous Toolkit: Moldable development environment

#31
post #18

Earlier quoted context omitted.

It's really interesting to see all of this visualized. I used to do a subset of these things when I used to reverse engineer games. Reverse engineering all the object structures, injecting a DLL, pointing at those objects and then exposing them via lua or angelscript. Maybe making an interactive REPL like thing so I could play around with things. I wonder if instead of binding to lua/angelscript, you could instead so…

You can already connect Glamorous Toolkit to JS and Python to work with objects exposed by their runtimes :)

Can you post a link to the docs regarding python? it isn't listen on the docs and this very comment comes in third place after the google search.

Docs link: https://gtoolkit.com/docs/

Re: Glamorous Toolkit: Moldable development environment

#32

Earlier quoted context omitted.

Glamorous Toolkit build the VM differently from Pharo. Please give the distribution a try: https://gtoolkit.com/download/

It worked! Not sure why or what's the difference, but Pharo downloaded from here: https://pharo.org/download still doesn't work - it opens a window but never draws anything in it, it's stuck showing whatever was below it and never updates.

Glamorous Toolkit is based on Pharo, but it is a separate project with its own build system and even graphical stack. I am glad it works for you. Feel free to ask questions.

Re: Glamorous Toolkit: Moldable development environment

#33

Earlier quoted context omitted.

It worked! Not sure why or what's the difference, but Pharo downloaded from here: https://pharo.org/download still doesn't work - it opens a window but never draws anything in it, it's stuck showing whatever was below it and never updates.

Glamorous Toolkit is based on Pharo, but it is a separate project with its own build system and even graphical stack. I am glad it works for you. Feel free to ask questions.

What is the main difference in your build approach? Are there any major changes to the underlying VM?

Re: Glamorous Toolkit: Moldable development environment

#34

Earlier quoted context omitted.

Glamorous Toolkit is based on Pharo, but it is a separate project with its own build system and even graphical stack. I am glad it works for you. Feel free to ask questions.

What is the main difference in your build approach? Are there any major changes to the underlying VM?

In GT, the Pharo VM is like a library, not the main executable. We have two threads: one that runs the UI rendering and one that runs the Pharo image. Also, our build infrastructure is coded in Rust, and all VM libraries we create are written in Rust as well.

Re: Glamorous Toolkit: Moldable development environment

#35

Earlier quoted context omitted.

What is the main difference in your build approach? Are there any major changes to the underlying VM?

In GT, the Pharo VM is like a library, not the main executable. We have two threads: one that runs the UI rendering and one that runs the Pharo image. Also, our build infrastructure is coded in Rust, and all VM libraries we create are written in Rust as well.

Ah so is the UI written in Smalltalk? Or Rust?

Re: Glamorous Toolkit: Moldable development environment

#36

I tried running this, maybe 4? months ago when it was posted on HN. I use JetBrains + PHP. After two hours of trying to follow incomplete instructions, downloading special IDEs and plugins, hunting for alternatives to dead links, etc, I gave up on the process.

Yikes, that sounds frustrating. Did you download one of the binaries from https://gtoolkit.com/download/ ? Also, what OS are you on?

For me, the Mac (both ARM and Intel) binaries have consistently “just worked“ for the past 2+ years

Re: Glamorous Toolkit: Moldable development environment

#37

Earlier quoted context omitted.

In GT, the Pharo VM is like a library, not the main executable. We have two threads: one that runs the UI rendering and one that runs the Pharo image. Also, our build infrastructure is coded in Rust, and all VM libraries we create are written in Rust as well.

Ah so is the UI written in Smalltalk? Or Rust?

The low level rendering is handled through Skia and it's hosted in windows handled by Winit. But all the high level model is in Smalltalk.

Re: Glamorous Toolkit: Moldable development environment

#38
Jack Rusher mentioned the Glamorous Toolkit in his talk "Stop Writing Dead Programs" https://www.youtube.com/watch?v=8Ab3ArE8W3s

  And here we have the Glamorous toolkit. This is Tudor Gîrba and feenk's thing. They embrace this philosophy completely. They have built an enormous suite of visualizations that allow you to find out things about your program while it's running. We should all take inspiration from this. This is an ancient tradition, and they have kind of taken this old thing of Smalltalkers and Lispers building their own tools as they go to understand their own codebases, and they have sort of pushed it – they've pushed the pedal all the way to the floor, and they're rushing forward into the future and we should follow them.
Post reply on HN