Live data from Hacker News

Hax – a minimalist, terminal-native coding agent written in C

usehax.dev

11–20 of 42 posts

Re: Hax – a minimalist, terminal-native coding agent written in C

#11
post #8

Would love to hear more about the decision to create the terminal in C? Also what did you use to record your demo video? It looks awesome!

The main reason to use C is that it's the easiest way to achieve minimal resource footprint. Also it's the language I know really well already.

The demo was recorded with asciinema.

Re: Hax – a minimalist, terminal-native coding agent written in C

#12
post #9

This is cool! There were a few rust attempts I played around with last year, but they all seemed to fizzle out in favor of everything running on top of js or python. I know that Google just launched a go version a couple months ago, but I haven't really spent any time with it, because well, gemini isn't really useful to me right now. The thing I constantly ran into with using non-platform (ie. claude code or codex) a…

Generally, the models seem to adapt really well. I am using GPT models in hax a lot, and they have no trouble whatsoever using hax tools instead of their "native" codex tools.

Also since hax tools are just "read", "edit", "write", "bash" and "task_wait", it would be expected that the models would use one-off scripts to achieve their goals (either shell scripts, or python scripts, etc).

Re: Hax – a minimalist, terminal-native coding agent written in C

#15
post #7

I don't understand why anyone would still start a new software project in C today, given the long track record of mistakes developers can make in it.

> I don't understand why anyone would still start a new software project in C today, given the long track record of mistakes developers can make in it.

If you think that unintended consequences can result from using C, boy do I have some news for you for "programmers" from 2026.

Re: Hax – a minimalist, terminal-native coding agent written in C

#16
post #8

Would love to hear more about the decision to create the terminal in C? Also what did you use to record your demo video? It looks awesome!

The main reason to use C is that it's the easiest way to achieve minimal resource footprint. Also it's the language I know really well already. The demo was recorded with asciinema.

asciinema is so good! Love seeing the player on the site.

Re: Hax – a minimalist, terminal-native coding agent written in C

#18
post #9

This is cool! There were a few rust attempts I played around with last year, but they all seemed to fizzle out in favor of everything running on top of js or python. I know that Google just launched a go version a couple months ago, but I haven't really spent any time with it, because well, gemini isn't really useful to me right now. The thing I constantly ran into with using non-platform (ie. claude code or codex) a…

Generally, the models seem to adapt really well. I am using GPT models in hax a lot, and they have no trouble whatsoever using hax tools instead of their "native" codex tools. Also since hax tools are just "read", "edit", "write", "bash" and "task_wait", it would be expected that the models would use one-off scripts to achieve their goals (either shell scripts, or python scripts, etc).

I know the Pi [0] folks had some trouble with newer models [1].

[0]: https://pi.dev/

[1]: https://lucumr.pocoo.org/2026/7/4/better-models-worse-tools/

Re: Hax – a minimalist, terminal-native coding agent written in C

#19
post #9

This is cool! There were a few rust attempts I played around with last year, but they all seemed to fizzle out in favor of everything running on top of js or python. I know that Google just launched a go version a couple months ago, but I haven't really spent any time with it, because well, gemini isn't really useful to me right now. The thing I constantly ran into with using non-platform (ie. claude code or codex) a…

https://github.com/vinhnx/vtcode (not affiliated, just saw someone posting it here) and of course Codex are still active.
Post reply on HN