Rust GPUI - Removing Title Bar
@jeremychone2.3K followers
14,688 views #rustlang
8 Comments
Comments from the original post on X (Twitter)

@TheHasnainIzhar
GPUI, one of the best thing ever made
2 likes

@jeremychone
Yes, whoever designed it knew a thing or two about building UI core frameworks. The GPUI-KIT guys also did great work. You can use raw gpui-component and gpui-base, without the full gpui-kit package. That is good architecture. I was going to do my desktop UI as a webview, even over localhost, but now I am questioning that.

@JaumeMartinJYA
I love gpui. Waiting for you to take a look at NSH, I ported all of my gpui apps to it, for easier compat with mobile, it's good. But still looking to the gpui evolution. Nice video yesterday btw
1 like

@jeremychone
Thanks, for now I am going to focus on GPUI. For Web, I like js/css/html and customElements But I can see the appeal of NSH

@frontendnomad
how did you get instant compilation
1 like

@jeremychone
Not instant, but pretty fast (Instant was video cuts, I don't talk when compile, so, get cut during editing) Now, it was relatively fast, about a couple of seconds. 1) First, project is very small. 2) Then, Cargo.toml profile below helps a little. 3) M5 Max, maxed out There are techniques to get faster on bigger projects, but I have not dug into them yet. But for me, with code base is 80k loc (mono crate), and compile time is decent.

@JohnYani
I'd argue adding the title bar in the first place is harder

@m_koshikov
Прикинь, на любой операционной системе можно убрать тайтлбар только вместе со всеми рамками, просто эта опция называется неправильно