Live data from Hacker News

Python is like a toy programming language compared to C++

efinancialcareers.co.uk

1–9 of 9 posts

Re: Python is like a toy programming language compared to C++

#2
My programming experience went from bash to c to sorta c++ but really c. That was me for ~10 years. I got into python 2 years ago. I can easily and affirmatively say I won't be coding in C ever again. You might try to argue that you need C for X, Y, or Z. You are certainly right, BUT really you really just identified the X, Y, or Z place that needs someone to start converting to python. You should be that person! I believe in you!

I <3 Python so much. I highly recommend every C programmer give python a good try, your next hobby project better be a python project.. You will do the same thing and love Python.

Re: Python is like a toy programming language compared to C++

#4

Ugh, I hate these attention grabbing headlines. Peacock correctly backtracks and says that Python is a "tool" that has its place, it's just not fit for trading systems.

Even that statement could be qualified. Python may work fine if you are not a high-frequency trader. I worked at a fund that traded daily using a Python-based system.

Re: Python is like a toy programming language compared to C++

#5

My programming experience went from bash to c to sorta c++ but really c. That was me for ~10 years. I got into python 2 years ago. I can easily and affirmatively say I won't be coding in C ever again. You might try to argue that you need C for X, Y, or Z. You are certainly right, BUT really you really just identified the X, Y, or Z place that needs someone to start converting to python. You should be that person! I b…

Just some thoughts, shouldn't C and Python be used in completely different projects?

Re: Python is like a toy programming language compared to C++

#6

My programming experience went from bash to c to sorta c++ but really c. That was me for ~10 years. I got into python 2 years ago. I can easily and affirmatively say I won't be coding in C ever again. You might try to argue that you need C for X, Y, or Z. You are certainly right, BUT really you really just identified the X, Y, or Z place that needs someone to start converting to python. You should be that person! I b…

Just some thoughts, shouldn't C and Python be used in completely different projects?

>Just some thoughts, shouldn't C and Python be used in completely different projects?

X, Y, Z sure, maybe like network card drivers, super computer stuff? I'm sure there's many, I'm sure I even said these back in the day. I stand by my words, I bet python needs to get in there.

Re: Python is like a toy programming language compared to C++

#7

Earlier quoted context omitted.

Just some thoughts, shouldn't C and Python be used in completely different projects?

>Just some thoughts, shouldn't C and Python be used in completely different projects? X, Y, Z sure, maybe like network card drivers, super computer stuff? I'm sure there's many, I'm sure I even said these back in the day. I stand by my words, I bet python needs to get in there.

Ah yes definitely true. I'd say different parts of the project.

Re: Python is like a toy programming language compared to C++

#8

Earlier quoted context omitted.

Just some thoughts, shouldn't C and Python be used in completely different projects?

>Just some thoughts, shouldn't C and Python be used in completely different projects? X, Y, Z sure, maybe like network card drivers, super computer stuff? I'm sure there's many, I'm sure I even said these back in the day. I stand by my words, I bet python needs to get in there.

Python and C++ are relatively easily mixed in fact.

Check out pybind11: https://pybind11.readthedocs.io/en/stable/

Re: Python is like a toy programming language compared to C++

#9
post #8

Earlier quoted context omitted.

>Just some thoughts, shouldn't C and Python be used in completely different projects? X, Y, Z sure, maybe like network card drivers, super computer stuff? I'm sure there's many, I'm sure I even said these back in the day. I stand by my words, I bet python needs to get in there.

Python and C++ are relatively easily mixed in fact. Check out pybind11: https://pybind11.readthedocs.io/en/stable/

Interesting. Unusual because I often see people using numpy or boost to get access to fast data types.

I'll have to remember to give this a try.