Hacker News new | past | comments | ask | show | jobs | submit login

It's worth it to go through the slides from this talk by Felix von Leitner on Source Code Optimization: http://www.linux-kongress.org/2009/slides/compiler_survey_fe...

If you're writing an entire application in assembly for fun, then, sure, have at it. But if you're writing an entire application in assembly because you want better performance, then I think you're misguided. Write it in C, turn all optimizations on, run it with a bunch of benchmarks, profile it. Look to see where the bottlenecks are. Optimize those, maybe in assembly, or maybe by just being smarter with your C code.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: