Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #22214
| Message-ID | <2681613.TkQPe999TG@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2013-11-29 10:58 +0100 |
| Subject | Re: OT: Displaying current time on a website |
| Newsgroups | comp.lang.javascript |
| References | (4 earlier) <52964acb$0$6635$9b4e6d93@newsspool2.arcor-online.net> <l75ncg$qc2$1@dont-email.me> <l7657v$hgk$2@dont-email.me> <l771sp$jt$1@dont-email.me> <l78m5a$7l6$1@dont-email.me> |
Denis McMahon wrote: > On Thu, 28 Nov 2013 11:20:25 +0200, Jukka K. Korpela wrote: >> 2013-11-28 3:11, Denis McMahon wrote: >>> Most computer users have a clock somewhere on their screen already, >>> showing the time zone(s) that they want, unless they made a conscious >>> decision not to have one there. >> >> Well, yes - on desktop screens. And displaying current time on a web >> page is mostly pointless or worse. But... >> >>> Why do you want to use cpu resources on the client system in >>> duplicating a feature that probably already exists? >> >> For example, if you have created an HTML5 application >> (HTML+CSS+JavaScript that works like an application in a browser) that >> you expect people to use mostly in pocket-size devices, there might be >> good reasons for including time display. Perhaps even if the time does >> not relate to the functionality of the application. After all, many >> people have no watch these days, they look at their "phone" to see what >> time it is. > > Even so, if they want to view the time on screen there's probably a more > efficient native method in the device than doing so through an > interpreted scripting language. […] It is a common misconception that source code in a scripting language would be interpreted as it is. Instead, code written for ECMAScript implementations in browsers, like JavaScript, JScript aso., is compiled into bytecode or native machine code. Only the bytecode, if that, is then interpreted/executed by a Virtual Machine (VM). This applies to several other scripting languages that are not based on ECMAScript, too, for example PHP and Python. It is therefore wrong to say “interpreted scripting language”. See also: <http://en.wikipedia.org/wiki/V8_(JavaScript_engine)> -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: OT: Displaying current time on a website Rhino <no_offline_contact_please@example.com> - 2013-11-27 16:15 -0500
Re: OT: Displaying current time on a website Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-28 01:11 +0000
Re: OT: Displaying current time on a website "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-28 11:20 +0200
Re: OT: Displaying current time on a website Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-29 00:12 +0000
Re: OT: Displaying current time on a website Andrew Poulos <ap_prog@hotmail.com> - 2013-11-29 13:51 +1100
Re: OT: Displaying current time on a website Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-29 10:58 +0100
Re: OT: Displaying current time on a website Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-11-29 21:30 +0000
Re: OT: Displaying current time on a website Stefan Weiss <krewecherl@gmail.com> - 2013-11-28 23:09 +0100
Re: OT: Displaying current time on a website tony@mountifield.org (Tony Mountifield) - 2013-11-28 23:24 +0000
Re: OT: Displaying current time on a website tony@mountifield.org (Tony Mountifield) - 2013-11-29 13:12 +0000
Re: OT: Displaying current time on a website Stefan Weiss <krewecherl@gmail.com> - 2013-11-29 14:39 +0100
Re: OT: Displaying current time on a website Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-11-30 20:35 +0000
Re: OT: Displaying current time on a website "Evertjan." <exjxw.hannivoort@interxnl.net> - 2013-12-01 07:57 +0000
csiph-web