Live data from Hacker News

Libghostty is coming

mitchellh.com

231–240 of 275 posts

Re: Libghostty is coming

#231

I love how this guy founds + takes public + sells a multibillion company and then just goes right back to hacking. Legend.

Yeah, it is so hard to be born and raised in California. I cannot imagine what he went through. Hero.

Related: https://news.ycombinator.com/item?id=45056901

From the author himself: "My company had an exit, I did well financially. This is not a secret. I'm extremely privileged and thankful for it.".

Honestly, good for him [for doing well financially] and for admitting that he is privileged, and above all, being thankful for it.

Re: Libghostty is coming

#232
I built a macOS app [1] (to fuzzy search Apple Notes) using Ghostty as a base so that I could use its fast rendering for large lists.

I think there is space for an Electron-like framework but for standalone terminal apps. Looking forward to using Ghostty as a library.

[1]: https://enzom.dev/hot-notes/

Re: Libghostty is coming

#233

Really looking forward to this, writing my own personal editor in Ruby and not having a library for parsing terminal input is leading me to write my own kitty keyboard protocol parser (which ghostty implements) and having to hand-code lookup tables is driving me batty. I really don't like the idea of using an existing TUI framework as none of them actually implement the kitty protocol. * https://sw.kovidgoyal.net/kit…

Have you released the project? I am somewhat curious! Also I just went from a somewhat (niche?) languages rabbit hole and I refound crystal / crystal is in my mind currently.. So what are your thoughts on using something like crystal instead of ruby because they are similar in what I know and crystal can create a static binary while being (faster?) than ruby I am just somewhat curious to know!

It's nowhere near ready but I made a gist:

https://gist.github.com/VinceGuidry/b44f02117d452bde7471dae2...

I like crystal but without pure OO and the fact that the community is so far behind Go or even Scala it's hard for me to see a good use for it.

You can create static binaries with ruby, just use mruby. I had a bunch of small scripts in crystal that I replaced with mruby and never noticed the difference. You don't get runtime reflection or ruby's enormous library base, but it could fill the need. I may end up transcribing my editor, or perhaps just the parser, to mruby once it's ready.

https://mruby.org/docs/articles/executing-ruby-code-with-mru...

For a fully-static binary, the option you want is at the bottom,

Re: Libghostty is coming

#234
post #45

Earlier quoted context omitted.

Hashimoto is an absolute wizard, but what I find most compelling about him is his absolutely uncanny ability to segment and abstract systems and interfaces in a way for maximum composability and minimal entanglement. He's like the walking embodiment of Rich Hickey's Simple Made Easy philosophy. It's like he designs software systems in such a way that they have no choice but to operate correctly and predictably. Also…

I love ghostty. The only thing that is missing is a find feature which is such an odd omissions for an incredible piece of software.

I honestly didn’t even realize it was missing until I was reading this thread, cause I’m always in a zellij session which has a “search in default editor” key.

Pop the whole scrollback in helix, where I can search, select, jump around, paste stuff into a scratch buffer. It’s slick. It’s got a normal search too. But yeah I haven’t used a built in emulator search in a while I guess!

Re: Libghostty is coming

#235

Earlier quoted context omitted.

Have you released the project? I am somewhat curious! Also I just went from a somewhat (niche?) languages rabbit hole and I refound crystal / crystal is in my mind currently.. So what are your thoughts on using something like crystal instead of ruby because they are similar in what I know and crystal can create a static binary while being (faster?) than ruby I am just somewhat curious to know!

It's nowhere near ready but I made a gist: https://gist.github.com/VinceGuidry/b44f02117d452bde7471dae2... I like crystal but without pure OO and the fact that the community is so far behind Go or even Scala it's hard for me to see a good use for it. You can create static binaries with ruby, just use mruby. I had a bunch of small scripts in crystal that I replaced with mruby and never noticed the difference. You don'…

If mruby can make static ruby then that is actually kinda great, I didn't knew that.

I was thinking more of in terms of performance for some similar developer experience

Pardon me but isn't crystal OOP? i feel like it was because I was introduced to crystal lang via some youtuber some long time ago and the comments said that they didn't use because it was OOP

Also if mruby is so great (which it sounds here), then surely most ruby contributers can migrate over to mruby if that has these gains. I think mruby compiles to C as the intermediate right? So there are definitely some limitations as compared to being a interpreted langauge but that can be somewhat mitigated, no?

I am not a ruby expert or a crystal expert. Because If I was, I would be telling you your future (a slight pun ofc of being a future teller but yes I don't know much about it except the puts syntax or that 100 seconds video from fireship which gives me 10 year experience in ruby :p )

Re: Libghostty is coming

#236
post #191
post #138

Earlier quoted context omitted.

I only wish after 1.3 he could hand over Ghostty to others for maintenance and move to improve other things. The software world really needs people like him to drive things forward .

How is this not driving things forward? It's the best terminal emulator I've ever used.

I just tried it, coming from Kitty, and I didn't notice many differences. What's good that I can try?

Re: Libghostty is coming

#237
post #152

Earlier quoted context omitted.

This can't be right. How are they still afloat? Actually, that's the question (or rather the feeling) I had even before seeing these numbers. Just by reading the docs and looking at everything they built (and how they built it) made me wonder if they spend more than they make. That's a really funny feeling I never had before. Like, surely economies can't be that forgiving when it comes to polishing things. Is that wh…

They’re owned by IBM

More like IBM saved them.

Re: Libghostty is coming

#238
post #194

Earlier quoted context omitted.

Wrong person. You're thinking of Michael “Monty” Widenius, not Mitchell Hashimoto

I think op is telling a similar story, not necessarily the same person.

You are correct. I tried to rewrite my statement after I was being downvoted. English is not my first language to the surprise of most.

Re: Libghostty is coming

#239
post #150

Newb question: what’s the difference between a terminal and terminal emulator? I’ve never figured that out

The former is a piece of hardware from the 70s, the latter is software that emulates the former.

I don’t understand as 1970s hardware requires firmware/software to take input/output with the user?

Re: Libghostty is coming

#240
post #232

I built a macOS app [1] (to fuzzy search Apple Notes) using Ghostty as a base so that I could use its fast rendering for large lists. I think there is space for an Electron-like framework but for standalone terminal apps. Looking forward to using Ghostty as a library. [1]: https://enzom.dev/hot-notes/

I've been meaning to build something with this[1], maybe you'll use it before I get to it.

[1]: https://github.com/charmbracelet/bubbletea?tab=readme-ov-fil...

Post reply on HN