Re:Why ML Needs a New Programming Language
by j2kun on Friday September 05, 2025 @02:43PM
(#45142107)
Yeah the OP here listed a bunch of Python stuff that all ends up shelling out to C++. C++ is rich enough, period, but people find it unpleasant to work in (which I agree with).
It's not about "richness," it's about giving a language ecosystem for people who don't really want to do the messy, low-level parts of software, and which can encapsulate the performance-critical parts with easy glue
Re:Why ML Needs a New Programming Language
by FuckButtons on Friday September 05, 2025 @04:06PM
(#45143014)
I mean, you’ve basically described why people use Python, it’s a way to use C/C++ without having to write it.
Re:Why ML Needs a New Programming Language
by anakaine on Friday September 05, 2025 @04:17PM
(#45143132)
And ill take that reason every single day. I could spend days or more working out particular issues in C++, or I could use a much nicer to use glue language with a great ecosystem and a huge community driving it and get the same task done in minutes to hours.
Re:Why ML Needs a New Programming Language
by lairv on Friday September 05, 2025 @09:08PM
(#45145614)
I tried to statically link DuckDB to one of my C++ project earlier this year and it took me 3 days to have something working on Windows/Linux/MacOS (just to be able to use the dependency)
While I'm not a C++ expert, doing the same in Python is just one pip install away, so yeah both "richness" and "ease of use" of the ecosystem matters
Re:Why ML Needs a New Programming Language
by j2kun on Friday September 12, 2025 @01:55PM
(#45224733)
You made my point for me: DuckDB is already in C++ (so C++ is rich enough), but hard to glue with other pieces, and you don't want to put in that effort, so you use Python.
Re:Why ML Needs a New Programming Language
by flourpower471 on Friday September 05, 2025 @07:33PM
(#45144959)
Ever tried to write a web scraper in c++?
Have a hard time believing C++ and Java don't have rich enough ecosystems. Not saying they make for good glue languages, but everything was being written in those languages before Python became this popular.