{"id":579,"date":"2014-09-25T08:04:46","date_gmt":"2014-09-25T13:04:46","guid":{"rendered":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/?p=579"},"modified":"2014-09-26T10:50:36","modified_gmt":"2014-09-26T15:50:36","slug":"algorithms-and-programming-languages","status":"publish","type":"post","link":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/","title":{"rendered":"Bridging Algorithms and Programming Languages"},"content":{"rendered":"<p>In the computing stack, PL sits between algorithms and systems. Without algorithms to implement or computer systems to run them on, there would be no need for programming languages. However, the research communities that study algorithms, PL, and systems don\u2019t really have much of an overlap. This is perhaps unavoidable: computer science is now a mature field, and researchers in mature fields tend to pursue specialized and technical research questions.<\/p>\n<p>At the same time, it seems important that the approaches \u2014 assumptions and methods \u2014 of different subfields of computing be compatible to some extent. At the end of the day, computer science aims to produce solutions for the whole computing stack. An \u201cimpedence mismatch\u201d between its subfields compromises our ability to come up with such end-to-end solutions.<\/p>\n<p>This suggests that the comparative study of assumptions, techniques and cultures of different CS fields (a sort of \u201ccomp lit\u201d for computer science) is potentially valuable.<\/p>\n<p>Personally, I have always been intrigued by the relationship between the fields of programming languages and algorithms. In this post, I discuss similarities and differences between these two areas, and argue that their synthesis could be interesting for both research and teaching.<\/p>\n<p><!--more--><\/p>\n<h2><strong>What do PL researchers study?<\/strong><\/h2>\n<p>To compare PL with other fields, we need to first decide what PL is. I can think of a few themes that run through our field:<\/p>\n<ul>\n<li><strong>Language design.<\/strong> Unsurprisingly, the design of programming languages is a fundamental goal of PL research. A designed\u00a0language may be a real, usable language, or a \u201ccalculus\u201d that captures the mathematical core of a bigger language. In either case, a\u00a0key challenge is <em>semantics<\/em>: the rigorous definition of how programs are evaluated. Such definitions are not arbitrary. Typically, researchers aim to guarantee that programs in their languages satisfy some desirable mathematical properties, for example <a title=\"What is memory safety?\" href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/07\/21\/memory-safety\/\">memory safety<\/a> or data race-free\u00a0concurrency. Commonly, a\u00a0language designer also wants to exploit practical features of hardware on which programs execute and the application domain where the language is used.<\/li>\n<\/ul>\n<ul>\n<li><strong>Reasoning about programs (&#8220;verification&#8221;).<\/strong> Rigorous reasoning about program properties \u2014 for example, verifying termination or deadlock-freedom \u2014 is a major theme in PL. Typically, PL researchers want to accomplish this task in an algorithmic or at least semi-automated way. As <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/kilby.stanford.edu\/~rvg\/154\/handouts\/Rice.html\">automated analysis of this sort is undecidable for Turing-complete languages<\/a>, PL researchers focus either on weaker classes of languages where proving properties is <em>decidable<\/em> (<a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/en.wikipedia.org\/wiki\/Model_checking\">model checking<\/a>), or on <em>sound but incomplete<\/em> methods (<a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/en.wikipedia.org\/wiki\/Type_system\">type systems<\/a> and <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/en.wikipedia.org\/wiki\/Static_program_analysis\">static analysis<\/a>), or on semi-algorithms guided by human programmers (<a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/en.wikipedia.org\/wiki\/Proof_assistant\">interactive theorem proving<\/a>).<\/li>\n<\/ul>\n<ul>\n<li><strong>Compiler design. <\/strong>A programming system must generate executable code, and designing algorithms that can do so is another core PL problem. Traditional challenges here include parsing and program optimization. In recent times, research on this theme has expanded to designing <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/dl.acm.org\/citation.cfm?id=602403&amp;dl=ACM&amp;coll=DL&amp;CFID=432617564&amp;CFTOKEN=65165918\"><em>verifying compilers<\/em><\/a> that can reason about correctness, or <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/research.microsoft.com\/en-us\/um\/people\/sumitg\/pubs\/ppdp10-synthesis.pdf\"><em>program synthesizers <\/em><\/a>that use sophisticated search algorithms to generate executable code from nondeterministic specifications.<\/li>\n<\/ul>\n<h2><strong>What do algorithmists study?<\/strong><\/h2>\n<p>Now let&#8217;s consider\u00a0the field of algorithms. Any algorithms research starts with a <em>model of computation <\/em>on which algorithms are to execute. Typically, such a model distills the essence of a real-world computational setting, and constrains what an algorithm is allowed or not allowed to do. For instance, in the so-called <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/en.wikipedia.org\/wiki\/Streaming_algorithm\">streaming model of computation<\/a>, an algorithm can only process a few items in an input stream at one time. In <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/people.csail.mit.edu\/ronitt\/sublinear.html\">sublinear algorithms<\/a>, the algorithm cannot read its input data fully (capturing real-world intuitions about large datasets), but is permitted to probe or sample from this data.<\/p>\n<p>Any given model of computation comes with a rigorously defined notion of <em>efficiency<\/em>. The algorithms researcher\u2019s goal is now to come up with algorithms that are provably efficient. Over the years, algorithmists have studied many different ways to make algorithms efficient. For example, a common approach to achieving efficiency is to weaken the guarantees that the algorithm offers. In particular, <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/en.wikipedia.org\/wiki\/Randomized_algorithm\">randomized algorithms<\/a> are allowed to have one-way or two-way probabilistic error in their outputs. <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/en.wikipedia.org\/wiki\/Approximation_algorithm\">Approximation algorithms<\/a> must solve hard global optimization problems in polynomial time, but are allowed to produce outputs that are only within an approximation factor of real optima.<\/p>\n<h2><strong>PL and\u00a0algorithms: technical differences<\/strong><\/h2>\n<p>There are several commonalities between\u00a0PL and algorithms and, to my mind, one key\u00a0difference.<\/p>\n<p>One obvious commonality is the object of study: an algorithm and a program are basically the same thing (algorithms are commonly defined to be programs that terminate on all inputs, but this is a technical detail). Second, the models of computations that algorithms researchers assume are, fundamentally, nothing but programming languages: a demarcation of the set of permissible programs\/algorithms and a specification of their dynamics. One could think of streaming algorithms or sublinear algorithms as the classes of programs expressible in domain-specific languages with restrictions on how a program accesses data.<\/p>\n<p>The fundamental difference between algorithms and PL, it seems to me, lies in a quantifier:<\/p>\n<blockquote><p>An algorithms researcher\u2019s goal is to produce an algorithm\/program with desirable properties. In contrast, whether a PL researcher is working on language design, verification or compilers, he or she aims to come up with proofs and procedures that apply to <em>all algorithms <\/em>that can be written in a language.<\/p><\/blockquote>\n<p>For instance, a program verifier is a procedure that can take an <em>arbitrary<\/em> algorithm (within a certain model of computation) and check that it satisfies certain properties. The designer of a language with guarantees of memory safety aims to guarantee a theorem about the set of all algorithms possible under their model.<\/p>\n<p>Interestingly, this makes the field of PL closer to complexity and theory of computation, which study properties of classes of algorithms. Think of two elementary statements from complexity theory: \u201cevery comparison-based sorting algorithm must have Omega(n log n) complexity\u201d and \u201cPSPACE = NPSPACE\u201d. The first statement is a meta-theorem about a programming language whose semantics comes with a quantitative model of resource consumption (that comparisons of values can be done in unit time). The second is a comparison between two different programming languages.<\/p>\n<h2><strong>PL and\u00a0algorithms: cultural differences<\/strong><\/h2>\n<p>Other differences between PL and algorithms are cultural rather than technical.<\/p>\n<p>The first such difference is that PL research is usually designed to maintain a path to execution on real computers. Models of computation in the algorithms literature are an artifact of analysis. In contrast, even the core languages designed by programming linguists tend to have the eventual goal of implementation. It also seems fair to say that PL researchers implement their ideas more often than algorithmists do. Many if not most POPL papers come with an experimental evaluation. SODA papers, on the other hand, rarely do. One corollary of this is that algorithmists are more susceptible to conflating models with reality. As one example, most algorithms hold polynomial time complexity as <em>the<\/em> notion of efficiency. However, NP-hard problems are not always hard to solve in practice \u2014 for instance, boolean satisfiability may be NP-complete, but SAT-solvers work very well on large formulas in many domains. The empirical focus of PL researchers has allowed them to leverage such practical tools.<\/p>\n<p>A second cultural difference between algorithms and PL lies in their attitude towards abstraction, and their definition of what makes an algorithm\/program desirable. Models of computation in the algorithms and complexity literature tend to be low-level, without the abstractions available in most modern programming languages. The main objective of design is efficiency, defined in terms of the number of low-level steps taken by executions.<\/p>\n<p>As Bob Harper argues in his talk on <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.cs.cmu.edu\/~rwh\/talks\/IU13.pdf\">&#8220;two notions of beauty in programming&#8221;<\/a>, PL researchers often have a different take on the cost of a computation. For many PL researchers (especially those who work on language design),\u00a0<em>the true notion of a computation\u2019s cost is the effort involved in programming and reasoning about programs<\/em>. A desirable computation or proof is one that can be expressed effectively using high-level programming abstractions, and composed easily with other computations\/proofs. The design of new languages or models of computation is driven by an interest in making programs more desirable in this sense.<\/p>\n<p>A third, related difference is that algorithms research is traditionally much heavier on quantitative reasoning. Notions of efficiency studied by algorithmists are easy to quantify. Also, in contemporary algorithms, notions of correctness are often randomized or approximate, so that correctness analysis also requires quantitative reasoning. In contrast, PL research has historically focused on reasoning about boolean properties such as type safety, deadlock-freedom, and termination. It is true that there is a growing literature in the PL world on quantitative reasoning about programs (including reasoning about probabilistic and approximate computation), but this kind of work is still in the minority.<\/p>\n<p>Finally \u2014\u00a0and I realize that I may get some flak for saying this \u2014 it seems to me that algorithms researchers are historically much more agile than PL folks in identifying new application areas. There are many thriving research topics of the form &#8220;x + algorithms&#8221;: algorithmic genomics, <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/theory.stanford.edu\/~tim\/papers\/tcs08.pdf\">algorithmic game theory<\/a>, and <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/users.cms.caltech.edu\/~schulman\/Workshops\/CS-Lens-2\/kleinberg-caltech-post.pdf\">network science<\/a> are only three prominent examples. Algorithms researchers have been able to distill interesting algorithmic problems from these applications and come with many exciting technical results. In contrast, PL researchers have tended to focus on classic applications in system software, or chosen to be application-agnostic.<\/p>\n<h2><strong>A synthesis?<\/strong><\/h2>\n<p>The technical differences between algorithms and PL are innate \u2014 there is after all a reason why these are different areas. However, the cultural differences between PL and algorithms exist primarily for historical reasons, and it seems that a synthesis of the \u201cpositive\u201d cultural attitudes of PL and algorithms can benefit both fields.<\/p>\n<p>Specifically, it seems clear to me that there\u2019s a \u201cPL angle\u201d to most application domains that algorithmists study, and applying it would\u00a0benefit of the entirety of computer science. Take, as an example, cryptography. The vast majority of work on cryptography is algorithmic, and at a theoretical level there\u2019s nothing wrong about these algorithms. However, as we saw from the <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.economist.com\/news\/international\/21586296-be-safe-internet-needs-reliable-encryption-standards-software-and\">Snowden revelations<\/a>, because of vulnerabilities at the software and hardware level, guarantees at the level of abstractly defined algorithms may not transfer to implementations of these algorithms. PL techniques could have potentially prevented these errors from happening.<\/p>\n<p>It seems to me that we can amend our list of activities of PL researchers as follows:<\/p>\n<ul>\n<li><strong>Language design.<\/strong>\u00a0Come up with high-level programming abstractions for application domains where there are interesting algorithms to be designed. Consider any property of the model of computation that the algorithm designer cares about. For example, this property could be \u201cA program can only read k items of a data stream at a time\u201d or \u201cA program can sample from certain probability distributions\u201d or even \u201cA program must terminate in polynomial time\u201d. Make sure that every program in the language actually satisfies this property.<\/li>\n<\/ul>\n<ul>\n<li><strong>Reasoning about programs.<\/strong> Consider any of those rich properties of algorithms that algorithms researchers like to prove. For each such property, there\u2019s a program analysis\/verification problem: show that a given program\/algorithm satisfies the property. Properties of interest could include bounds on the algorithm\u2019s complexity, optimality of the algorithm\u2019s output, approximate optimality, and bounds on the algorithm\u2019s probabilistic errors.<\/li>\n<\/ul>\n<ul>\n<li><strong>Compiler design. <\/strong>Design compiler transformations and optimizations that do not compromise guarantees developed at the algorithmic level, and instead preserve\u00a0them all the way to executable code.<\/li>\n<\/ul>\n<p>There are quite a few existing PL research efforts that can be said to fit this agenda. Examples include recent work by PL researchers on <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/dl.acm.org\/citation.cfm?id=2103670\">reasoning about statistical privacy<\/a>, <a href=\"https:\/\/fd.xuwubk.eu.org:443\/https\/www.easycrypt.info\/trac\/\">verification of cryptographic protocols<\/a>, and <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/research.microsoft.com\/en-us\/um\/people\/sumitg\/pubs\/pldi13-prob.pdf\">analysis of probabilistic programs<\/a>. In each of these cases, our community targeted an algorithmic application and extracted PL problems from them. I would like to see many more efforts like this, in areas ranging from biology to graphics to robotics to economics (disclosure: PL approaches to robotics and computational economics are two of my current research interests). The technical problems of interest in these areas are likely to be quantitative, which opens up possibilities of generalizing the qualitative techniques that PL researchers have traditionally used.<\/p>\n<p>There are also pedagogical benefits to a synthesis of PL and algorithms. For one, it would tie the undergraduate sequence of programming courses to undergraduate theory classes. An effort of this sort is CMU\u2019s two-course introduction to\u00a0functional programming\u00a0and algorithms (<a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.cs.cmu.edu\/~.\/15150\/\">15-150<\/a>\u00a0and <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.cs.cmu.edu\/~15210\/\">15-210<\/a>), which emphasizes the benefits of functional program abstractions while teaching algorithms and data structures. For another example, PL ideas are a natural fit for a theory of computation class. Today, the standard model of programs in a class on automata and computability is the Turing machine, which is far removed from the abstraction-rich programming languages in which students implement their algorithms. Complementing the Turing machine model with recursive functions and the lambda-calculus would partly bridge this gap. Finally, finite and pushdown automata are presented in undergrad automata theory using old-fashioned applications in parsing. These applications can and should be complemented with the use of automata in modern program verification, as models of software and hardware systems.<\/p>\n<p>All in all, it seems clear to me that bridging some of the gaps between PL and algorithms is both possible and desirable. Some encouraging steps in this direction have already been taken, but much more remains to be done. Perhaps the best way\u00a0to develop synergy between the fields is to create funding opportunities for research at their interface. Bob Harper&#8217;s <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.cs.cmu.edu\/~rwh\/papers\/secp\/secp.pdf\">recent NSF whitepaper<\/a>, which builds on the <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.cs.cmu.edu\/~rwh\/talks\/IU13.pdf\">talk<\/a>\u00a0of his that I mentioned earlier, is an example of an effort to mobilize such funding. A less ambitious goal is to create fora with representation from both communities. I personally can think of worse ways to spend a few days than hanging out with some algorithms researchers, hearing about recent exciting results in their field and thinking about their language-level analogs.<\/p>\n<p><em>[Note: This article has been edited since it was originally posted.]<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the computing stack, PL sits between algorithms and systems. Without algorithms to implement or computer systems to run them on, there would be no need for programming languages. However, the research communities that study algorithms, PL, and systems don\u2019t &hellip; <a href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[48,12,50],"tags":[],"class_list":["post-579","post","type-post","status-publish","format-standard","hentry","category-algorithms","category-education","category-research-directions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/fd.xuwubk.eu.org:443\/https\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bridging Algorithms and Programming Languages - The PL Enthusiast<\/title>\n<meta name=\"description\" content=\"This post discusses relationships between the areas of programming languages and algorithms, and argues that their synthesis could be valuable.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bridging Algorithms and Programming Languages - The PL Enthusiast\" \/>\n<meta property=\"og:description\" content=\"This post discusses relationships between the areas of programming languages and algorithms, and argues that their synthesis could be valuable.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/\" \/>\n<meta property=\"og:site_name\" content=\"The Programming Languages Enthusiast\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-25T13:04:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-09-26T15:50:36+00:00\" \/>\n<meta name=\"author\" content=\"Swarat Chaudhuri\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Swarat Chaudhuri\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/\"},\"author\":{\"name\":\"Swarat Chaudhuri\",\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/#\\\/schema\\\/person\\\/faca2c41cc8c164dd439a48f41eb8a3e\"},\"headline\":\"Bridging Algorithms and Programming Languages\",\"datePublished\":\"2014-09-25T13:04:46+00:00\",\"dateModified\":\"2014-09-26T15:50:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/\"},\"wordCount\":2303,\"commentCount\":15,\"articleSection\":[\"Algorithms\",\"Education\",\"Research directions\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/\",\"url\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/\",\"name\":\"Bridging Algorithms and Programming Languages - The PL Enthusiast\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/#website\"},\"datePublished\":\"2014-09-25T13:04:46+00:00\",\"dateModified\":\"2014-09-26T15:50:36+00:00\",\"author\":{\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/#\\\/schema\\\/person\\\/faca2c41cc8c164dd439a48f41eb8a3e\"},\"description\":\"This post discusses relationships between the areas of programming languages and algorithms, and argues that their synthesis could be valuable.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/2014\\\/09\\\/25\\\/algorithms-and-programming-languages\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bridging Algorithms and Programming Languages\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/#website\",\"url\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/\",\"name\":\"The Programming Languages Enthusiast\",\"description\":\"Developments in PL, and why they matter\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/#\\\/schema\\\/person\\\/faca2c41cc8c164dd439a48f41eb8a3e\",\"name\":\"Swarat Chaudhuri\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6053df3bd3c8df7c0aa17e8886273c653d164ea4228691d63e8a875761fdf8bc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6053df3bd3c8df7c0aa17e8886273c653d164ea4228691d63e8a875761fdf8bc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6053df3bd3c8df7c0aa17e8886273c653d164ea4228691d63e8a875761fdf8bc?s=96&d=mm&r=g\",\"caption\":\"Swarat Chaudhuri\"},\"sameAs\":[\"http:\\\/\\\/www.cs.rice.edu\\\/~swarat\"],\"url\":\"http:\\\/\\\/www.pl-enthusiast.net\\\/author\\\/swarat\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bridging Algorithms and Programming Languages - The PL Enthusiast","description":"This post discusses relationships between the areas of programming languages and algorithms, and argues that their synthesis could be valuable.","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:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/","og_locale":"en_US","og_type":"article","og_title":"Bridging Algorithms and Programming Languages - The PL Enthusiast","og_description":"This post discusses relationships between the areas of programming languages and algorithms, and argues that their synthesis could be valuable.","og_url":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/","og_site_name":"The Programming Languages Enthusiast","article_published_time":"2014-09-25T13:04:46+00:00","article_modified_time":"2014-09-26T15:50:36+00:00","author":"Swarat Chaudhuri","twitter_misc":{"Written by":"Swarat Chaudhuri","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/fd.xuwubk.eu.org:443\/https\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/#article","isPartOf":{"@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/"},"author":{"name":"Swarat Chaudhuri","@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/#\/schema\/person\/faca2c41cc8c164dd439a48f41eb8a3e"},"headline":"Bridging Algorithms and Programming Languages","datePublished":"2014-09-25T13:04:46+00:00","dateModified":"2014-09-26T15:50:36+00:00","mainEntityOfPage":{"@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/"},"wordCount":2303,"commentCount":15,"articleSection":["Algorithms","Education","Research directions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/","url":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/","name":"Bridging Algorithms and Programming Languages - The PL Enthusiast","isPartOf":{"@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/#website"},"datePublished":"2014-09-25T13:04:46+00:00","dateModified":"2014-09-26T15:50:36+00:00","author":{"@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/#\/schema\/person\/faca2c41cc8c164dd439a48f41eb8a3e"},"description":"This post discusses relationships between the areas of programming languages and algorithms, and argues that their synthesis could be valuable.","breadcrumb":{"@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/2014\/09\/25\/algorithms-and-programming-languages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/"},{"@type":"ListItem","position":2,"name":"Bridging Algorithms and Programming Languages"}]},{"@type":"WebSite","@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/#website","url":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/","name":"The Programming Languages Enthusiast","description":"Developments in PL, and why they matter","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/#\/schema\/person\/faca2c41cc8c164dd439a48f41eb8a3e","name":"Swarat Chaudhuri","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fd.xuwubk.eu.org:443\/https\/secure.gravatar.com\/avatar\/6053df3bd3c8df7c0aa17e8886273c653d164ea4228691d63e8a875761fdf8bc?s=96&d=mm&r=g","url":"https:\/\/fd.xuwubk.eu.org:443\/https\/secure.gravatar.com\/avatar\/6053df3bd3c8df7c0aa17e8886273c653d164ea4228691d63e8a875761fdf8bc?s=96&d=mm&r=g","contentUrl":"https:\/\/fd.xuwubk.eu.org:443\/https\/secure.gravatar.com\/avatar\/6053df3bd3c8df7c0aa17e8886273c653d164ea4228691d63e8a875761fdf8bc?s=96&d=mm&r=g","caption":"Swarat Chaudhuri"},"sameAs":["https:\/\/fd.xuwubk.eu.org:443\/http\/www.cs.rice.edu\/~swarat"],"url":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/author\/swarat\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/posts\/579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/comments?post=579"}],"version-history":[{"count":11,"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/posts\/579\/revisions"}],"predecessor-version":[{"id":617,"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/posts\/579\/revisions\/617"}],"wp:attachment":[{"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/media?parent=579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/categories?post=579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fd.xuwubk.eu.org:443\/http\/www.pl-enthusiast.net\/wp-json\/wp\/v2\/tags?post=579"}],"curies":[{"name":"wp","href":"https:\/\/fd.xuwubk.eu.org:443\/https\/api.w.org\/{rel}","templated":true}]}}