Better HN
topnewbestaskshowjobs
Log inSign up

ningcongchen

2 karma · joined Jan 9, 2025 (1y ago) · 3 submissions

Submissions

1.

Impossibility of Correctness Checking for Generic Numeric Programs(medium.com ↗)

1 points · by ningcongchen · 1y ago · discuss

comment 1y ago · link · parent

Using Union as an example is more understandable than using abstract types. I can also explain why abstract types are broken, but that would involve a complex interaction of subtyping and abstract interpretation.

In addition, I believe that abstract types are not that horrible since in industry we use OOP any way (https://github.com/Suzhou-Tongyuan/ObjectOriented.jl). I coworked with the author of this package several years ago. Currently, he is developping a different branch of Julia compiler. Since OOP makes eveything easier to design (from linter to static compiler), and programmers prefer OOP over abstract types, I personally don't think they will cause huge problems.

3.

A Tragedy of Julia's Type System(medium.com ↗)

8 points · by ningcongchen · 1y ago · 3 comments