Hacker News new | past | comments | ask | show | jobs | submit login
Fitting all human knowledge in a box (monadical.com)
40 points by moj3 on Dec 24, 2020 | hide | past | favorite | 4 comments



> In C++, tons of information is needed from the user in order to make it work, while Python comes with a lot of built-in data structures like vectors, dictionaries and iterators that make it easier to use right out of the box.

just wrong


The "tons of knowledge" are "just" the STL. It is a template library and thus needs knowledge of the concept of templating.

So that's quite some knowledge required compared to list usage in Python, which doesn't require a single include line.

Of course, the situation is basically the same if you replace C++ by Java. Or Python by Ruby.


The difference is strong typed vs. loosely typed languages. In an IDE you see a popup with a "quick fix" for missing includes.


The think the punchline was they used Cython to wrap a C++ library, which is its purpose. They had to understand the GIL and callbacks.




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

Search: