miniblog.
← Back to all posts
Jan 15, 2017 at 23:32
Exponential time complexity in the Swift type checker
https://www.cocoawithlove.com/blog/2016/07/12/type-checker-issues.html
(nifty deep dive into the constraint solver inside)
Exponential time complexity in the Swift type checker
One of the most annoying problems in Swift is when the compiler gives an 'Expression was too complex to be solved in a reasonable time' error. I look at why this error occurs, how to avoid it and talk about how this should be solved in a future compiler update.
Wilfred Hughes
Related Posts
Apr 17, 2019 at 08:53
An interesting comment from the Coverity paper: randomisation is a very powerful technique for checkers that would require exponential work. Unfortunately it increases the likelihood of churn.
Wilfred Hughes
Shared words: Exponential, checker Score: 90.4
Apr 13, 2015 at 18:00
LLVM's libfuzzer is catching both interesting bugs and issues like exponential performance! Nifty.
Simple guided fuzzing for libraries using LLVM's new libFuzzer
Fuzzing (or fuzz testing) is becoming increasingly popular. Fuzzing Clang and fuzzing with Clang is not new: Clang-based AddressSanitizer has been used for fuzz-testing the Chrome browser for several years and Clang itself has been extensively fuzzed using csmith and, more recently, using AFL.
Wilfred Hughes
Shared words: Exponential, nifty Score: 88.1
Aug 14, 2014 at 23:35
"for every polynomial-time algorithm you have, there is an exponential algorithm that I would rather run." Alan Perlis
Wilfred Hughes
Shared words: Exponential, time Score: 75.2