this is the experience you'll have with any unityped language, because they explicitly move responsibility from library designers to end users
and these undefined-behavior bugs are hard to fix because someone somewhere already depends on that on undefined behavior, and it's just a snowball which understandably leaves library designers unresponsive