In my opinion that is the single biggest problem with web typography, and has been for years. Significantly more important than auto hyphenation.
This has been a solved problem for 40 years (or at least 10–15, if we need to worry about fast performance for interactive use on a desktop computer). Should be table stakes for any software rendering long blocks of text.