Glyphosate on the pernicious weeds, cause I can never guarantee getting all the root, particularly thistles and bindweed in my garden,
As for composting, home heaps generally don't get hot enough to deal with those and sterilise them completely. I tend to mix shredded office paper wate in mine when I have lots of grass.