Added: 4 years ago
From: carlosdevil666
Views: 16,439
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (53)

Sign In or Sign Up now to post a comment!
  • @LakatosIsti I agree, its not a rule that it has to be in C, or that it shows superiority or anything I was just pointing it out :-)

    Additionally I only looked at the main procedure, it was in a .cpp file for some unknown reason so I assumed it was written in C++ and not C.

  • @TheFloaitngBrain I guess some of the files are .cpp so that Visual Studio can compile it for Windows. Dunno, don't care :P

  • @MrXStark And what I'm saying is that you can write interpreters in any type of language. Or you can have actual computers that are in hardware capable of handling "higher-level languages" (which in this case are actually the low-level ones). Once you have a fast base language to use (which Lisp is), you can write a pretty fast interpreter.

  • @Lakatoslsti Ok What part of "YOU CANT WRITE (INTERPRETER FOR) INTERPRETED LANGUAGES WITHOUT USING LOWER LEVEL LANGUAGES" don't you get? Yeah "Love abstractions", but don't forget what goes on BELOW the hood. That's the point I am trying to make for sometime now. Yet somehow you're bent upon proving something else to me. Man Lispers! =(

  • @MrXStark Compilers, however, are a different story. They turn the source code of one language into the source code of another (usually into machine code), so if you want to write a compiler you will need to know the language/machine architecture that you are writing for. However, that does not mean you have to write your compiler in that target language. You can use any language you desire, be it C, Lisp, Erlang, Ruby, etc... And the higher you go the more abstractions you can use

  • Yes, So I allow you to use the Lisp Machine to write a lisp interpreter for me :) HHEHE

  • @MrXStark I don't understand what's so funny.

    The job is already done. The machine IS a Lisp interpreter

  • @MrXStark troll.

  • @GrigoriZhukov What troll? 

  • @Lakatosisti, OK.. flaw in my logic.. Fine! As an exercise in logic, I dare you to write a Lisp interpreter in ONLY lisp. It shouldn't use an interpreter written in C or ASM or any other compiled language. There should be NO use of compiled languages or assembled languages anywhere. :P

  • @MrXStark (loop (print (eval (read))) ? It's basic, but it works fine as an interpreter. You feed in instructions expression by expression.

    Oh, what is that? Yeah, it then compiled by a Lisp compiler. What? Yeah, the compiler might have been written in history in C or some... Well, I think you'll find it pretty hard to write any kind of program if you're not allowed to use even assembler... Ok, so if you allow assembler let me point you to a little something called a Lisp Machine!

  • Chill, there is no need for language fanatism with me :-). You like what you like and I like what I like.

  • @MrXStark Where do you see language fanaticism? I'm just pointing out the flaw in your logic, that's all :P

  • I am a big fan of abstractions. Yes there was no such thing as C back then, but few of the major interpreters of Lisp are written in C(even today).

    I love Lisp, but not over C :-)

  • @MrXStark So what if they are written in C? I too can write easily a Lisp interpreter in Lisp with just a few lines of code. That doesn't mean anything.

  • very few understand that lisp interpreter was written in C

    void init_lisp_interpreter (int argc, char **argv) { parse_args(argc, argv); while(1){ read(argv[0]); eval( __GLBL_STACK_); print_lisp( ); }}

  • @MrXStark Very few people understand that basically all programs are written in machine code that is then interpreted by the hardware. Still, that is not a reason for people to dump whatever language they're using and turn back to good ol' Assembly.

    Also, there are only a few Lisp interpreters left. Most Lisp code is compiled and run by highly efficient and optimized compilers. Some are written in C, some in other languages, hell, some are written in Lisp itself.

    Learn to love abstractions!

  • @LakatosIsti Very few people understand that basically all programs are written in machine code that is then interpreted by the hardware << yes I am one of them. What counts is the SPEED of interpretation(parsing or understanding) + SPEED of execution(machines are fast).

  • @MrXStark Yes, Lisp is lighting fast at SPEED of interpretation, and regarding SPEED of execution it comes really close to C, in some cases even surpasses it.

  • @LakatosIsti everything is written in C or ASM, you can only almost get that fast (even LISP is written in C/ASM), but people who compare programming languages by speed probably work in marketing

  • @WolfCoder No, not everything is written in C. Lisp sure as hell isn't written in C. And you can get speeds faster than C. And yeah, they probably do work in marketing :)

  • @LakatosIsti Actually I am not too much of an expert in Lisp but on Windows the Emacs interpreter is written in C++.

  • @TheFloaitngBrain It's acutally C. When I say "Lisp sure as hell isn't written in C" I'm talking in a more general sense. Sure, there are a few Lisp dialects or implementations that are written in C, but it's not a rule. Yeah, Emacs lisp is implemented in C, but that's only for pragmatic reasons and for compatibility's sake, not because of one's superiority over the other. It's written in C only so it IS written in C, and that fact sure shows itself in performance.

  • @MrXStark Also, when the first Lisp interpreter was written, there was nu such thing as a C programming language.

  • the god concept was written lisp ^^

  • all this arguing...I remember when programmers were just starting to write programs. Before that they had to actually WIRE the program, by hand. No compilers.

    ;^) COBOL is why I hate software...

  • There's something inherently corny about this, to me. Because, if there is a god? Why would it use a silly thing that us mortals use? It would have it's own, like...method, I would think.

  • Only God...

    Or, a man planting a tree, maybe.

  • my professor played this for us back in the day. agh, nightmares.

  • Which univ did you go to?

  • VA Tech! you?

  • IST Portugal. :)

  • @pocmatos : You were also one of those mad professors playing this to your students!!

  • @pocmatos : you were also one of those mad professors playing this song to your students, weren't you?

  • @tubelilbird Guess I was... :)

  • I'm reminded of the joke circulating back in the '90s of how Bill Gates had purchased God, re-issuing Him after some minor modifications as Microsoft God (TM).

    If your system crashed, instead of the BSoD, you got an error message saying "Windows has died for your sins."

  • 'The greatest single programming language ever designed.' - Alan Kay (inventor of the term 'Object-Oriented') on Lisp

  • this is not out of the ordinary. its already here. It's jaw dropping as a musician and peopleware entrepreneur wanna-be. I've done some scanning and I want to begin my firmament with lisp. Help!

  • I love filk music and I am proud to say I have written several that I would love the chance to perform. Three of them I would like original music set to.

  • Interesting... this audio has been up on the Virtual Filk Sing forever, where you don't have to deal with troll comments. Julia, the singer, wrote the original (God Lives on Terra, which is as beautiful as the melody)... But WE don't call Bob 'the Great Kanef' for nothing. ;) (I'm not just a nerd. I'm a smof.)

  • LISP is cool, but I need my JAVA!

  • That was incredible :D

  • God wrote in lisp but I write in perl

  • Whoa! I wonder if somebody's spent a bit too much time struggling with C++ class hierarchies here?

  • The rest of us know what LISP is because they are people like myself who earn $100K+/year as software engineers, and have sent space probes to Mars at NASA, written the web browser you are probably using to troll here, and so forth.

    Perhaps one day you too shall do the same when you are older then 12. Good luck!

  • You're probably right. We are all nerds!

    Coincidentally, the author of the lyrics to this song is currently in Arizona as of the engineers managing the Phoenix Mars lander. (if you don't believe me, listen for his name at the end, and then go Google it and the words 'phoenix mars lander' ;-)

    But - I know - designing software that can look for life on another planet is just *so* nerdy...

    Anyway, thank you for a respite from my own work, to which I must get back to now.

  • muah haha hah. i am trolling the troll!

    Take care, Eli.

  • You seem to.

  • Darn. And here I was hoping you'd made an actual music video! ;-) Thanks for posting just the same.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more