{"id":1467,"date":"2019-09-28T11:01:35","date_gmt":"2019-09-28T07:31:35","guid":{"rendered":"https:\/\/airoserver.com\/?p=1467"},"modified":"2022-04-04T09:27:21","modified_gmt":"2022-04-04T04:57:21","slug":"interpreted-vs-compiled-languages","status":"publish","type":"post","link":"https:\/\/airoserver.com\/fa\/dedicated\/interpreted-vs-compiled-languages\/","title":{"rendered":"Interpreted vs. Compiled languages"},"content":{"rendered":"<p>In this article, we are going to Compare Interpreted and Compiled languages. But first, let&#8217;s give you some needed information.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>What are Interpreter and Compiler?<\/strong><\/h4>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-1469\" src=\"https:\/\/airoserver.com\/wp-content\/uploads\/2019\/09\/images_text_compiler-Vs-Interpriter.png\" alt=\"Compiler vs. Interpreter\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Both Interpreter and Compiler are computer programs. Their responsibility is to translate high-level <a href=\"https:\/\/en.wikipedia.org\/wiki\/Scripting_language\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"scripting languages (opens in a new tab)\">scripting languages<\/a> to a machine language. High-level languages are the ones that are closer to human language. A machine language is an understandable language for machines.Scripting languages can either be interpreted or compiled. Interpreters translate Interpreted languages and Compilers translate compiled languages.<\/p>\r\n\r\n\r\n\r\n<p><strong>Interpreted languages:<\/strong> JavaScript, PHP, Perl, Ruby, Python, VBScript,&#8230;<\/p>\r\n\r\n\r\n\r\n<p><strong>Compiled Language: <\/strong>Visual Basic, C++, C#, Cobol,\u2026<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong> The differences: <\/strong><\/h4>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-1468\" src=\"https:\/\/airoserver.com\/wp-content\/uploads\/2019\/09\/compile_process_010mo.gif\" alt=\"Interpreted vs. Compiled\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li><strong>How they work:<\/strong> Interpreters translate and execute scripts step by step. It means that they translate a statement, execute it and then goes for the next statement. Compilers translate everything and then, execute them.<\/li>\r\n<li><strong>Platform dependent:<\/strong> Compiled languages are platform dependent. When a program is compiled, the operating system codes are also compiled in it. That&#8217;s why, when you compile a program on an OS, you can&#8217;t execute it on another OS. However, Interpreted programs aren&#8217;t like that. Interpreted programs only need an Interpreter to be executed. So, You can execute Interpreted programs on any platform that has an Interpreter.<\/li>\r\n<li><strong>Speed<\/strong>: as we said earlier, Interpreters translate and execute step by step. That&#8217;s why it takes more time than compilers. Compiler translates the program once and after that it just executes it.<\/li>\r\n<li><strong>Resource usage:<\/strong> Interpreter uses more CPU and RAM every time. Again it is because every time you want to execute interpreted language, interpreter has to translate and execute it. However, compile program executes faster and uses less RAM and CPU after being translated (compiled) once.<\/li>\r\n<li><strong>Troubleshooting:<\/strong> Interpreted languages are easier to troubleshoot. When an Interpreter is translating a script, when a statement has a problem it just stops on that line and inform you about the error. So, you find the exact line that has a problem and fix the problem easily. Troubleshooting for Compiled languages is not that easy. Compilers translate the whole script and at the end inform you about errors. That&#8217;s why it&#8217;s harder to find the errors in compiled languages.<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<p>If you enjoyed this post, take a look at our other posts on our <a href=\"https:\/\/airoserver.com\/fa\/blog\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"blog (opens in a new tab)\">blog<\/a> page!<\/p>","protected":false},"excerpt":{"rendered":"<p>In this article, we are going to Compare Interpreted and Compiled languages. But first, let&#8217;s give you some needed information. What are Interpreter and Compiler? Both Interpreter and Compiler are computer programs. Their responsibility is to translate high-level scripting languages to a machine language. High-level languages are the ones that are closer to human language. [&hellip;]<\/p>","protected":false},"author":5,"featured_media":33978,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[179,176,182,178],"tags":[85,142,185,131],"class_list":["post-1467","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-airoserver","category-dedicated","category-shared-hosting","category-airo-vps","tag-airoserver","tag-linux","tag-programming","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Interpreted vs. Compiled languages<\/title>\n<meta name=\"description\" content=\"Interpreters translate interpreted languages and compilers translate compiled languages. Both Interpreter and Compiler are script translators.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/airoserver.com\/fa\/dedicated\/interpreted-vs-compiled-languages\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Interpreted vs. Compiled languages\" \/>\n<meta property=\"og:description\" content=\"Interpreters translate interpreted languages and compilers translate compiled languages. Both Interpreter and Compiler are script translators.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/airoserver.com\/fa\/dedicated\/interpreted-vs-compiled-languages\/\" \/>\n<meta property=\"og:site_name\" content=\"Airoserver | Cloud Hosting Solutions\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-28T07:31:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-04T04:57:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/airoserver.com\/wp-content\/uploads\/2019\/09\/images_text_cvi.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"247\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"SEO Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"SEO Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/\"},\"author\":{\"name\":\"SEO Team\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897\"},\"headline\":\"Interpreted vs. Compiled languages\",\"datePublished\":\"2019-09-28T07:31:35+00:00\",\"dateModified\":\"2022-04-04T04:57:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/\"},\"wordCount\":381,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/airoserver.com\/#organization\"},\"keywords\":[\"airoserver\",\"Linux\",\"Programming\",\"windows\"],\"articleSection\":[\"AiroServer\",\"Dedicated\",\"Shared Hosting\",\"VPS\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/\",\"url\":\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/\",\"name\":\"Interpreted vs. Compiled languages\",\"isPartOf\":{\"@id\":\"https:\/\/airoserver.com\/#website\"},\"datePublished\":\"2019-09-28T07:31:35+00:00\",\"dateModified\":\"2022-04-04T04:57:21+00:00\",\"description\":\"Interpreters translate interpreted languages and compilers translate compiled languages. Both Interpreter and Compiler are script translators.\",\"breadcrumb\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/airoserver.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interpreted vs. Compiled languages\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/airoserver.com\/#website\",\"url\":\"https:\/\/airoserver.com\/\",\"name\":\"Airoserver | Cloud Hosting Solutions\",\"description\":\"Cloud server | Dedicated server | Domain | Hosting| SSL | Virtual server | Airoserver\",\"publisher\":{\"@id\":\"https:\/\/airoserver.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/airoserver.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/airoserver.com\/#organization\",\"name\":\"Airoserver | Cloud Hosting Solutions\",\"url\":\"https:\/\/airoserver.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png\",\"contentUrl\":\"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png\",\"width\":925,\"height\":880,\"caption\":\"Airoserver | Cloud Hosting Solutions\"},\"image\":{\"@id\":\"https:\/\/airoserver.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897\",\"name\":\"SEO Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g\",\"caption\":\"SEO Team\"},\"url\":\"https:\/\/airoserver.com\/fa\/author\/seoteam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Interpreted vs. Compiled languages","description":"Interpreters translate interpreted languages and compilers translate compiled languages. Both Interpreter and Compiler are script translators.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/airoserver.com\/fa\/dedicated\/interpreted-vs-compiled-languages\/","og_locale":"fa_IR","og_type":"article","og_title":"Interpreted vs. Compiled languages","og_description":"Interpreters translate interpreted languages and compilers translate compiled languages. Both Interpreter and Compiler are script translators.","og_url":"https:\/\/airoserver.com\/fa\/dedicated\/interpreted-vs-compiled-languages\/","og_site_name":"Airoserver | Cloud Hosting Solutions","article_published_time":"2019-09-28T07:31:35+00:00","article_modified_time":"2022-04-04T04:57:21+00:00","og_image":[{"width":700,"height":247,"url":"https:\/\/airoserver.com\/wp-content\/uploads\/2019\/09\/images_text_cvi.jpg","type":"image\/jpeg"}],"author":"SEO Team","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"SEO Team","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"2 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/#article","isPartOf":{"@id":"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/"},"author":{"name":"SEO Team","@id":"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897"},"headline":"Interpreted vs. Compiled languages","datePublished":"2019-09-28T07:31:35+00:00","dateModified":"2022-04-04T04:57:21+00:00","mainEntityOfPage":{"@id":"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/"},"wordCount":381,"commentCount":0,"publisher":{"@id":"https:\/\/airoserver.com\/#organization"},"keywords":["airoserver","Linux","Programming","windows"],"articleSection":["AiroServer","Dedicated","Shared Hosting","VPS"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/","url":"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/","name":"Interpreted vs. Compiled languages","isPartOf":{"@id":"https:\/\/airoserver.com\/#website"},"datePublished":"2019-09-28T07:31:35+00:00","dateModified":"2022-04-04T04:57:21+00:00","description":"Interpreters translate interpreted languages and compilers translate compiled languages. Both Interpreter and Compiler are script translators.","breadcrumb":{"@id":"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/airoserver.com\/dedicated\/interpreted-vs-compiled-languages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/airoserver.com\/"},{"@type":"ListItem","position":2,"name":"Interpreted vs. Compiled languages"}]},{"@type":"WebSite","@id":"https:\/\/airoserver.com\/#website","url":"https:\/\/airoserver.com\/","name":"Airoserver | Cloud Hosting Solutions","description":"Cloud server | Dedicated server | Domain | Hosting| SSL | Virtual server | Airoserver","publisher":{"@id":"https:\/\/airoserver.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/airoserver.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/airoserver.com\/#organization","name":"Airoserver | Cloud Hosting Solutions","url":"https:\/\/airoserver.com\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/airoserver.com\/#\/schema\/logo\/image\/","url":"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png","contentUrl":"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png","width":925,"height":880,"caption":"Airoserver | Cloud Hosting Solutions"},"image":{"@id":"https:\/\/airoserver.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897","name":"SEO Team","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/airoserver.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g","caption":"SEO Team"},"url":"https:\/\/airoserver.com\/fa\/author\/seoteam\/"}]}},"_links":{"self":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts\/1467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/comments?post=1467"}],"version-history":[{"count":0,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts\/1467\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/media\/33978"}],"wp:attachment":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/media?parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/categories?post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/tags?post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}