Live data from Hacker News

Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

blog.jwilm.io

201–210 of 491 posts

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#201
post #139

Earlier quoted context omitted.

While it's nice that they want to converge on rustup, I greatly prefer using my distro-provided compiler in almost all cases. Right now that is rustc 1.14, which means that that alacritty is currently beyond my compilation capability. I don't think this is nearly as bad as the grandparent suggested though. The language is young, I'd prefer experimental features remain in the experimental branch rather than get bad de…

Don't worry. The Rust community is sensitive to the desire to only install Rust with a package manager. There was even talk (a few days ago) of making an LTS version of the Rust compiler for use in more conservative distros that don't want to update it every 6 weeks. On another front, Rust is working hard to get people off of nightly. This project, for example, uses 3 unstable features. Clippy can already work on sta…

> Clippy can already work on stable

No. But we plan to make it work.

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#202
post #142

Earlier quoted context omitted.

It's too bad notty is licenced under the AGPL. That basically guarantees 0 usage at any sort of bigco.

That is not how Copyleft software licenses work at all. All the AGPL gurantees is that 'Bigco' must contribute back to the community any modifications they make to the software.

The AGPL is different from the GPL. The AGPL prevents use at my Bigco (Google) for a number of good reasons.

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#203

Earlier quoted context omitted.

I respectfully disagree. Alacritty follows the Unix philosophy of doing one thing, and doing it well. I used to think that terminal scrollback and tabs were great ideas -- but switching to tmux changed my mind completely. Tmux is so much more capable for managing your session history. The terminal's tab and scrollback features can never match this. They're just bloat :p

> Alacritty follows the Unix philosophy of doing one thing, and doing it well. That principle is often misapplied, and I think that's true here, too. The "do one thing" about Unix is really about composability (e.g. "find" doesn't need to sort because you do "find | sort"), but you don't compose a terminal app with anything. A terminal app that has terminal features doesn't violate any principles of simplicity.

Ah, but you do compose it -- with tmux, for instance :-)

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#204

Earlier quoted context omitted.

Just get used to the keybindings. I find it much faster to search up and yank in tmux than scrolling and dragging to copy stuff.

that as the case may be, the same argument applies to vim (i use vim, with at least some of its keyboard shortcut glory, and love it); it might be faster in a lot of cases, but at the end of the day editors like sublime, atom, brackets, etc all have a much larger user base because people aren't willing to learn

But you're criticizing tmux - which is solely used by power user programmers who are willing to learn.

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#205
post #2

I'm the author of Alacritty, and I'm here to answer any questions!

Very cool project, I'm trying it out, but this is an unrelated question: what is that Vim colorscheme in your screenshot? Do you have a link?

According to his dotfile repo[0] it is Tomorrow-Night-Bright.

[0]: https://github.com/jwilm/dotfiles/blob/master/vimrc#L6

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#207
post #202

Earlier quoted context omitted.

That is not how Copyleft software licenses work at all. All the AGPL gurantees is that 'Bigco' must contribute back to the community any modifications they make to the software.

The AGPL is different from the GPL. The AGPL prevents use at my Bigco (Google) for a number of good reasons.

That's company policy and not the fault of the license. EDIT: Unless you're making modifications to the software, the AGPL does not apply.

EDIT2: http://www.affero.org/oagf.html#How_does_this_license_treat_...

Specifically, the question, "How does this license treat commercial enterprise use over intranets and internal networks?"

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#208
post #199

I didn't even realize my (iTerm2) terminal emulator wasn't fast until I tried Alacritty. When doing non-intensive tasks, the difference is less one of vision and more a "feel". And it feels SNAPPY. And, as a heavy tmux user, I'm definitely your target audience. But...the font rendering doesn't look as good as iTerm's, at least not yet. I suspect I'll be swapping once you're at a public build release.

I'd swap to Alacrity if it supported multiple tabs or buffers like iTerm2

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#209

Earlier quoted context omitted.

Question: With a modern discrete GPU card wouldn't the texture atlas just end up in it's VRAM as cards these days commonly have >1GB of VRAM? (Sorry if this is a stupid question, still trying to grok opengl)

Sure, but you're either going to have to generate the whole font up-front(can be many thousand characters) or you need to re-upload as you use/generate new characters which can thrash unless you're very careful about the regions you lock(and you have a driver that behaves appropriately). Most font renderers I know do a tiered LRU cache of 3-4 texture "pages" which hurts your drawcall batching but tends to be a nice t…

Okay so I dug into this. There is a font cache on the GPU and another in CPU ram. I believe it will fall into the drawcall batching issue you are concerned about... but terminals don't need to get >60FPS in most cases.

Re: Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust

#210
post #2

I'm the author of Alacritty, and I'm here to answer any questions!

> and scrollback are unnecessary Um... that's kind of a deal breaker to me. Really no scrollback at all?

I may be reconsidering this position[0]. If scrolling support can be added in a non-intrusive way behind a feature flag (so it could be completely compiled out), it could potentially have a place in Alacritty.

[0]: https://news.ycombinator.com/item?id=13340369

Post reply on HN