Skip to content
Discussion options

You must be logged in to vote

Gradual typing is entirely up in the air right now. But my general plan, once I have parity with Clojure and the performance, portability, and usability is in a good state, is to dig into compiler optimizations which can be made by static analysis.

People claim that Clojure can't do this, since it's such a dynamic language, BUT clj-kondo does it all the time. We all know the expected inputs to clojure.core functions and we build basically all of our programs on top of those functions. clj-kondo can tell me when I'm giving a function invalid arguments, so why can't the compiler? Any why can't we monomorphize to optimize for specific types where applicable? And why can't we take our specs (…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jeaye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants