Re:Ask HN: Which programming language to learn in AI era?
by ukrainian on Tuesday August 29, 2023 @11:58AM
(#37309829)
Thank you! Any nice books or courses to start with?
[ Parent
| on HN ]
Re:Ask HN: Which programming language to learn in AI era?
by hmcq6 on Tuesday August 29, 2023 @01:19PM
(#37310990)
I'm a big fan of nodeschool.io
I learned from w3schools.com but there are better resources now. MDN is generally a better resource https://developer.mozilla.org/en-US/docs/Learn/JavaScript
I also know that Harvard offers some CS courses for free online - https://pll.harvard.edu/course/cs50s-web-programming-python-...
Re:Ask HN: Which programming language to learn in AI era?
by T-A on Tuesday August 29, 2023 @01:28PM
(#37311118)
Before you settle on JavaScript (which, by all means, is quite useful) you may want to decide how seriously you take the talk of "AI era". In AI and machine learning, Python rules.
Re:Ask HN: Which programming language to learn in AI era?
by gsuuon on Tuesday August 29, 2023 @04:42PM
(#37313746)
As someone writing an AI library in Typescript - if AI is your main focus, learn Python. You'll have access to the largest AI libraries and frameworks with the most support materials and userbase.
Re:Ask HN: Which programming language to learn in AI era?
by meiraleal on Wednesday August 30, 2023 @08:01AM
(#37320735)
There are advantages of choosing JavaScript too:
- It is already possible to run LLMs and langchain.js directly in the browser. The web is the dev environment if you code JS.
Re:Ask HN: Which programming language to learn in AI era?
by gsuuon on Wednesday August 30, 2023 @01:38PM
(#37325838)
Yup, I'm building a library that runs LLM's in browser with tagged template literals: https://github.com/gsuuon/ad-llama
I think it has fundamental DX benefits over python for complex prompt chaining (or I wouldn't be building it!) Even still -- if their focus is purely on AI, python is still the better choice starting from scratch. The python AI ecosystem has many more libraries, stack overflow answers, tutorials, etc available.