Swift gets most of its performance gains by not doing GC and better struct support.<p>I have a distaste for Java but it&#x27;s performance problems stem mostly from the way people write it and how hard it discourages writing in a performant style.