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

LISP is shit

Name: Anonymous 2012-05-14 1:33


>/prog/ raves about how great and powerful LISP is
>download sbcl
>make a simple hello world app
(defun main ()
 (print "Hello World")
 (quit))
>compile it to binary
>50MB file for 3 lines of code

Name: Anonymous 2012-05-14 2:24

use chicken:


$ cat hello.scm
(display "Hello World") (newline)
$ chicken hello.scm
compiling `hello.scm' ...
generating `hello.c' ...
$ ls -hs hello.c
8.0K hello.c
$ wc hello.c
 240  649 7882 hello.c
$ gcc -c hello.c
$ gcc -O3 -o hello hello.o -lchicken
$ hello
Hello World
$ ls -sh hello
16K hello
$

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