Earlier quoted context omitted.
> The problem is that it is not so easy to port Perl5 code to Perl6 as porting Python from 2 and 3. Is this really the case? https://github.com/niner/Inline-Perl5 http://stackoverflow.com/questions/9173043/how-can-i-use-per...
Yes this is the case; Through libraries we are trying to make it easy to CALL perl5 (and ruby and python and...) modules from Perl 6. But porting -- aka translating -- is another matter. Mostly it requires a similar amount of effort as if you are translating your program to any other dynamic language for nontrivial programs. My understanding is that LOTS of Python2 programs work fine in Python3 with no (or very trivi…
Ask HN: Is Python dying?
361–369 of 369 posts
Re: Ask HN: Is Python dying?
#362> Go for systems and backend Certain sorts of systems and certain sorts of backends maybe. There is a reason people prefer dynamic languages for web based backends for example - the amount of text mangling and arbitrary data structure manipulation becomes a serious headache in a compiled language, be it Go, C/C++ or what-have-you. I work on a large system written entirely in Python -we've considered introducing Go to…
Consider doing what Dropbox does, use PyPy for those few processes that need more CPU performance. They run 2.7 for most things and PyPy where they need to.
Re: Ask HN: Is Python dying?
#363Earlier quoted context omitted.
My prediction is that one day some alternative Python interpreter (Stackless, or GIL-less, or which compiles ahead of time to machine code, or something like that) will go from being merely an interesting concept to a dominant runtime. Python is such an excellent language, and it only has a small handful of elements holding it back from being even better. I feel like eventually something has to give, and either there…
Object-oriented languages are Dead Men Walking due to the problem of global mutable state management in any medium- to large-sized codebase, coupled with dependency/inheritance hell, leading to complexity hell, leading to geometric progression of tech debt. Compounding this is the lack of good unit test suites across the board, meaning that even if you write absolutely perfectly tested and maintainable Python (or Rub…
Re: Ask HN: Is Python dying?
#364Re: Ask HN: Is Python dying?
#365Earlier quoted context omitted.
4. Some people have made an informed decision and prefer python 2 over python 3, even without considering dependencies/migration cost. (cue the downvotes)
If you get downvoted for that it's because Python 3 is objectively better than 2 in every way other than the points I listed above... Seriously. List one feature Python 2 has that Python 3 doesn't?
Re: Ask HN: Is Python dying?
#366Earlier quoted context omitted.
And really enjoyable... That's what really counts right?
Clearly you haven't worked with EXRM and the 'no documentation outside hello-world' Ecto query. /s
Disclaimer: complete Elixir noob
Re: Ask HN: Is Python dying?
#367Earlier quoted context omitted.
My prediction is that one day some alternative Python interpreter (Stackless, or GIL-less, or which compiles ahead of time to machine code, or something like that) will go from being merely an interesting concept to a dominant runtime. Python is such an excellent language, and it only has a small handful of elements holding it back from being even better. I feel like eventually something has to give, and either there…
I really want ZiPy to take off, a fast Python 3.5 for the JVM would be lovely.
Re: Ask HN: Is Python dying?
#368Just because Python doesn't have zealots doesn't men its dying.
Re: Ask HN: Is Python dying?
#369Earlier quoted context omitted.
You haven't tried Scheme.
I don't know it, yet. But I don't know whether it provide the range of libraries Python can provide me with.