java - Language choices for writing very fast abstractions interfacing with Python? -


i have system written in python can separated backend , frontend layers. python slow, want rewrite backend in fast compiled language while keeping frontend in python, in way lets backend functionality called python. best choices so?

i've considered cython it's limited , cumbersome write, , not faster. remember of boost python c++, it's annoying maintain bridge between languages. there better choices?

my main factors are:

  • speed of execution
  • speed of compilation
  • language declarative

c++ swig can generate of glue code need. long avoid excessive jumps between c++ , python it'll fast c++. swig interfaces straightforward generate unless you're doing "odd".


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -