A Case Study: Part II – Switching from C++ to Python

By SiteAdmin / July 2, 2018 /

In Part I of this blog series we introduced you to our project CSM: Continuous Symmetry Measure. If you missed it, you can catch up here. Here in Part II, we’ll begin to explain the programming decisions we made, including the rationale behind our decision to switch the coding language from C++ to Python. If you’ve read…

Read More

Scientific Programming “Don’ts” – Don’t leave confusing code undocumented

By Itay Zandbank / June 18, 2018 /

Sometimes your code does something not trivial to fix a problem that isn’t obvious. For example, in one place someone was having some rounding issues, so we found this gem in the code: double *pf = &f; (*(long long *)pf) += 8; The only comment there was “solve rounding issues”. We’ve encountered this code when…

Read More

What’s the Best Language for Academic Programming? (Hint – it isn’t C++)

By Itay Zandbank / May 31, 2018 /

As consultants to academics, we are often invited to join a project “already in progress.” Sometimes we’re called in to assist after a student has graduated and left the team, or to help a team that has hit a speed bump. In such cases we usually have the project’s programming language dictated to us by…

Read More