sentence: libraries are often written in c because c compilers generate efficient object code ; programmers then create interfaces to the library so that the routines can be used from higher-level languages like java , perl , and python .