Francisco
Sure but for a heavy neurnal AI for huge amounts of data I would still go for C# or C++
I disagree. In Python you have scikit-learn, OpenCV, Keras, tensorflow, pytorch, etc... to work with AI stuff. In C++, everything related to that is a pain to work with
Francisco
All written in C++
With Python API, that's why I would use it
Mat
We should clear if we're speaking from a user pov or a developer pov of the libraries
Francisco
We should clear if we're speaking from a user pov or a developer pov of the libraries
I think we were talking about using libraries, not developing them. One must be crazy to implement neural networks or stuff like that by hand in C++ (unless you're doing it for learning purposes)
Francisco
And of course, a Python API is way easier to learn and use than a C++ API
Mat
And of course, a Python API is way easier to learn and use than a C++ API
Mmm, I don't agree. It depends more on how good the API is written
Igor🇺🇦
Its okay for small scripts or tools but I would never write a large project in it
Google would disagree with you on that. And anyway - we're talking about someone who just starts with programming. You don't start from large projects
Francisco
Mmm, I don't agree. It depends more on how good the API is written
An example would be OpenCV. It has an API for both Python and C++, but using the Python one is really straight forward. The C++ one is quite cumbersome, as it is more a C API rather than a pure C++ one
Dima
Python is crap
Igor🇺🇦
Google is... I'll not say how much I hate Google :/
How is this relevant to what language is better to beginners?
Mat
How is this relevant to what language is better to beginners?
🤔 And where do I say it's relevant?
Igor🇺🇦
🤔 And where do I say it's relevant?
So why do you waste time arguing with irrelevant arguments?
Mat
So why do you waste time arguing with irrelevant arguments?
I'm not arguing. I just said I dislike Google 😂 I give him my opinion upper
Mat
Probably I would say Scheme can be good for a beginner, too. But it really depends on who teaches you (a teacher, a book, yt videos) and, more important, how's your attitude to study
Francisco
If you want to teach functional programming, just teach Haskell
Mat
If you want to teach functional programming, just teach Haskell
It depends on what you want to achieve. Maybe too much ot
Francisco
Yep. Going back to the topic, C++ is a good first language if you plan to do computer science. Otherwise, Python is just fine
Mar!o
With Python API, that's why I would use it
Still it is slower because of the InterOp calls
Mar!o
Python can't even live without C because of Python's VM
Francisco
We all know most of the interpreted languages rely on C/C++ to implement the VM. People use Python for many other reasons rather than efficiency
Francisco
If I want to achieve the same goal using C++ and Python, I'm pretty sure the C++ one will be much faster, at the cost of spending a huge amout of time developing it, while in Python may be slower but much faster to develop
Francisco
It's all about the balance
Francisco
And using the right tool for the right job
Mar!o
Yeah I think it's okay for beginners but I don't get it that less but slower code is better than more but faster code. A user doesn't care how much code the app is or how easy it is to write. The user is not seeing that. What the user is seeing and feeling is the speed.
Anonymous
C
#stop-teaching-c
MᏫᎻᎯᎷᎷᎬᎠ
Is it cool or stable to work with the modular std implementation in Visual Studio?!
Hsson
Guys
Hsson
In c++
Hsson
What the use of "unsigned "
Hsson
?
jot.rs
What the use of "unsigned "
"unsigned" means an integer variable stores positive integers https://en.cppreference.com/w/cpp/language/types
jot.rs
actually non-negative but whatever
Drew Diligence
#stop-teaching-c
this is a thing? damn ☠️
Asdew
I started programming with higher-level language and went down to C and I am happy here. No need to stop teaching C.
klimi
Whew so much activity
Maksim
https://github.com/N1LEX/C-repository/blob/master/prime-numbers.c how badly this code?
Dima
https://github.com/N1LEX/C-repository/blob/master/prime-numbers.c how badly this code?
> specify full variable types (e.g. unsigned int i) > formatting
Maksim
thanks formatting?
Dima
too many spaces or its just github playing with it
Maksim
too many spaces or its just github playing with it
yes, this is github. everywhere one tab
Anonymous
this is a thing? damn ☠️
It is just a note saved in Rose
Dima
he’s already banned
klimi
ik but its not in logs
Anonymous
It is not assignment
What it is then?
Drew Diligence
It is just a note saved in Rose
thanks, i just seen the video ... overrated..
Dima
ik but its not in logs
yeah logs are not working
klimi
that sucks...
klimi
can i get status somehow?
Maksim
how much fast possible to find 100.000 prime numbers?
klimi
within second
Maksim
wow nice
Dima
148933 primes
rm rf guarantees 1000000 primes within a second
Francisco
how much fast possible to find 100.000 prime numbers?
Be a little more specific about your problem. If you hard-code the 100.000 primes, it takes nothing to find them
klimi
if i do more it crashes cuz memset
Maksim
148933 primes
very slow?
Dima
very slow?
vybrano
Maksim
nu da
jot.rs
very slow?
yes, very medleno
Maksim
yes, very medleno
mozna bistree?
Anonymous
Any recommendations on which lib to use for a complex gui?
Anonymous
Im thinking of making something like a piano roll drag and drop
Dima
imgui for easy ui building and for complex ui