As LLMs enable 'code surgery' to create specialized engines like FRE for specific workloads, do you agree with Marc Brooker's view that we are entering an era of 'dynamic custom software'?

The Rise of LLM-Driven Custom Software: Optimization or Overfitting?

In a recent exploration of performance optimization, the author discusses how LLMs are fundamentally changing the economics of software development. While critics argue that LLMs produce bloated code, the article suggests they might actually enable highly optimized, workload-specific software. Drawing on insights from Marc Brooker, the text posits that we are moving toward 'dynamic custom software' where the cost of specialized tasks, like implementing JIT compilers or complex 'code surgery,' has dropped significantly. A practical example provided is FRE, a regex engine developed through an agent loop. By optimizing FRE specifically for the rebar benchmark suite, the agent achieved significant performance gains, though it initially suffered from over-fitting. The author highlights that by using AOT (Ahead-of-Time) compilation techniques, one could potentially run optimized versions of tools like ripgrep for long-running queries. This shift suggests that the difficulty of writing complex, high-performance code is no longer a barrier, provided developers can manage the risks of specialized, less generalized software.

Options

  • Yes, specialized optimization will become a standard, cost-effective practice.
  • No, the risk of over-fitting tools to specific benchmarks is too high.
  • Only for large-scale workloads where the performance gain justifies the cost.
  • The real impact lies in automating AOT compilation rather than new software.

Pollopolis — the city of opinion