We need a language to read a book, and that affects our thought process, as we start thinking like the author and behave in a manner we perceive from the books. Like how someone speaks under the influence of alcohol, books n authors too influence.
Sawdust that is created from cutting natural wood is safe for your compost no matter what kind of tree the wood comes from. Just make sure the wood has not been treated with any chemicals. Another option with sawdust is to try mixing it in with potting soil.
It does not matter what kind of wood your sawdust is from. Sawdust from all types of trees, soft or hard, can be used in your compost pile. The one thing to be mindful of is if you will be composting sawdust from chemically treated wood.