The Bottom Line

Be mindful of whether C is the right tool for the task, weighing its efficiency with the convenience of interpreted languages for prototyping.

We'll cover the following

A balancing act

My approach is to use interpreted languages like Python, R, Octave/Matlab, etc., for prototyping—that is, for exploring small amounts of data, for developing an approach, and algorithms, for analyzing data, and for generating graphics.

For computationally heavy tasks, simulations, or a series of operations that are time-consuming, I think about implementing them in C.

Using interpreted languages for prototyping and C for performance is a sweet spot that helps balance the development speed with the performance.

On the practical side, the nature of C makes it optimal for many processing-based applications:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy