Why do we say that C# is a script language

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

PHP, ASP, C# - are script languages of a higher level, which allow to create
scripts that address user requests to the data base (DB)

For example I see C# and for example C++ just as normal programming language
so why are C# considered as a script language.
Is there some criteria that make a programming langauge a script language.
Is for example C++ also a script language.


//Tony
 
PHP, ASP, C# - are script languages of a higher level, which allow to
create scripts that address user requests to the data base (DB)

For example I see C# and for example C++ just as normal programming
language so why are C# considered as a script language.
Is there some criteria that make a programming langauge a script language.
Is for example C++ also a script language.

I do not consider C# to be a script language.

But the term script language is not particular well defined.

But typically used criteria are:
* interpreted
* weak or non type-safe
* more used for smaller adhoc programs than large programs

C# does not meet any of these criteria.

Another indication of that the first sentence is invalid is that ASP
is not a language. ASP is a web framework that can use multiple
languages like VBScript, JScript etc.. The fact that almost all
ASP pages in practice use VBScript as language does not make ASP
a language.

Arne
 
PHP, ASP, C# - are script languages of a higher level, which allow to create

scripts that address user requests to the data base (DB)



For example I see C# and for example C++ just as normal programming language

so why are C# considered as a script language.

Is there some criteria that make a programming langauge a script language.

Is for example C++ also a script language.





//Tony

C++ isn't a scripting (or 'script') language at all IMHO.
It's a compiled language to start with.
 
PHP, ASP, C# - are script languages...


A script language is generally considered to be an interpreted language as opposed to a compiled language. C# and Java can be compiled JIT but they are still compiled.
 
PHP, ASP, C# - are script languages of a higher level, which allow to
create scripts that address user requests to the data base (DB)

For example I see C# and for example C++ just as normal programming
language so why are C# considered as a script language.
Is there some criteria that make a programming langauge a script language.
Is for example C++ also a script language.


//Tony

Generally, C# is a compiled language. When say a C# program is
installed, the first time it is run on the computer it is compiled. The
compiled bits remain in a store on the computer so the next time it is
run, it starts faster (already compiled).

C# is closer to the metal therefore than many realize. That's why it was
so much faster than Java when it was introduced.

Here's the process:

Human readable code is compiled to IL assembly (*.exe). The IL assembly
is distributed to host machines. When IL assembly is first run on the
host machine it is compiled to close-to-the metal bits appropriate to
the host, JIT, just before running.

HPR

-
 
Generally, C# is a compiled language. When say a C# program is
installed, the first time it is run on the computer it is compiled. The
compiled bits remain in a store on the computer so the next time it is
run, it starts faster (already compiled).

C# is closer to the metal therefore than many realize. That's why it was
so much faster than Java when it was introduced.

Here's the process:

Human readable code is compiled to IL assembly (*.exe). The IL assembly
is distributed to host machines. When IL assembly is first run on the
host machine it is compiled to close-to-the metal bits appropriate to
the host, JIT, just before running.

HPR

Interesting. Thank you.

Tim Sprout
 
Back
Top