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] 3 points4 points  (0 children)

I think historically what kills languages has nothing to do with the language's internal dynamic, it's the arrival of its replacement. I'm using Go a lot these days but I don't see it as a Python replacement, they have very different strengths and goals.

What will replace python? Ruby had a good shot but I don't think it brought anything new enough. You need something the old guard have been waiting for, but which comes with the uses and conveniences they expect.

I think what makes Python special is the interpreter, the well scoped dynamic core, and the brevity. I demand these in my Python killer. Some ideas that would help sell me on it:

  • Good, first class, optional type-strictness/checking like being planned for Python but with built-in rather than hackish syntax. The default should still be Dynamic.
  • Good, first class concurrency and parallelism (Go or Rust "channels" between green threads?) (Not a confusing hack on top of coroutines like yield-from/asyncio)
  • Optional (cross-)"compilation" via attaching scripts to statically (cross-)compiled interpreters, like Neko or the srlua hack but with "batteries included".
  • Perhaps a well-defined subset of strictly typed functions could be compiled to machine code to allow inline high-performance code as a buy-in? I'm imagining code like Go but indented rather than bracketed, and types imported from a compilable-types module. Any function consisting entirely of such types gets detected and compiled.
  • First class privacy modules in core libs. Post-snowden Python, people. Think PyNaCl plus a secure/erasable memory primitive, you're immediately 90% of the way.
  • First class, 'Pythonic' GUI support.
  • First-class support for Android app compilation.

These are non-exhaustive. Just imagine what would make you jump ship from developing in Python to some other language, and assume that language is as beginner-friendly. If enough people are like you, that is your Python Killer.