scripting – Difference between Scriptable and programmable – Education Career Blog

I was confused as to what is the difference between a Script and a Program, but a previously asked question Difference between a script and a program? clarified my doubt but that further leads me to wonder what is the difference between an Object being Scriptable versus being Programmable.

,

Not sure if this is what you’re looking for but scripts are generally interpreted at runtime by another program which does something meaningful, whereas programs are typically executable directly on top of the CPU because they were compiled to assembly.

Notable exceptions are .NET managed languages and Java, which ‘compile’ to IL and bytecode and need some kind of runtime (CLR, JVM, DVM) to execute.

,

As noted by Michael Petrotta in the question you reference, scripts are generally interpreted and slowish , programs are generally compiled and fasterish. Compiled is often faster than intepreted because interpretation includes compilation at run time (vague and not always the case, but good enough).

Scriptable, to me, means that the object in question supports the interfaces required to be accessable from one or more script languages (for example, JavaScript and/or VBScript).

Programmable, to me, means that the object in question supports the interfaces required to be accessable from a programming language (for example, C++ or Java).

Interpreted and Compiled languages are all programming languages so it is all programming.

Summary: Scriptable vs Programmable are two vaguely synonomous terms.

Leave a Comment