Python or C++

Discussion in 'App Development' started by yabz, Jun 5, 2017.

  1. yabz

    yabz

    C++ is faster, but python easier to code. C++ is also more widely used but python seems to be trending now.

    I'm inclining towards Python certainly for financial applications.
     
    johnnyrock, Zzoom and lovethetrade like this.
  2. Scala is the one to go
     
  3. Capper

    Capper

    Python is more suitable for one-off scripts and rapid development. It's very useful as "glue" to connect programs together, parsing inputs and the like. But for performance and scalability, C++ is the way to go. A compiled C++ program will often run 10x faster than a comparable Python program.
     
    lovethetrade and tommcginnis like this.
  4. Simples

    Simples

    Both are general purpose languages, but whichever of them has the best-fit libraries, your personal preference and wether you anticipate requiring optimal execution (then C might be even more applicable). Have landed on Golang myself, but use float64 as I don't want slowdowns and can live with the inevitable rounding and inequality-issues. Not CPAN-scale libraries either, but my decision is to delay structuring too much as long as I can stand it.

    All else being equal, whatever makes you most happy, will make you more productive in the longer run.
     
  5. birzos

    birzos

    C++ (less Java) for HFT and performance applications, Python/Matlab/R for data science.

    "So, while its true that at the moment most trading firms will probably conduct any serious research in Matlab (or R) and then implement trading algos in C++ or Java (bear in mind these are usually two different jobs in firms of any significant size), I would recommend a good working Python knowledge to any aspiring quant trader as a useful skill." - source https://www.quantopian.com/posts/programming-language

    It's all on Google, but you need to use the keyword quant to get the correct information.
     
    johnnyrock and tommcginnis like this.
  6. Python is in high demand these days.
     
  7. d08

    d08

    Python for faster deployment but slower execution. With Pandas, Numpy and Numba (or any other JIT C compiler), you can catch up to C++ speed wise. For GUI development I use PyQt, pySide being a good almost identical alternative for licensing issues. I find the Python modules list excellent, if you can imagine it, it's usually out there already.
    I have extremely limited experienced with C+ though.
     
    Zzoom likes this.
  8. 2rosy

    2rosy

    apples or oranges
     
  9. franT

    franT

    Visual Basic. KISS.
     
  10. I second VB. Easiest and enough for most applications, and can transition to a more "advanced" one later.
     
    #10     Jun 5, 2017