Whats the difference bewteen scripting and programming?

Page 4 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
So they they translate the source code to machine code themselves for all platforms?
No, they try to use correct terminology. I even provided links:
interpreter
parser

A compiler may contain an interpreter, and an interpreter may contain a compiler, or even execute a compilation program in the language it interprets, but turning one kind of code into another is not what an interpreter does. That part of the effort has already been completed [if necessary], by the time the interpreter executes the code. Interpreters that execute compiled code are now commonly referred to as virtual machines, which is a more accurate name.
 
Last edited:

FoBoT

No Lifer
Apr 30, 2001
63,082
12
76
fobot.com
If you're formulating instructions to tell a computer to perform a task, and assembling those instructions into a logical order that accomplishes some overall goal, then you're programming. Any other distinctions are highly subjective and usually driven by either a desire to elevate the status of one job over another, or spawn long threads on forums.

that's what i thought i said
 

LiuKangBakinPie

Diamond Member
Jan 31, 2011
3,903
0
0
No, they try to use correct terminology. I even provided links:
interpreter
parser

A compiler may contain an interpreter, and an interpreter may contain a compiler, or even execute a compilation program in the language it interprets, but turning one kind of code into another is not what an interpreter does. That part of the effort has already been completed [if necessary], by the time the interpreter executes the code. Interpreters that execute compiled code are now commonly referred to as virtual machines, which is a more accurate name.

I know what they are and do. But saying programmers don't use compilers are not correct. Some will use 1 translation too a other another.
 

LiuKangBakinPie

Diamond Member
Jan 31, 2011
3,903
0
0
PHP: People refer to software written in PHP as ’scripts’ because PHP runs inside another program – the PHP script engine. But unlike traditional simple scripts, PHP software can be very complex and very powerful. Java: Most people would refer to Java as a full-blown programming language because it’s compiled. But, Java (like PHP) runs inside another program, something called the Java Virtual Machine.
See it becomes blurred. Scripts are doing some things programs use to do
 

alkemyst

No Lifer
Feb 13, 2001
83,769
19
81
parsed vs compiled vs scripted are all different.

I think this argument is biblical in nature and with no end game.

I have done it all.

Today working with mostly getting hardware devices to do what I want I use scripts.

When I was a Comp Sci student I actually asked if I could use VBScript to do the CPU simulation program instead of C+ (knowing most of the class was cheating).

I was told it was impossible, I said I could. I got an A.
 
Last edited:

Dr. Zaus

Lifer
Oct 16, 2008
11,764
347
126
Yes, PM's annoy me... and every single other productive worker out there, from software to manufacturing. You're not the hammer, the nail, or the carpenter... you're the whiny tenant who knows just enough about the process to be dangerous. I'm sure you think you're the Building Supervisor, but that would actually be me, sorry.
It depends.

The cross functional knowledge of the PM is inversely related to innovative outcomes 1. But when a PM allows for a safe environment for task related doubting performance and innovation increase 2. In general our empirical data shows that the key success factors of an effective innovation project management are project efficiency, tools, communications, and collaboration. 3pdf

When I was a Comp Sci student I actually asked if I could use VBScript to do the CPU simulation program instead of C+ (knowing most of the class was cheating).

I was told it was impossible, I said I could. I got an A.
Now that truly is a cool story.
 
Last edited:

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
I know what they are and do. But saying programmers don't use compilers are not correct. Some will use 1 translation too a other another.
Well, duh. That I never said. I only commented on the interpreter part, as the poster I replied to was using that term in place of parsing/lexing.
 

KingGheedora

Diamond Member
Jun 24, 2006
3,248
1
81
Programmers = the dudes who built this forum software.
Scripters = the dudes who made it so that the forum goes offline every Saturday night.
 

irishScott

Lifer
Oct 10, 2006
21,562
3
0
"scripting" involves issuing a series of commands to control an application.

"programming" involves issuing a series of commands to create an application.

Similar techniques, different purposes. Kinda like driving a car vs driving a truck.