Re:A look at the Mojo language for bioinformatics
by eyegor on Sunday February 11, 2024 @08:49PM
(#39340587)
Is there any compiled language that doesn't benefit heavily from release builds? That would be interesting if true.
[ Parent
| on HN ]
Re:A look at the Mojo language for bioinformatics
by adgjlsfhk1 on Sunday February 11, 2024 @09:05PM
(#39340640)
Julia, for example runs by default with -O2 and debug info turned on. It's a good combo between debug-ability and performance.
Re:A look at the Mojo language for bioinformatics
by pornel on Monday February 12, 2024 @11:01AM
(#39346379)
This can happen in languages that use dynamic constructs that can't be optimized out. For example, there was a PHP-to-native compiler (HipHop/HPHPc) that lost to faster interpreters and JIT.
Apple's Rosetta 2 translates x86-64 to aarch64 that runs surprisingly fast, despite being mostly a straightforward translation of instructions, rather than something clever like a recompiling optimizing JIT.
And the plain old C is relatively fast without optimizations, because it doesn't rely on abstraction layers being optimized out.