| ▲ | dmead 5 hours ago | |||||||||||||
I'm not sure the lisp community could consider these bugs. Lisp/clojure/scheme etc is inherently untyped. These libs don't guarantee anything near to the level that a formal verification would suggest. If this were the haskell standard lib however, that would be news. | ||||||||||||||
| ▲ | jeremyjh 5 hours ago | parent | next [-] | |||||||||||||
The article I read described clear correctness bugs unrelated to types. | ||||||||||||||
| ▲ | pron 5 hours ago | parent | prev | next [-] | |||||||||||||
Even the types in Haskell are far too weak to be included in what we mean by "formal verification" (not to say they're not useful for some things, just that this is not the level of specification that formal verification is typically about). If we rank the strength of properties we can express with types in Clojure as 0 and in Haskell as 3 (or, say, 7 with refinement types), then the strength of types required for formal verification (e.g. in a language like Idris) would be 100. | ||||||||||||||
| ||||||||||||||
| ▲ | packetlost 5 hours ago | parent | prev | next [-] | |||||||||||||
Some of these issues are actually quite bad and don't have anything to do with types at all | ||||||||||||||
| ▲ | mtlmtlmtlmtl 5 hours ago | parent | prev | next [-] | |||||||||||||
Lisp is not untyped. It is dynamically typed. | ||||||||||||||
| ||||||||||||||
| ▲ | articulatepang 5 hours ago | parent | prev | next [-] | |||||||||||||
Types have nothing to do with it. For example, the first bug in the article is about an infinite loop in a core data structure: “[…] reduce it, the call never returns once the vector has 65505 or more elements.” > These libs don't guarantee anything near to the level that a formal verification would suggest. This is just plain wrong. A lisp library can absolutely make performance and correctness guarantees, and formal methods can refute or verify those guarantees. A type system is just a special kind of formal method that can rule out certain classes of bugs. | ||||||||||||||
| ▲ | iorekz 5 hours ago | parent | prev [-] | |||||||||||||
I'm glad I checked your other comments! Beautiful counter bait | ||||||||||||||