Hacker News new | past | comments | ask | show | jobs | submit login

I generally use python when manipulating lists, and C++ for floating point oriented tasks.



The OP's work shows it clearly is possible to manipulate lists in C++, in a simple and concise way.


What do you do if your application needs to do both?


Thats a great question!

In one case I used a python wrapper around a C++ core, but when it came time to re-write it we switched to pure python and have so far hit our performance benchmarks - mostly because libraries like OpenCV or PyCuda are now able to efficiently wrap our critical paths.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: