Repository navigation
Why Python? #112
LowellWinston
started this conversation in
General
Why Python?
#112
Replies: 1 comment
|
The backend is Haskell, it's performant enough. AbsBox is just a wrapper Meanwhile, Python won't be slow under leverage of numpy & ctypes.. or cython, with proper optimization, speed of execution is very close to C/C++ Short term goal is to expose via protobuf, then make the engine language-neutrual. Any language can use this engine. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Cashflow for structured products is usually path dependent, even for fixed rate, due to different accrual methods and other factors. Python is known to be slow when running in loops. For complex product backed by large number of collateral with long maturity, running Python-based cashflow may have significant performance issues, especially when calculating OAS which requires large number of simulations. Have you considered using low-level languages like Rust or C++?
All reactions