Lurker News

Comments (476) 68 threads

Earlier comments
ggame1 reply#
I'd like to host this terminal in a 3D environment. Any plans to enable this? Perhaps with a signed distance field texture.

I'm building a 3D game in Rust and would like to be able to drop this in.

elcritch2 replies#
Oh, just as interesting, plugging this into VR system! Make it way easier to multitask and work on lots of systems (at the risk of looking incredibly goofy).
ggame1 reply#
Sadly VR is useless for reading :( I wish it wasn't so. You're much better off with a high resolution screen with the ability to zoom in and out between landmarks. Maybe a head tracker to make navigation more intuitive.
eduren1 reply#
Hopefully that changes with the next bump in pixel density. Aggressive supersampling already is getting close to readable.

Continue this thread — 1 reply

richdougherty1 reply#
> Both the utf8parse and vte crates that were written for Alacritty use table-driven parsers. The cool thing about these is that they have very little branching; utf8parse only has one branch in the entire library!

From a simplicity point of view table-driven parsing is pretty neat. However, it does mean you'll be getting a lot of branch misprediction in your single branch, since it's harder for the CPU to predict where it will branch to. You could probably go faster with some handcoding in the parser.

ycmbntrthrwaway#
Rust has macros so any sort of tables can be rolled out into more efficient code, like if you wrote switch-case in C. It should be possible to rewrite vt_state_table! once later, when it becomes a problem.
Arubis1 reply#
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.

MaxLeiter#
I'd swap to Alacrity if it supported multiple tabs or buffers like iTerm2
epberry1 reply#
I really like this. It combines my love of tmux and vim with my interest in rust, system software, terminals, and my eternal quest for the fastest, simplest, most cross platform terminal development environment. Great job - looking forward to running nightly builds of this.

EDIT: Ah, after a little sleuthing, the recent post from OneSignal on why they chose rust for one of their services makes sense :).

rhaps0dy#
This reads like it should go in a grad school statement of purpose :)

Load more comments