Or, do the weed seeds die in the compost? If so, any idea how long that would take? Thanks everyone.
If the weed seeds are in the middle of the compost when it heats up they will get cooked. I don't turn my pile that much and when I do, all the weed seeds do not wind up in the middle. If you have a barrel composter and you turn it a lot you will probably be OK. I personally would not trust turning a pile to really mix it that well, but the more often you turn it the better. After a while it doesn't heat up that much as the percentage of uncomposted material compared to composted material isn't that high. How well it works will be in the details, how and how often you turn it. In theory it works. In practice you have to work at it harder than I do.
I try to avoid putting noxious weed seeds in the compost pile. For example, Canada Thistle and nutsedge goes straight to my burn barrel, the whole plant - roots seeds and all. Diseased garden plants or plants infested with certain pests do not make it to my compost pile. But about everything else does. I have volunteer tomatoes, zinnias, and marigolds popping up, among other things. It takes work to control them but I think the compost is worth it.