Mys
Languages and libraries
programming language
SHOW HN2020
50points
56comments
#1,069of 3,028 in 2020
Top 36%of 2020 by points
How HN took it
CuriousMostly questions and neutral comments
2 positive, 8 neutral or asking, 0 mixed, 5 critical, out of 15 comments about the project. Thread score -0.23.
Idea: 2 for, 3 againstExecution: 0 for, 2 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Excitement for a statically typed, faster Python-like language.
From 2 comments
I love this. I have nothing else to say except that I want this to happen. Python is an amazing language which is missing two things - static types and speed. I starred your repo…
scottrogowski on HNIt took me a couple of weeks to realize Nim’s semantics are really different. Despite that Nim feels like an alternate reality of Python 2 -> 3 that went more lispy and a bit…
elcritch on HN
Objections
Calling Python strongly vs statically typed in the title was debated and corrected.
From 2 comments
This looks cool. Is there anything specific you're trying to do with Mys that another language didn't do? Nim comes to mind as being in a similar space. Small nitpick about the…
dec0dedab0de on HNStrongly typed? You mean statically typed? See "What to know before debating type systems": http://blogs.perl.org/users/ovid/2010/08/what-to-know-before-debating-type-systems.html
pmoriarty on HN
Memory management via reference counting may leak on cycles.
From 2 comments
P.S. Since you’re using C++ shared pointers, you might want a cycle detection. But like Nim’s new ARC you can let the programmer beware and ensure their programs don’t produce…
elcritch on HN> We don’t need a GC because RC ``` L = [] L.append(L) ```
toxik on HN
Requests
Compare with existing options like Cython, mypyc and Nim.
From 3 comments
Why not to just use Cython?
Nasreddin_Hodja on HNHave you look at mypyc? https://github.com/python/mypy Its a compiler that support subset of python and mypy's team including Guido work on it. It would be great if this kind of…
h8hawk on HNQuestion for the OP seeing as this is a Show HN: how does this compare to Nim (https://nim-lang.org/)?
nicoburns on HN
Questions
How does it compare to Nim?
From 1 comment
Question for the OP seeing as this is a Show HN: how does this compare to Nim (https://nim-lang.org/)?
nicoburns on HN
Alternatives named
Cython
From 2 comments
Cython is a great tool for this. It’s a superset of Python with full static compilation support for native CPython or for pure C or C++ extension modules. https://cython.org/
mlthoughts2018 on HNFor the sake of completeness, might as well mention Nuitka [1] (another Python -> C compiler), Cython (Python-like language that compiles to C), and Numba (LLVM-based JIT…
nerdponx on HN
mypyc
From 2 comments
And at mypyc https://github.com/python/mypy/tree/master/mypyc
viraptor on HNHave you look at mypyc? https://github.com/python/mypy Its a compiler that support subset of python and mypy's team including Guido work on it. It would be great if this kind of…
h8hawk on HN
Nim
From 1 comment
Question for the OP seeing as this is a Show HN: how does this compare to Nim (https://nim-lang.org/)?
nicoburns on HN
Shedskin
From 1 comment
Given that the OP is the github project owner, are you aware of https://chocopy.org/ ? You might want to also look at Shedskin, https://github.com/shedskin/shedskin which…
sitkack on HN
ChocoPy
From 1 comment
Given that the OP is the github project owner, are you aware of https://chocopy.org/ ? You might want to also look at Shedskin, https://github.com/shedskin/shedskin which…
sitkack on HN