To put that another way, in the current marketplace, what kinds of program are so worthy of optimization that it's economically sensible to have a human spend several days hand-tuning machine language to squeeze out every CPU cycle?
Ask HN: What is hand-coded assembly language used for these days?
1–10 of 60 posts
Re: Ask HN: What is hand-coded assembly language used for these days?
#2Re: Ask HN: What is hand-coded assembly language used for these days?
#3Re: Ask HN: What is hand-coded assembly language used for these days?
#4Re: Ask HN: What is hand-coded assembly language used for these days?
#5You can get 5x, 10x, 20x, or more performance increases just by using the vector instructions given to you by the CPU. Until a magic compiler appears that can make proper use of them (read: never), hand-coded assembly will be critical for almost any application for which performance is critical, especially multimedia processing.
Re: Ask HN: What is hand-coded assembly language used for these days?
#6Re: Ask HN: What is hand-coded assembly language used for these days?
#7When I worked on it, our simulator was an order of magnitude faster than commercially available simulators (Synopsis VCS and Cadence NC-Verilog), which cost between $1k and $10k per license per year. I worked for a tiny hardware startup; established hardware companies use a few orders of magnitude more compute power than we did, so the equation is probably at least four orders of magnitude further in favor of doing assembly optimization in a commercial simulator.
Re: Ask HN: What is hand-coded assembly language used for these days?
#8Re: Ask HN: What is hand-coded assembly language used for these days?
#9Contrary to popular belief, assembly is not only used for performance. Ask the security industry for more info.