Old Java can learn new tricks from C, Android