School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,004 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,995 people online right now. Registration is fast and FREE... Join Now!




Scripting vs dynamic language

 

Scripting vs dynamic language

tivrfoa

13 Jul, 2009 - 06:03 AM
Post #1

D.I.C Head
Group Icon

Joined: 25 Jan, 2009
Posts: 92



Thanked: 6 times
Dream Kudos: 125
My Contributions
Hello!

Are there any differences between scripting and dynamic languages or is it the same thing?

Thank you! icon_up.gif

User is offlineProfile CardPM
+Quote Post


William_Wilson

RE: Scripting Vs Dynamic Language

13 Jul, 2009 - 07:17 AM
Post #2

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,667



Thanked: 97 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
In general a "script" is a piece of code that is interpreted and is thus executed without independent use of the computer's hardware. This is in contrast to a compiled program which creates an executable which uses the computer's hardware directly. This of course is not possible without the use of OS operations of some kind usually.

In essence, all web only languages are script languages as they are interpreted and not compiled. Ex: perl, javascript, etc

A dynamic language is merely any language that has the capability of setting and retrieving variables, as this allows for a dynamic use. C, Java etc are dynamic languages, but they are not scripting languages.

Does that clear things up?
User is offlineProfile CardPM
+Quote Post

AdaHacker

RE: Scripting Vs Dynamic Language

13 Jul, 2009 - 01:28 PM
Post #3

D.I.C Regular
***

Joined: 17 Jun, 2008
Posts: 394



Thanked: 86 times
My Contributions
QUOTE(William_Wilson @ 13 Jul, 2009 - 09:17 AM) *
A dynamic language is merely any language that has the capability of setting and retrieving variables, as this allows for a dynamic use. C, Java etc are dynamic languages, but they are not scripting languages.

Well, that's the most, er, liberal definition of "dynamic language" I've ever heard. Normally, C and Java are considered the opposite of dynamic languages.

Generally, a "dynamic language" is one that does things at run-time rather than compile-time. The Wikipedia page gives some good examples of dynamic behavior.

Many "dynamic languages" are also considered "scripting languages", e.g. Python, Perl, Ruby, etc. However, there's no necessary connection between the two. For instance, Lisp is often considered "dynamic" and there have been Lisp compilers around for years. Personally, I tend to think that the whole concept of "scripting languages" is articifal in the first place, but that's another post.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 06:54AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month