Readit News logoReadit News
crawshaw commented on We rewrote the Ghostty GTK application   mitchellh.com/writing/gho... · Posted by u/tosh
eviks · 12 days ago
Since you can do both (you're reading a post about a RE-write) your 1-dimensional framework doesn't help deciding what is good
crawshaw · 12 days ago
If you believe everything around you must be good before you can do good, then you must trick yourself into believing imperfect things are good to do anything, or withdraw completely from the world. Your radical philosophy leads either to delusion or isolation and inaction. Just do what you can.
crawshaw commented on We rewrote the Ghostty GTK application   mitchellh.com/writing/gho... · Posted by u/tosh
eviks · 13 days ago
Giving in a bad system is more pragmatic rather than good
crawshaw · 12 days ago
No, it is about doing what you can, with what you have, where you are. That is good.
crawshaw commented on We rewrote the Ghostty GTK application   mitchellh.com/writing/gho... · Posted by u/tosh
crawshaw · 13 days ago
Nice example of how good programming is often about meeting systems where they are:

  Whatever your feelings are about OOP and memory management, the reality is that if you choose GTK, you're forced into interfacing in some way with the GObject type system. You can't avoid it.

  Well you can avoid it and we did avoid it. And it leads to a mess trying to tie the lifetimes of your non-reference-counted objects to the reference counted ones. There was an entire class of bug that kept popping up in the Ghostty GTK application that could basically be summed up as: the Zig memory or the GTK memory has been freed, but not both.

crawshaw commented on In Praise of Containers; there's no place like $HOME   sketch.dev/blog/in-praise... · Posted by u/tosh
crawshaw · 15 days ago
One of the sketch.dev folks here, if you have any questions.

I know containers are hard to use today, and I don't think we have found the right magic yet. But we're working on it, because all of these tools are so much better in a box.

crawshaw commented on Cerebras Code   cerebras.ai/blog/introduc... · Posted by u/d3vr
crawshaw · a month ago
If you would like to try this in a coding agent (we find the qwen3-coder model works really well in agents!), we have been experimenting with Cerebras Code in Sketch. We just pushed support, so you can run it with the latest version, 0.0.33:

  brew install boldsoftware/tap/sketch
  CEREBRAS_API_KEY=...
  sketch --model=qwen3-coder-cerebras -skaband-addr=
Our experience is it seems overloaded right now, to the point where we have better results with our usual hosted version:

  sketch --model=qwen

crawshaw commented on Deep Agents   blog.langchain.com/deep-a... · Posted by u/saikatsg
seabass · a month ago
Is there more info on how the todo list tool is a noop? How exactly does that work?
crawshaw · a month ago
If you want to see it in action in some code, our agent Sketch uses a TODO list tool: https://github.com/boldsoftware/sketch/blob/main/claudetool/...

It is relatively easy to get the agent to use it, most of the work for us is surfacing it in the UI.

crawshaw commented on Fast   catherinejue.com/fast... · Posted by u/gaplong
crawshaw · a month ago
This is a great blog post. I have seen internal studies at software companies that demonstrate this, i.e. reducing UI latency encourages more software use by users. (Though a quick search suggests none are published.)
crawshaw commented on Claude Code is a slot machine   rgoldfinger.com/blog/2025... · Posted by u/rgoldfinger
hakunin · a month ago
I've been noticing the pattern among the kind of people who like/dislike AI/agentic coding:

1) people who haven't programmed in a while for whatever reason (became executives, took a break from the industry, etc)

2) people who started programming in the last 15 or so years, which also corresponds with the time when programming became a desirable career for money/lifestyle/prestige (chosen out of not knowing what they want, rather than knowing)

3) people who never cared for programming itself, more into product-building

To make the distinction clear, here are example groups unlikely to like AI dev:

1) people who programmed for ~25 years (to this day)

2) people who genuinely enjoy the process of programming (regardless of when they started)

I'm not sure if I'm correct in this observation, and I'm not impugning anyone in the first groups.

crawshaw · a month ago
I first got paid to code 25 years ago. I have been programming since I was a kid, and always will. I love making computers do things.

I definitely don't love the process: design docs, meetings, code review, CI, e2e tests working around infrastructure that acts too good to spin up in my test (postgres what are you doing, I used to init databases on machines less powerful than my watch, you can init in a millisecond in CI).

It is pretty clear to me agents are a key part of getting work done. Some 80% of my code changes are done by an agent. They are super frustrating, just like CI and E2E tests! Sometimes they work miracles, sometimes they turn into a game of wackamole. Like the flaky E2E test that keeps turning your CI red, but keeps finding critical bugs in your software, you cannot get rid of them.

But agents help me make computers do things, more. So I'm going to use them.

crawshaw commented on There is no memory safety without thread safety   ralfj.de/blog/2025/07/24/... · Posted by u/tavianator
okanat · a month ago
It depends on what threads can do. Threads share memory with other threads and you can corrupt the data structure to force the other thread to do an unsafe / invalid operation.

It can be as simple as changing the size of a vector from one thread while the other one accesses it. When executed sequentiality, the operations are safe. With concurrency all bets are off. Even with Go. Hence the argument in TFA.

crawshaw · a month ago
All bets aren’t off, we empirically measure the safety of software based on exploits. C memory handling is most of its exploits.

Show me the exploits based on Go parallelism. This issue has been discussed publicly for 10 years yet the exploits have not appeared. That’s why it's a nice theoretical argument but does not hold up in practice.

crawshaw commented on There is no memory safety without thread safety   ralfj.de/blog/2025/07/24/... · Posted by u/tavianator
stouset · a month ago
A CVE is worse, but a threading bug resulting in corrupted data or a crash is still a bug that needs someone to triage, understand, and fix.
crawshaw · a month ago
But it's not why I stopped writing C programs. It's just a bug and I create and fix a dozen bugs every day. Security is the only argument for memory safety that moves mountains.

u/crawshaw

KarmaCake day2934May 4, 2010
About
https://crawshaw.io https://twitter.com/davidcrawshaw https://tailscale.com

[ my public key: https://keybase.io/crawshaw; my proof: https://keybase.io/crawshaw/sigs/pAgPRWvnavoaN-xWVU1tNio7o50gsLZVH3FgdyLeu9M ]

View Original