The desire to compute on sensitive data without revealing it has led to several decades of research in the area of secure multi-party computation. Today, cloud computing serves as a major motivation for the development of secure data processing techniques suitable for use in outsourced environments for computing with private or sensitive data. Despite much attention, most of the available techniques focused on a rather narrow domain of integer arithmetic. In this talk, we describe our work on other types of computation and algorithms suitable for secure computation and outsourcing with the goal of enabling secure and efficient distributed implementation of a general-purpose program. This, in particular, includes a compiler that transforms a program written in C extension, where variables to be protected are marked as private, into its secure distributed implementation suitable for execution in the cloud.