Thanks for asking david. Composting with BSF larvae may be more desirable but it all depends on your goals.
BSFL can consume almost anything plant or animal, except for high cellulose items like grasses and paper.
BSFL can consume food scraps several times faster than earthworms and they can process meat, dairy, oils, and citrus. Scraps can be placed on top of the compost without mixing in or chopping them.
BSFL are self-harvesting and can be held with almost no effort for weeks. Worms require period harvesting which involves several steps.
BSFL have a wider range of acceptable moisture and temperatures (33 - 100 degrees). They can also tolerate a wide range of pH and are resistant to many chemicals. In one test a BSFL was submerged in isopropyl alcohol for 2 hours and survived.
Earthworms might be the better choice if your main goal is to produce compost in quantity. (BSFL reduce most household scraps by up to 95% of their original volume)
BSFL can't eat grass or paper.
Having said all of that, the best method for processing organic waste is the combination of BSFL and earthworms.