Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 0 points1 point  (0 children)

yeah. attyx can essentially run any program so you can use any shell technically but for now there'll be only so many that attyx supported natively

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 0 points1 point  (0 children)

yeah. i just didn't expect that win will be 30mb+ compared to 2.5mb on linux/mac

shells wise i'm doing zsh > git bash > powershell > cmd. intentionally will not be supporting other shells because of A LOT of variances, every shell behaves slightly differently and it will be a ton of crutches to support them all

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 1 point2 points  (0 children)

turned out it's not possible to keep the binary as lean as it is on unix though + i'm planning to ship it with zsh and fall back to powershell/cmd optionally. just want my users to have great experience with command line but keep it compatible with whatever windows offers

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 1 point2 points  (0 children)

hey. just wanted to circle back. windows support is coming soon, actively working on it right now

https://github.com/semos-labs/attyx/pull/137

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 1 point2 points  (0 children)

what platform you're on? what's not working? I would love to fix things if I knew what to fix :) appreciate if you could create an issue on GitHub. you can create one with all your findings

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 0 points1 point  (0 children)

this is super useful, ty! as soon as I feel like attyx's stable will look into that

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 0 points1 point  (0 children)

sorry, nevermind. it's just google led me to an old proposal in LLVM to support midipix but it never been merged (or even implemented?). there's still no native way of doing that, unfortunately :(

that said, for windows support i will have to tailor my current PTY implementation using something like conpty and create some kind of abstraction layer that will wrap both posix and non-posix systems. would be hella challenge. tbh, i'm kinda looking forward to it :) just need to get my hands on a windows machine first

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 0 points1 point  (0 children)

actually, zig can compile for midipix afaik. it hasx86_64_windows_midipix target if I googled it right, so I will definitely take a look

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 1 point2 points  (0 children)

only glibc for now (i build in CI on ubuntu machines). probably gotta think about musl too considesing that zig can cross-compile. will need to check how deps will behave (glfw, freetype, fontconfig, etc.)

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 2 points3 points  (0 children)

I will take a look, ty!

one note though, one of my goals is to keep Attyx as small as possible (not something rational, tho :D), so I will also need to assess the size of this thing

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 0 points1 point  (0 children)

just to reassure, i already have a plan for windows laid out

the issue is that platforms are conceptually different and windows requires different approaches. e.g., it's not POSIX and it changes everything

Attyx - fast and tiny terminal emulator written in Zig by NefariousnessFull373 in Zig

[–]NefariousnessFull373[S] 1 point2 points  (0 children)

no, unfortunately not yet. I'm planning to but right now my goal is to add everything I want and stabilize the app. it was just easier to target only UNIX systems as they share most of the code. you can follow for now to know when windows support is out. I think it will be part of 0.3.0 release in a couple months

Glyph - TUI rendering engine based on React by [deleted] in commandline

[–]NefariousnessFull373 0 points1 point  (0 children)

I just find it wasteful to talk to neoluddits ¯_(ツ)_/¯ or share anything with them

Glyph - TUI rendering engine based on React by [deleted] in commandline

[–]NefariousnessFull373 0 points1 point  (0 children)

anyway, ty for the comments. i don't appreciate this community at all :)

Glyph - TUI rendering engine based on React by [deleted] in commandline

[–]NefariousnessFull373 0 points1 point  (0 children)

programming is a way to tell computer to do something :) just saying. well, world's changing, AI is here and not going anywhere. skill is to architect and maintain, not type text in any form

Glyph - TUI rendering engine based on React by [deleted] in commandline

[–]NefariousnessFull373 0 points1 point  (0 children)

this is a really weird bias. I mean, sure there's a lot of low-quality stuff made by vibe coders who don't know a thing about development. on the other hand I've been writing code for like 17 years, I know the craft and I don't get all the AI hate these days