3 ms·
> You have to be prepared to factor out the key parts of the code into faster languages like C++ with bindings, if necessary Stripe had the innovative idea of
by pizza234 5y ago
> You have to be prepared to factor out the key parts of the code into faster languages like C++ with bindings, if necessary
Stripe had the innovative idea of compiling ahead of time parts of the code (taking advantage of type annotations). I think this is a very interesting approach that may make usage of faster language unnecessary in a certain amount of cases.
- staticassertion 5y agoDropbox has some projects around this. I think the idea is totally silly tbh and it flies in the face of Python's type annotations being just that - annotations. The generated code is pretty hilarious since you end up with HashMaps and dynamic dispatch everywhere. Much better gains can be made by simply not using Python.
- pjmlp 5y agoI learned that lesson with Tcl back in my first startup experience. Sure the language is great, and it is very easy to write extensions in C, however as the performance pressure keeps increasing, in the end it is a C application where Tcl was reduced to a configuration/orchestration language. Since then, if it doesn't have a JIT or AOT compiler in the box I am not interested, unless I am obliged to do so by higher levels.