Explore Courses Blog Tutorials Interview Questions
0 votes
in AI and Deep Learning by (50.2k points)

I'm about to produce a prototype for a technology startup that I've just joined, and I'm trying to decide which language to use. It's going to be a simple web tool with a MySQL database in the background and some AI stuff going on in between. I've used Ruby and PHP a reasonable amount in the past, but wonder whether I might be better off going with Python or even Perl. My main programming experience is with C / C++ / Java, but I feel like I want to go for something that will make my life as easy as possible since I'm just developing a prototype.

I guess what I'm looking for is:

speed of development

existing AI libraries (e.g. SVMs, neural networks, Bayesian classifiers)

ease of interacting with a web interface

Does anyone have any thoughts on this?

1 Answer

0 votes
by (108k points)

Python is broadly used for artificial intelligence, with packages for several applications including General AI, Machine Learning, Natural Language Processing, and Neural Networks. It supports deep learning libraries like MXNet, Keras or TensorFlow. Haskell is also a very good programming language for AI. The overall structure of Perl derives broadly from C. Perl is procedural in nature, with variables, expressions, assignment statements, brace-delimited blocks, control structures, and subroutines. Perl also takes features from shell programming. All variables are labeled with leading sigils, which allow variables to be interpolated directly into strings. Still, unlike the shell, Perl uses sigils on all accesses to variables, and unlike most other programming languages that use sigils, the sigil doesn't denote the type of the variable but the type of the expression. So for instance, to access a list of values in a hash, the sigil for an array ("@") is used, not the sigil for a hash ("%"). Perl also has numerous built-in functions that provide tools often used in shell programming (although many of these tools are implemented by programs external to the shell) such as sorting and calling operating system facilities.

Browse Categories