TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Python or JavaScript for Learning Artificial Intelligence?

6 pointsby jozi9over 10 years ago

6 comments

achompasover 10 years ago
It&#x27;s no contest: you want to learn Python.<p>Other commenters (or their links) haven&#x27;t mentioned Theano, which is excellent for deep learning, so I&#x27;ll contribute that to the discussion.
bluerailover 10 years ago
I would say Python.<p>I am no expert in neither Python nor JS. But, the AI community really seems to be obsessed with Python and moreover many specific libraries [1] are available in Python that concentrates on AI alone.<p>On the contrary, AI in JS is mainly being used in games and like.<p>[1] - <a href="https://wiki.python.org/moin/PythonForArtificialIntelligence" rel="nofollow">https:&#x2F;&#x2F;wiki.python.org&#x2F;moin&#x2F;PythonForArtificialIntelligence</a>
3pt14159over 10 years ago
This shouldn&#x27;t even be a question. Python has, just off the top of my head:<p>1. Numpy<p>2. Scipy<p>3. Pandas<p>4. Orange<p>5. Gensim<p>6. Scikit-Learn<p>7. NLTK<p>What does JavaScript have that even comes close?
vinujosephover 10 years ago
I would go for Python. It provides more flexible approach for coding and the AI community seems to be revolving more around Python.
andrewchambersover 10 years ago
Python by far in my opinion.
rayalezover 10 years ago
Definitely python. I think it is the best language to learn AI, it is simple and has so much great libraries and learning resources!