Hacker News new | ask | show | jobs
by josephg 97 days ago
You don't need to program in ASM or C to write a memory efficient program. Swift, Go, Rust, C++ and C# are all reasonably memory efficient at the scales we're talking about.

Usually you just have to actually look at memory usage and trim the obvious fat. But so many developers these days treat memory as an infinite resource, and don't have a clue how to use profiling tools to even investigate memory usage. That and, maybe stop shipping a copy of Chrome with your application.

I'm hopeful that LLMs will improve the state of application development. Claude can write sloppy code, but it also knows how to write rust and swift, and it knows a lot of tricks for optimisation if you prompt it.

There's 3rd party libraries which know how to interact with spotify. I wonder how many claude code tokens it would take to make a simple, native spotify client. Or discord client. Or client for Teams or Slack.