Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Ask HN: How to compare different programming languages
1 points
indoindo
11y ago
6 comments
Save
Share
C++ is best for performance, in this case how to compare c++ to other languages in term of performance.
6 comments
3 comments · 1 top-level
top
newest
oldest
MichaelCrawford
11y ago
· 2 in thread
Assembly code is best for performance but it is a huge pita.
indoindo
OP
11y ago
Of course, but how to determine languages that near ASM performance
MichaelCrawford
11y ago
C, c++ and ask permit allocation on the stack. Many others require dynamic allocation. Whether one language is faster depends on whether the problem at hand can take advantage of stack allocation.
1 more reply
j
/
k
navigate · click thread line to collapse