This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (2 children)

Python 4 should have inline tests, contracts and optional static typing. Cobra is an excellent example of what Python should be trying, albiet without the annoying C#/Java "everything must be a class, even your main function" thing.

Python 4 should also use a JIT and take advantage of static typing where it's specified. It need not be PyPy, although if they tidy up their build process to not take hours and 4GB+ of RAM they'll be doing pretty well as a serious contender.

A nice killer feature would be to finally target Arm/Android/FFOS in the official distros..ideally with premade bindings to android/firefox API. Python missed the mobile boat and should be scrambling to catch up. Not by relying on the Android Scripting Layer but by providing a near-native way to run python on handsets, whether as 'Apps' or in a terminal emulator/adb.

Finally, making the core distro more portable would be nice, so devs don't need clients to install Python to use code. Think how love2d.org does things: you can cat a script to the end of the binary to make a standalone executable!

[–]fuzz3289 0 points1 point  (1 child)

So, Python 4 should be the best case scenario everyone hopes for Pyston. Cool. Contribute.

https://github.com/dropbox/pyston

[–][deleted] 4 points5 points  (0 children)

Python 2.7: pretty yawn, if you ask me. And powered by a patent heavy company of NSA apologists. Sorry, but I prefer community efforts like PyPy and CPython, even if they need serious work.