Re: This (Javascript) function has an onClick event that calls a function that calls This function



"Dr J R Stockton" <jrs@xxxxxxxxxxxxxxxxxx> wrote in message
mQQeXp4+F6PFFwT$@invalid.uk.co.demon.merlyn.invalid">news:mQQeXp4+F6PFFwT$@invalid.uk.co.demon.merlyn.invalid...

[...] ISTM that it would be very difficult to fulfil the [Javascript]
language specification by compilation to machine code or anything
like it. ...

Au contraire. The effect under discussion here is late binding.
This is completely orthogonal to compilation of source to machine
code. Functions may be registered in an environment and later
looked up in it. Whether this is done by compiled or interpreted
code doesn't matter to language comformity.


[...] Javascript cannot match Delphi in performance; ...

And neither can Lisp; it has late binding, too (or used to) - or
perhaps call-by-name is the more correct term, I'm not exactly
sure.

But there have been compiled Lisp implementations.

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Re: Ron Garret considered harmful [Re: DEFSTRUCT and lexical environment]
    ... environment as defined in the common Lisp Standard and you cannot ... macros are expanded before compilation. ... That denotation is a binding. ...
    (comp.lang.lisp)
  • Re: Symbol macros dont capture their lexical environments?
    ... think that answer is a little facile, particularly in light of the HCF ... hyperbole that you yourself brought up. ... we've got information crossing the boundary between compilation ... isn't bound to a _value_ and the binding isn't a lexical binding, ...
    (comp.lang.lisp)
  • Re: Python interpreter speed
    ... Standard Python interpreter's implementation is written in C language. ... code while compilation, is compilled into machine code (the fastest ...
    (comp.lang.python)
  • Re: Late Binding / CF
    ... It will be this code which is causing the late binding error during compilation. ... It is only when the application runs (i.e. "later" than compilation where this check is usually made) that the runtime determines if these methods actually exist and "binds" to them or throws an exception. ... Dim dr as Object ... This doesn't require late binding as both classes implement the IDbDataAdapter interface and hence can be guarenteed at compile time to contain the methods and properties it defines. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Late Binding / CF
    ... VB.NET supports a feature called Late Binding. ... It is only when the application runs (i.e. "later" than compilation where ... Dim dr as Object ... binding as both classes implement the IDbDataAdapter interface and hence can ...
    (microsoft.public.dotnet.framework.compactframework)