Wednesday, November 10, 2010

Do not Underestimate JavaScript

When students want to learn programming, problems often arise such as, should find its compiler, Integrated Development Environment, first. Things like this are often a barrier. Yet without the need to find actually existing toolkit that can be used to learn programming. Toolkit is a browser. In the browser there is always a JavaScript that can be utilized as a learning tool programming techniques. JavaScript is a programming language, object-oriented and dynamic. Dynamic programming languages such as JavaScript, Perl, PHP, Python, and Ruby was originally designed for the script. Now that language has increased in popularity. Many programs that had been written with static programming languages like C, C, and Java are now written in dynamic languages.
JavaScript language has similarities with the functional programming language with lambda and facility closures. JavaScript different from Java, and Sun but was originally not developed by Netscape. Currently, the JavaScript has been standardized by ECMA as ECMAScript (ECMA-262).

Many programmers underestimate JavaScript. JavaScript programming language for the web is considered that only can make the letters flashing, or perform simple operations on a Web page. This assumption is still attached because JavaScript was originally developed for this purpose. Now, this language has been growing rapidly. Of course it was not separated by the larger computing capability so that JavaScript in the browser's computer to do various jobs. The popularity of AJAX makes JavaScript to change it rediscovered and is considered a serious language.

Even the work of emulation of a computer device can also be done using JavaScript. Some emulators that use existing JavaScript, for example JSMIPS [http://codu.org/projects/trac/jsmips], a versatile simulator for the MIPS. This system uses a compilation JIT (Just In Time) with a modular kernel written in JavaScript. You want to learn the process of 6502 (which is legendary because it is used by the Apple II) can be written using assembler / emulated in JavaScript [http://www.6502asm.com].

Whereas those who wonder what if simulate a complete computer, can see JSSpeccy [http://jsspeccy.zxdemo.org] ZX Spectrum computer emulator popular in the 80s. Because JavaScript is not too different syntax to C then to make the emulator is done by translating Fuse Emulator [http://fuse-emulator. sourceforge.net]. Other interesting Emulator is jsMSX [http://jsmsxdemo.googlepages.com/jsmsx.html], which emulates the MSX console, which existed before the Nintendo Famicom. Hardware using a Z80 processor with TMS9918 Video Display Processor. This emulator can also play a ROM of this game. Not only emulate other hardware, JavaScript can also be a "host" of other programming languages. For example, serve as interpreters of other languages or create virtual machines for programming language. For example HotRuby
[Http://hotruby.accelart.jp], a virtual machine for Ruby, written in JavaScript, lets run opcode of Ruby in JavaScript environment. GoldenScheme [http://goldenscheme. accelart.jp] is a Scheme interpreter and Jisp [www.ducklet.com / jisp] is a Lisp dialect that implementation  in JavaScript.

Environmental JavaScript can also start to learn programming by using a simple programming language, eg by using NG-BASIC [http://www.ngbasic.com] that serves as a BASIC interpreter, written in JavaScript. So that users can learn BASIC programming language this easy, and this is done with JavaScript in your browser. For children who want to learn programming to use interpreters LOGO [http://www.calormen.com/Logo], written in JavaScript. What's interesting about it all, one can easily see the source code of a JavaScript application. So, we can learn how things above are implemented in a programming language. In this way the learning process will be done with deeper. Once again the model Open Source makes people easy to learn. Open technologies will accelerate the technology itself.


    Other related articles:

No comments:

Post a Comment