Live data from Hacker News

Show HN: Light like the Terminal – Meet GTK LLM Chat Front End

github.com

11–15 of 15 posts

Re: Show HN: Light like the Terminal – Meet GTK LLM Chat Front End

#11
post #7

It’d be better if it was written in C or at least Vala. With Python, you have to wait a couple hundred milliseconds for the interpreter to start, which makes it feel less native than it can be. That said, the latency of the LLM responses is higher than the UI, so I guess the slowness of Python doesn’t matter.

What's the startup time now with 9950X3D, after a prior start so the pyc's are cached in RAM?

With a laptop 7735HS, using WSL2, I get 15ms for the interpreter to start and exit without any imports.

Re: Show HN: Light like the Terminal – Meet GTK LLM Chat Front End

#12
post #11
post #7

Earlier quoted context omitted.

What's the startup time now with 9950X3D, after a prior start so the pyc's are cached in RAM?

With a laptop 7735HS, using WSL2, I get 15ms for the interpreter to start and exit without any imports.

I've got a i5-10210U CPU @ 1.60GHz.

You triggered my curiosity. The chat window takes consistently 2.28s to start. The python interpreter takes roughly 30ms to start. I'll be doing some profiling.

Re: Show HN: Light like the Terminal – Meet GTK LLM Chat Front End

#13
post #7

It’d be better if it was written in C or at least Vala. With Python, you have to wait a couple hundred milliseconds for the interpreter to start, which makes it feel less native than it can be. That said, the latency of the LLM responses is higher than the UI, so I guess the slowness of Python doesn’t matter.

What's the startup time now with 9950X3D, after a prior start so the pyc's are cached in RAM?

Hey I felt bad that there was a longer delay and by making sure to lazy-load everything I could, I managed to bring down the startup time from 2.2 seconds to 0.6 on my machine! Massive improvement! Thanks for the challenge!

Re: Show HN: Light like the Terminal – Meet GTK LLM Chat Front End

#14
post #10

Does this work on Mac or Linux only?

I'd truly like to know! But I've no access to a Mac to try. If you can, try it and let me know? If it does, please send a screenshot!

Confirm it works with mac!

gtk-chat at least, having some issues with the notif lib for gtk-applet

screenshot: https://postimg.cc/KKxQNdG6

Re: Show HN: Light like the Terminal – Meet GTK LLM Chat Front End

#15
post #13
post #7

Earlier quoted context omitted.

What's the startup time now with 9950X3D, after a prior start so the pyc's are cached in RAM?

Hey I felt bad that there was a longer delay and by making sure to lazy-load everything I could, I managed to bring down the startup time from 2.2 seconds to 0.6 on my machine! Massive improvement! Thanks for the challenge!

nice that's a huge difference
Post reply on HN