Earlier quoted context omitted.
Nice job. I don't understand the question. Can you rephrase it? =)
It might make sense to try to support the same subset of Python in both projects. On the other hand, this might make experimentation harder... And there seem to be many differences, for instance I am trying to move towards async/await... But there might also be areas that could be easy to get consistent, e.g. how local variables are declared... p.s. And I wasn't aware of Cocopy either. Having a list of similarities a…
Show HN: Mys – an attempt to create a statically typed Python-like language
21–30 of 57 posts
Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#22Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#23Before making Yet Another Language, I'd like to see a good analysis of the options and trade-offs they offer: what does each design choice make easier and harder. There is probably no free lunch, but maybe we can find a better lunch by balancing things carefully.
There are probably other languages that would serve the same purpose, but oh well, I can't resist creating another. =)
Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#24Earlier quoted context omitted.
It's a wide question, and I don't have a good answer. One obvious difference is the syntax. I prefer Python's syntax over Nim's, but at the same time I find Python slow sometimes and hard to use in embedded systems. I'm aiming to create something similar to Nim's toolchain to address that.
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 cycles. It seems handy to allow pure RC’ing for embedded devices.
Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#25Earlier quoted context omitted.
It might make sense to try to support the same subset of Python in both projects. On the other hand, this might make experimentation harder... And there seem to be many differences, for instance I am trying to move towards async/await... But there might also be areas that could be easy to get consistent, e.g. how local variables are declared... p.s. And I wasn't aware of Cocopy either. Having a list of similarities a…
I like the idea. If our languages are similar it could even make sense to stop developing one of them and focus on the other, but that's probably far fetched. I'll have a look at yours to get a better understanding of what it looks like and where it shines. Maybe we meet again =)
Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#26Given 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 converts implicitly typed Python programs to C++
Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#27Given 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 converts implicitly typed Python programs to C++
And at mypyc https://github.com/python/mypy/tree/master/mypyc
Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#28Earlier quoted context omitted.
I like the idea. If our languages are similar it could even make sense to stop developing one of them and focus on the other, but that's probably far fetched. I'll have a look at yours to get a better understanding of what it looks like and where it shines. Maybe we meet again =)
Do you have any objections against using google drive for an initial list of similarities / differences? I think the comment function could be useful....
Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#29Re: Show HN: Mys – an attempt to create a statically typed Python-like language
#30Strongly 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...
I see this claimed a lot, but haven’t seen any evidence.