 An empirical study found scripting languages ( such as Python ) more productive than conventional languages ( such as C and Java ) for a programming problem involving string manipulation and search in a dictionary . Memory consumption was often " better than Java and not much worse than C or C + + " . 
