11.07.2015 Views

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

252 interpreterconsidered to be ISPs, the term is generally applied to acommercial, fee-based service.Typically, a user is given an account that is accessed bylogging in through the operating system’s Internet connectionfacility by supplying a user ID <strong>and</strong> password. Once connected,the user can run Web browsers, e-mail clients, <strong>and</strong>other programs that are designed to work with an Internetconnection. Most ISPs now charge flat monthly fees rangingfrom $20 or so for dial-up access to around $40–$60for high-speed cable or DSL connections (see broadb<strong>and</strong>).Some services such as America Online <strong>and</strong> CompuServeinclude ISP service as part <strong>of</strong> a package that also includessuch features as s<strong>of</strong>tware libraries, discussion forums, <strong>and</strong>instant messaging. Online services tend to be more expensivethan “no frills” ISP services.Most personal ISP accounts include a small allotment <strong>of</strong>server space that users can use to host their personal Webpages. There are generally extra charges for larger allotments<strong>of</strong> space, for sites that generate high traffic, <strong>and</strong> forcommercial sites. Business-oriented ISPs typically providea more generous starting allotment along with more extensivetechnical support <strong>and</strong> more reliable <strong>and</strong> higher-capacityservers that are managed 24 hours a day.The rapid growth in Internet use in the mid-1990sencouraged many would-be entrepreneurs to start ISPs. However,with so many providers entering the field <strong>and</strong> with theprice for basic Internet connections falling, it soon becameapparent that the survival prospects for “generic” ISPs wouldbe poor. People entering the business today strive to provideadded-value services such as superior Web page hostingfacilities, hosting blogs or wikis, or to focus on specializedservices for particularly industries (such as real estate).Today’s ISPs also face a variety <strong>of</strong> legal challenges,including customer privacy vs. the war on terrorism (seeprivacy in the digital age), responsibility for copyrightinfringement (see intellectual property <strong>and</strong> computing),<strong>and</strong> possible liability for online defamation, harassment,or worse (see cyberstalking <strong>and</strong> harassment.)Many earlier versions <strong>of</strong> the BASIC programming languagewere implemented as interpreters. Since an interpreteronly has to hold one program statement at a time inmemory, it could run on early microcomputers that had onlya few tens <strong>of</strong> thous<strong>and</strong>s <strong>of</strong> bytes <strong>of</strong> system memory. However,interpreters run programs considerably more slowlythan a compiled program would run. One reason is that aninterpreter “throws away” each source code statement afterit interprets it. This means that if a statement runs repeatedly(see loop), it must be re-interpreted each time it runs.A compiler, on the other h<strong>and</strong>, would create only one set<strong>of</strong> machine code instructions for the loop <strong>and</strong> then moveon. Also, because a compiler keeps the entire program inmemory, it can analyze the relationship between multiplestatements <strong>and</strong> recognize ways to rearrange or substitutethem for greater efficiency.Interpretation can also be used to bridge differencesin hardware platforms. For example, in the UCSD Pascalsystem developed in the 1970s, an interpreter first translatesthe Pascal source code into a st<strong>and</strong>ardized “P-code”(pseudocode) for a generic processor called a P-machine. ToFurther ReadingBerkowitz, Howard C. Building Service Provider Networks. NewYork: Wiley, 2002.“Everything You Wanted to Know About Internet Service Providers.”Available online. URL: http://www.ispconsumerguide.com/. Accessed February 6, 2008.“ISP Liability.” BitLaw. Available online. URL: http://www.bitlaw.com/internet/isp.html. Accessed August 8, 2007.Nguyen, John V. Designing ISP Architectures. Upper Saddle River,N.J.: Prentice Hall, 2002.interpreterAn interpreter is a program that analyzes (parses) programmingcomm<strong>and</strong>s or statements in a high-level language (seeprogramming languages), creates equivalent executableinstructions in machine code (see assembler) <strong>and</strong> executesthem. An interpreter differs from a compiler in that the latterconverts the entire program to an executable file ratherthan processing <strong>and</strong> executing it a statement at a time (seecompiler).An interpreter scans a program code or comm<strong>and</strong> statement todetermine what each token (word or symbol) represents. Keywordssuch as PRINT are looked up in a dispatch table that containsinstructions for dealing with that function. Variables arelooked up in a symbol table that gives their current value. Values<strong>and</strong> operators make up expressions that are interpreted to yieldtheir final value. In this case the final value <strong>of</strong> 15 is given as datato the PRINT routine, which is executed to put the number 15 onthe screen.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!