Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

about SICP and LISP

Name: Anonymous 2013-07-02 15:09

at first i was like... OMG  dats fucked up where am i!!

but then i read about artificial intelligence and stuff

can you explain why is it better for AI? i might be interested
by this philosophy

dunno yet i'll see if u can convince me

Name: Jewish Gypsy Alchemist 2013-07-02 15:12

Sim Salabim!

Name: Anonymous 2013-07-02 15:12

go back to whatever you were using before and leave prog

Name: Anonymous 2013-07-02 15:13

sim salabim? WTF

nobody with more clever points?

Name: Anonymous 2013-07-02 15:16

do you think its cool
use
otherwise dont
fuck off

Name: Anonymous 2013-07-02 15:16

>>3
the average 4chan tough guy
what else?
fuck u dude

Name: Anonymous 2013-07-02 15:19

>>5
i dont know if its cool
im asking you why do u find it cool!!

/e.g/ why is it better to write + 2 2 than 2 + 2 ? i could get used to it if wanted to but why?

Name: Anonymous 2013-07-02 15:22

>>8
because then it has the form of a s-expression
read sicp properly and you'll learn why this is good
it's right there in the beginning

Name: Anonymous 2013-07-02 15:25

AI involves a lot of calculus and linear algebra. Most programming languages are only good for basic arithmetic and a handful of common trig functions. In Lisp, it's easy to write a macro derivative such that (derivative (expt x 2)) => (* 2 x). Do that in even a high level scripting language, you'd have to write your own data structures and some verbose API. Functional programming in general is a very natural way to implement matrix and vector operations. Exact numbers also help. Try writing a reduced row echelon algorithm using floating-point. It's worthless.

Name: Anonymous 2013-07-02 15:30

>>8
is there a more simple LISP tutorial for beginners?

i dont say SICP is bad but u are supposed to know already a lot!

Name: Anonymous 2013-07-02 15:34

>>7
why is it better to write + 2 2 than 2 + 2 ? i could get used to it if wanted to but why?
If you're familiar with calculus, read this section:

https://mitpress.mit.edu/sicp/full-text/sicp/book/node39.html

(+ 2 2) isn't just an expression, it's a data structure. It's a list containing the function +, 2, and 2. You can take the derivative or integral of it. You can reduce it or expand it. It's anything you need to be for a particular application. In other languages, 2 + 2 is just 4.

Name: Anonymous 2013-07-02 15:44

>>9 and >>11
thanks for your answers

i see i have a lot to learn!! maybe i'm not ready just yet for LISP..

Name: Anonymous 2013-07-02 15:47

>>10
Try Land of LISP.

Name: Anonymous 2013-07-02 16:08

The most influential AI researcher at the time was also the creator of Lisp, and it was the only decent language with garbage collection, convenient data structures and dynamic types, so it figures that it was used.

Name: Anonymous 2013-07-02 16:35

>>1
It is just pure coincidence Lisp was used exclusively for AI.

Although Lisp does have a good support for code-transformation, so it makes sense writing compilers and decompilers in Lisp, and we keep wondering why Lisp wasnt created by compiler researches and OS designers.

Name: Anonymous 2013-07-02 16:56

Anyone heard of a "SICP: C Edition"? The Scheme thingy is kinda... meh

Name: Anonymous 2013-07-02 16:59

Name: Anonymous 2013-07-02 17:00

Name: Anonymous 2013-07-02 17:42

Apparently, the guy has been attempting to reimplement the examples in a multitude of languages:
http://www.angelfire.com/tx4/cus/pl/pltranslations.html
Wonder whether it's a work in progress or has been abandoned.

Still, C proper is sadly not included.

Name: bampu pantsu 2013-07-04 21:40

bampu pantsu

Name: bampu pantsu 2013-07-04 21:47

bampu pantsu

Name: bampu pantsu 2013-07-04 21:54

bampu pantsu

Name: bampu pantsu 2013-07-04 22:01

bampu pantsu

Name: bampu pantsu 2013-07-04 22:08

bampu pantsu

Name: bampu pantsu 2013-07-04 22:15

bampu pantsu

Name: bampu pantsu 2013-07-04 22:22

bampu pantsu

Name: bampu pantsu 2013-07-04 22:29

bampu pantsu

Name: bampu pantsu 2013-07-04 22:35

bampu pantsu

Name: bampu pantsu 2013-07-04 22:42

bampu pantsu

Name: bampu pantsu 2013-07-04 22:48

bampu pantsu

Name: bampu pantsu 2013-07-04 22:57

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List