Are there any programming languages with *intentionally* unsound static type systems?
-
-
Chandler Carruth has a somewhat interesting talk on the subject, but even having watched it, I'm still not sure that unsoundness is strictly *necessary* even for systems languages.
-
It's absolutely not _necessary_, but it is a deliberate choice by language designers.
- Show replies
New conversation -
-
-
A trivial example is that casting a function pointer (in C) to return a different type is undefined behaviour, so different return types can be returned in different ways (general-purpose register vs floating-point register).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Not sure if this counts, but undefined signed overflow is useful for several kids of optimizations:https://kristerw.blogspot.com/2016/02/how-undefined-signed-overflow-enables.html?m=1 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD