Remix.run Logo
▲ pcwalton 3 hours ago

To me the takeaway is that LLMs are having the unintended effect of keeping C alive by reducing the relative productivity gains of using other languages.

Fortunately, the impact for C in particular on front-end UI apps is going to be limited because GTK+ is maybe the only popular UI app framework where people regularly write C outside of non-legacy scenarios. Petzold-style Win32 went out of favor decades ago, Qt was never C to begin with, Carbon has been dropped in favor of Cocoa and had been moribund for years before that, Android has always been Java, and so on.

▲arghwhat 2 hours ago | parent | next [-]

It happens to be a massive driver of ports to modern languages (e.g., zig, rust) that would otherwise not be considered for cost or complexity reasons.

Writing a Gtk app in C doesn't keep C any more alive than if it was written in another language through bindings, as most of the app (measured in lines of code and development churn) was always C (Gtk itself), and using bindings is always a bit of a "worst of all worlds" scenario.

▲xyzsparetimexyz 19 minutes ago | parent | prev | next [-]

It's driving adoption of compiled languages in general. The main issue with them in the past is that they were hard, but everything is about the same level of difficult with LLMs.

▲klodolph 2 hours ago | parent | prev [-]

I am a little skeptical about this. I think in broad strokes, the things that make it good for humans to program are also the things that make it good for LLMs to program.

Language familiarity is a big exception.

So I’d say that Crystal’s advantage, that it’s familiar to Ruby users, is less useful when you write with LLMs. Writing with LLMs in C, you will still run into many of the problems C programmers run into.