logoalt Hacker News

evanbyesterday at 11:04 PM1 replyview on HN

Mathematica has symbolic and infinite-precision addition, so you can't automatically take advantage of obvious compiled code.


Replies

sfpottertoday at 12:50 AM

What? Arbitrary precision arithmetic implemented in a compiled language will be faster than the alternative. This is no great mystery. The same is true of essentially all low-level symbolic or numerical math algorithms. You need to get to a fairly high level before this stops being true.