--%>

Different services provided by DLR to CLR

Give details about the different services that are provided by DLR to CLR?

E

Expert

Verified

The different services that are provided by DLR to CLR are as follows:

• Dynamic Object Interoperability : It facilitates DLR to give a set of the classes and interfaces which signifies the dynamic objects and the operations. Classes and the interfaces can be used to generate classes for the dynamic libraries that can be utilized in the static and the dynamic type languages.

• Expression Trees : It refers to the illustration of the code in the data structure comparable to the tree. Though, expression trees in the DLR are the highly developed version of a expression trees which were introduced with the LINQ in .NET 3.5. So, DLR has extended functionalities of the Language Integrated Query i.e. LINQ expression trees, like control flow, assignment, and the other language-modeling nodes to the dynamic language.

• Call Site Caching – It enables a DLR to store information of operations and the characteristics of variables, like their data type. This caching service also facilitates to check whether such operation has been performed earlier to regain all information about variable. Place where DLR stores the values is known as a call site.

   Related Questions in Programming Languages

  • Q : How virtual machine simplify writing

    How does a virtual machine simplify the task of writing a distributed application?

  • Q : What is Modal What is Modal : A dialog

    What is Modal: A dialog is a modal when its parent application is blocked from additional activity until the dialog has finished.

  • Q : Explain Base type Base type : The kind

    Base type: The kind of items that might be stored in an array - the arrays defined type. For example, in     int[] numbers; the base type

  • Q : Define Context Normal 0 false false

    Normal 0 false false

  • Q : Function prototypes Function prototypes

    Function prototypes: Function declaration which specifies the function name, return type and parameter list of the function. Syntax: return_type function_name(type var1, type var2,…

  • Q : Use Polymorphism Use Polymorphism :

    Use Polymorphism: Programs, especially those converted from non-OOP languages like C, sometimes use state where they should use inheritance. For example,

    Q : What is an Arithmetic expression

    Expression: It is a combination of operands and operators which generates a resultant value. Expressions contain a resulting type that affects the context in which they might be employed.

  • Q : Define Deadlock Deadlock : A situation

    Deadlock: A situation which occurs whenever two threads each acquires the lock to one of a set of resources which they both require.

  • Q : Perform Exception Handling with

    On occasion, some of Brewbean’s customers mistakenly leave an item out of a basket already checked out, therefore they create a new basket containing the missing items. Though they request that the baskets be combined and hence they are not charged extra shippin

  • Q : Explain Cast Cast : Where Java does not

    Cast: Where Java does not allow the utilization of a source value of one type, it is essential to use a cast to force the compiler to admit the use for the target type. The care must be taken with casting values of primitive types, as this frequently