Declarative Languages

Difference between Compiled Language Vs Interpreted Language Vs Declarative Language Compiled Language A compiled language is a programming language where the source code is translated into machine code and the machine code is stored in a separate file. In this language, compilation errors prevent the code from compiling. The code of compiled language can be executed directly by the computer’s CPU. This language delivers better performance.Some examples of compiled languages are C, C++, C#, CLEO, COBOL. Interpreted Language An interpreted

Read more

What is declarative language

-DIFFERENCE BETWEEN COMPILED LANG Vs INTERPRETED LANG Vs DECLARATIVE LANG? 1.A compiled language is a programming language whose implementations are typically compilers and not interpreters 2.An interpreted language is a programming language whose implementations execute instructions directly and freely ,without previously compiling a program in to machine language instructions. 3.Declarative language is also called nonprocedural or very high level programming languages in which a program specifies . -Example for declarative language ? 1.xml 2.Yaml 3.Json -PROS And CONS OF Declarative

Read more

How to setup a kubernetes clustors in centos 7?

Summary of kubernetes clustor? Master API Server -> POD -> Container -> Docker Image -> Google Registry etcd -> POD -> Container -> Docker Image -> Google Registry Controller mgmr -> POD -> Container -> Docker Image -> Google Registry Schedular -> POD -> Container -> Docker Image -> Google Registry kubelet docker kube proxy -> POD -> Container -> Docker Image -> Google Registry kubectl kubeadm init Worker kubelet docker kube proxy -> POD -> Container -> Docker Image

Read more

Declarative language -overview

Difference between Compiled , Interpreted vs declarative Language compiled language :-implementations are typically compilers and not interpreters. eg: java,c,c++ Interpreter language :- execute instructions directly and freely without compilation. eg: python declarative language :- program specifies what is to be done rather than how to do it. expresses logic of a computation Example of Declarative language JSON YAML Pros and Cons of Declarative Language pros short efficient code can written high level of abstraction cons hard to understand

Read more

Diff between Compiled Lang Vs Interpreted Lang Vs Declarative Lang? complier lang Takes entire program as single input and converts it into object code which is stored in the file. Intermediate Object code is generated e.g: C,C++,java Compiled programs run faster because compilation is done before execution. Memory requirement is more due to the creation of object code. Error are displayed after the entire program is compiled Source code —Compiler —Machine Code —Output Interperted lang Takes single instruction as single

Read more

Overview of Delcarative Languages

Comparison between Compiled Language, Interpreted Language and Declarative Language A. compiled language is a programming language whose implementations are compilers and not interpeters.(Example-Java, C) B. An  Interpreted language is a programming languagr which are generally interpreted, without compiling a program into machine instructions.(Example-Python) C. Declarative programming is a programming in which the programmer defines what needs to be accomplished by the program without defining how it needs to be implemented. (Example-SQL,JSON,YAML) 2. Example of Declarative Languages example of declarative languages are SQL,

Read more

Assignment #2: Comparing Languages

Diff between Compiled Language Vs Interpreted Language Vs Declarative Language? Ans: Compiled Language Interpreted Language Declarative Language -translators that generate machine code from source code -step-by-step executors of source code, where no pre-runtime translation takes place -a program specifies what is to be done rather than how to do it 2. Example of Declarative Lang? SQL and Prolog etc. 3. Pros and Cons of Declarative Lang? Pros Cons Short, efficient code Sometimes hard to understand for external people Can be

Read more
1 85 86 87 88 89 332