2 comments

  • flimflamm12 minutes ago
    It would be interesting to see what would be good input for LLMs to do the optimizations / trials on that automatically. Is the visual representation best or something else?
    • Conlectus0 minutes ago
      This is just how hacker news is now, huh?<p>“I did this cool useful thing”<p>“Great! Please describe how I can get a machine to replace you.”
    • lalitmaganti9 minutes ago
      It&#x27;s actually trivially easy to add a &quot;automated report&quot; feature to buildprof due to its architecture (just a few SQL queries on top of Perfetto&#x27;s trace processor). And I&#x27;m sure AI could hill climb the build time based on this.<p>But I still think the visual view is invaluable for human understanding and for the &quot;why is this even happening&quot; problems which I think AI is still bad at seeing.
  • anaqin27 minutes ago
    Good write up! I was hoping it was going to conclude with the author getting buns zig build way faster than Rusts but a good deep dive nevertheless
    • lalitmaganti2 minutes ago
      Having spent ~3 weeks of evenings and weekends on this, I was a bit burned out to keep trying to optimize especially because all of this code is just a dead end anyway...<p>The fix seemed to be to split up Bun&#x27;s Zig module into ~100 pieces just like they&#x27;ve done on Rust but how representative that would have been on anything Bun might of shipped is very much in question!