Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jwilm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
jwilm
10y ago
There's a small subset of systems experiencing this. Do you happen to have a Radeon video card? In the profile I looked at, glClear was calling down into (through libxcb) __poll_nocancel which was eating 99% of the CPU time. I'm n
32.
▲
by
jwilm
10y ago
> because of .Xresources format? Specifically this. Without being above-average proficiency with X, the format and available options are likely to be difficult to figure out. > "GUI-based configuration is unnecessary", so ho
33.
▲
by
jwilm
10y ago
The renderer is custom in order to have complete control over when and how the screen is drawn.
34.
▲
by
jwilm
10y ago
As Steve mentioned, it was mostly for ffi. There's also a few places where I'm doing my own bounds checking in order to provide nicer error messages. After doing the bounds checking, doing an index operation without the standard l
35.
▲
by
jwilm
10y ago
Even so, I do plan to add a Vulkan renderer at some point using vulkano. My hope is that the build script can choose the best option at compile time.
36.
▲
by
jwilm
10y ago
From what I understand, screen should be roughly equivalent. I mention tmux because it's my multiplexer of choice.
37.
▲
by
jwilm
10y ago
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.y
38.
▲
by
jwilm
10y ago
Thank you for the suggestion! I've had a few comments suggesting similarly. I plan to investigate this as time permits.
39.
▲
by
jwilm
10y ago
> My current Bash prompt contains a unicode character. I guess this is unsupported? Multibyte characters are 100% supported, but only if they are available in the chosen font. The fallback fonts feature will resolve this issue for you. &
40.
▲
by
jwilm
10y ago
That's the plan! Most components of Alacritty are platform agnostic aside from font loading, font rasterization and setting up a pty.
41.
▲
by
jwilm
10y ago
Thank you for the thoughtful comment. There's been a lot more pushback on the scrolling decision than I had anticipated. It's not something I want in my terminal, but it seems that a simple feature like this is essential for other
42.
▲
by
jwilm
10y ago
Comparing it with Mozilla's Servo project (specifically WebRender) would be more accurate.
43.
▲
by
jwilm
10y ago
The amount of time spent doing GPU work is rather small. Battery life tends to be better on my Macbook with Alacritty than with other terminals. This seems to suggest that power consumption is actually less than with CPU based renderers (an
44.
▲
by
jwilm
10y ago
Should probably redirect that to the blog; thanks for the notice!
45.
▲
by
jwilm
10y ago
Just for completeness, there is one other major unstable feature that Alacritty requires . #![feature(step_trait)]. I forget the precise details, but I believe this was required for using newtype wrappers as a `Range` for indexing. Specifi
46.
▲
by
jwilm
10y ago
> Personally, the lack of scrollback and tabs is a dealbreaker for me Completely understandable. This decision was expected to be polarizing. > Do you support color emoji in the Terminal? I've never quite managed to get it workin
47.
▲
by
jwilm
10y ago
Thanks!
48.
▲
by
jwilm
10y ago
Glyphs are rasterized once and stored in a texture atlas. When rendering a glyph, the fragment shader pulls from that texture. Once loaded, the glyph stays loaded for the duration of the program.
49.
▲
by
jwilm
10y ago
This is planned once Alacritty reaches an alpha release. Today's release is considered pre-alpha and is source-only.
50.
▲
by
jwilm
10y ago
Nope. The idea is that perf should be good enough that it's not necessary. withoutboats and I are hopefully going to collaborate and add notty protocol support to Alacritty. This should make text splits as performant as GUI splits.
51.
▲
by
jwilm
10y ago
Terminal performance is fine at smaller sizes and with less going on. In a multi-pane tmux window with vim, performance issues start to become noticeable. Many people I've talked to have experienced a situation where a bunch of output
52.
▲
by
jwilm
10y ago
I'm the author of Alacritty, and I'm here to answer any questions!
53.
▲
Show HN: Alacritty, a GPU-accelerated terminal emulator written in Rust
(blog.jwilm.io)
1170 points
by
jwilm
10y ago
|
476 comments
54.
▲
by
jwilm
10y ago
Does irssi proxy support TLS yet?
55.
▲
by
jwilm
10y ago
We use PgBouncer as well. It's still useful to have a connection pooler within the application for ensuring connections are still good, reconnecting as needed, and making it easy to check out a connection.
56.
▲
by
jwilm
10y ago
> What? I've almost exclusively heard the opposite: Go makes error handling too in-your-face. People don't like writing "if err != nil" constantly. Do you actually have to look at the value you err, or can you just pr
57.
▲
by
jwilm
10y ago
`rustup component add clippy` Whoa, that's the first I've heard about this. Very exciting plans!
58.
▲
by
jwilm
10y ago
It's essentially what serde is doing internally. As an author, you don't have to do any of the work, though. I struggle to imagine how a dynamic language could provide equivalent functionality without the call side becoming more c
59.
▲
by
jwilm
10y ago
We actually did consider them briefly. The problem in this case was having zero in-house knowledge about the technologies nor anybody particularly experienced with FP. We did not want to take on that much risk.
60.
▲
by
jwilm
10y ago
> That diagram is the most interesting representation of a diagram I have ever seen. Thank you! We worked really hard on it. > Do you have a tool to generate these for you, or was it hand crafted for this post? If it's a tool, is
More ›