What language?

Post » Fri Jul 15, 2011 7:59 pm

So I am starting some basic programming and I was wondering what programming language is used in the construction set.
User avatar
Guinevere Wood
 
Posts: 3368
Joined: Mon Dec 04, 2006 3:06 pm

Post » Sat Jul 16, 2011 5:44 am

No programming language is used in the construction set... only scripting language. I prefer programming language than scripting language.

If you want to do programming that will have an impact on oblivion, then do OBSE plugin, since you make them in C/C++

And if you are wondering in which language construction set was written, i would say C++... normally, game are either programmed in C++ for speed purpose(not writing speed, but the speed at which the program run) or JAVA for portability over other OS.

There are also game developed in C, but now, people prefer to use object oriented language.

And finally, there is game developed in Python... a language very close to script language by its simplicity to use, but almost powerful as other programming language. Python is similar to Java, people will use it for portability, and if not for portability, for its simplicity.

The main advantage to program in Java and Python, is portability and be able to run uncompiled program, but at great performance cost. If i remember well, you can compile with python compared to Java, but even compiled, it remain and interpreted language, so there is alway a performance loose compared to language not interpreted.

Interpreted language: When a program is compiled, its source is scanned (parsed) by the compiler, then it convert it to a binary executable. A binary executable is an executable that contain 101110101101011110101, but how is it transfered to binary? A program in C is first parsed by the compiler, then the source is translated/converted to its Assembly equivalent (assembly is the language your processor architecture use), then an assembler convert that assembly in pure binary... so what is the link with interpreted language?? An interpreted language is normally compiled at runtime, or in use... its mean that contrary to a normal program that when you compile it take some time, you have that time penalty when you use it. So think how it could be slow playing a game that when playing it, part of it is being compiled... compiling a program as a huge performance impact. There are different sort of interpreted language, uncompiled, semi-compiled(Java) and compiled that use the interpreter resource at runtime(.net framework)
User avatar
Noely Ulloa
 
Posts: 3596
Joined: Tue Jul 04, 2006 1:33 am

Post » Sat Jul 16, 2011 2:16 am

Okay thanks for the info!
User avatar
Ownie Zuliana
 
Posts: 3375
Joined: Thu Jun 15, 2006 4:31 am


Return to IV - Oblivion