nighthawk454 2 days ago

Ghostty is a terminal like iTerm. This compiles it so it runs in the browser directly, or browser-based environments like VS Code or the Hyper terminal. Without that you’d have to reimplement a whole terminal in JavaScript. Which is what people have been doing with via the xterm.js project. Naturally, there is effort and bugs that go into maintaining a clone/port like that. This lets you use the Ghostty terminal code directly - compiled to WebAssembly and with no other dependencies - as an API-compatible drop-in replacement

  • azemetre 2 days ago

    Only other relevant thing to add is that Ghostty is also written in zig and makes for a good showcase of the language.

DiabloD3 2 days ago

That actually pretty much is the ELI5. Its merely a different terminal that offers more features than iTerm2 and also runs on OSX.

Unless you actually need/want those features (which, although I am a terminal aficionado, I must admit are niche as fuck), pick whichever terminal makes you happy. Features that are important to some people are performance, Unicode support, and OS support.

The most decidedly non-ELI5 feature comparison: https://www.jeffquast.com/post/state-of-terminal-emulation-2... and https://ucs-detect.readthedocs.io/results.html

  • bisby 2 days ago

    You could argue whether or not it's a "feature", but one of the thing ghostty claims as an advantage is the out of the box configuration.

    With no config at all, ghostty looks nicer than my alacritty setup. The rendering is just real nice. I could probably get alacritty to look as nice or nicer, but ghostty just worked this way with no config needed.

    So you could consider aesthetics and rendering quality, and simplicity of setup both as features, which people may need/want (or not).

    • DiabloD3 2 days ago

      I wouldn't argue against that at all: OOBE is absolutely a feature.

      Problem is, we don't all agree with what the OOBE should be. I, for example, always strip out menus, tabs, and other UI features. For me, the terminal that requires the least lines in the config file is probably going to be the winner (assuming no unfixable defects that effect me).

shevy-java 2 days ago

I also have ton of questions. Hopefully the author can add more documentation to ghostty. Right now I don't fully understand the use cases or how people may benefit from ghostty.

oulipo2 2 days ago

This runs in the browser, so it would allow you to connect to a server from your browser and render normal terminal commands in that environment

For instance if you're a cloud provider, and you want people to be able to "drop in a shell" on a machine, but make that available through the web, you could use this