|
|
|
|
|
by hyperbovine
6116 days ago
|
|
Funny, I do a lot of stuff with Monte-Carlo* as well and I have reached the opposite conclusion. It's soooo much easier (and more pleasurable) to prototype in Python versus chasing down null pointer violations all afternoon. At least for my simulations I have always found that 90+% of the execution time is spent in one or two routines which can then be factored out into C (or FORTRAN, which is faster.) Also, it's much easier to inspect and graph your data in Python; when I develop in C I tend to skip these things because they're such a PITA. I can't help but wonder what I'm missing. Although, at a 100x productivity increase, I might have to give it another look; I'd be out of grad school by Halloween. *For the uninitiated, Monte Carlo is a fancy way of saying "for loops." |
|