Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now
  • 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 input and executes instructions.
  • Intermediate Object code is NOT generated
  • e.g: Perl, Python, Matlab
  • Interpreted programs run slower because compilation and execution take place simultaneously.
  • Memory requirement is less.
  • Error are displayed for every single instruction.
  • Source Code —Interpreter —Output

Declarative lang

It’s a method of programming based around describing what something should do or be instead of describing how it should work.

  • ex:xhtml, html
  • Its advantages include effective code, which can be applied by using ways, easy extension, high level of abstraction, etc.