• atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    4
    ·
    2 years ago

    It’s ridiculous how much time people are spending performance optimizing terminals.

    xterm on a 120MHz Pentium on X11 in the 90s performed “fine”.

    • geneva_convenience@lemmy.mlBanned
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Every Linux user has the earliest and lowest specced version of the 4k Lenovo thinkpad from back when 4k on a laptop was impractical and a stupid idea.

    • PetteriPano@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Sure, it performed “fine”.

      But it was sluggish compared to the VGA ttys we were used to.

      Now, if we can have something as snappy and at the same time as pretty as Eterm… 👌

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      The problem with xterm is that everything else about it sucks. The only other half-decent performer is mlterm which is decent but has its share of issues.

      This one feels quite snappy; better than foot.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      The “Abandon all hope, ye who enter here” terminal?

      Edit: that was once a comment in the sourcecode.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        Hah! It’s funny I just fired it up again for the first time and I do see a bit of flicker in xterm when paging full-screened in vim… So maybe there is something to performance optimizing terminals. :-)

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    Looking at ghostty-git in AUR, zig is built on haskell? With 221 haskell libraries.

    And what does it need pandoc-cli and hslua-cli for?

  • Euro@lemmy.ml
    link
    fedilink
    Norsk bokmål
    arrow-up
    2
    ·
    2 years ago

    warning: this is a giant rant lol

    Before the rest of my comment, let me be clear, I think this terminal is good, and i have no problems with it. My problem is with the hype.

    I simply don’t understand the hype whatsoever. First of all, it’s not even faster than my current terminal. especially when running cat /dev/random for whatever reason

    For the test i ran this rust program i saw in a comment thread somewhere

    use std::{
        fs::File,
        io::{BufWriter, Write},
    };
    
    fn main() {
        let buf = File::create("/dev/stdout").unwrap();
        let mut w = BufWriter::new(buf);
        let mut i = 0;
    
        while i <= 100000 {
            writeln!(&mut w, "{}", i).unwrap();
            i += 1;
        }
    }
    

    compile with rustc to test yourself.

    running the binary with hyperfine, i get ~35ms on my current terminal (foot), and ~40ms on ghostty.

    The terminal window sizes about the same size, in fact, there were 3 extra lines in foot so it was technically handicapped.

    Next is the whole “native ui thing”, which sure, if you use gnome, or mac is fine i guess, but what about kde where qt is used. And for me i simply hate title bars so i turned it off immediately and now it looks better.

    I do think the tabs are cool, not much to say about that, I wouldn’t use them, but for those who do, pretty cool.

    I have a similar opinion with the panes, personally i think if you want panes, just use a tiling window manager, or tmux or something, but i also dont really have a problem with this (tmux can be annoying).

    If I’ve missed anything let me know, because I really dont get it.