I suggest you watch this excellent talk by Jiahao Chen on the subject from JuliaCon a couple of years ago: