4 ms·
C++ is evolving so much, however I don't understand this thing: why people continue to develop AI projects with Python? I'd choose C++ instead...
by allpaca 2y ago
C++ is evolving so much, however I don't understand this thing: why people continue to develop AI projects with Python? I'd choose C++ instead...
- bpicolo 2y agoBecause they're python libraries that just wrap C and C++. All the performance upside with better ergonomics
- oivey 2y agoPutting this another way, people use Python because it makes it way easier to compose together the underlying C++ code. Composition and polymorphism in C++’s static type system is rather weak. Of course there is also the relative succintness of Python and other advantages, too.
- VHRanger 2y agoBecause you need a dynamic language to do rapid iteration. You don't want to recompile, re-parse a 12GB parquet file, etc. everytime you try a new parameter in a model.