{"id":20587,"date":"2016-05-12T17:07:43","date_gmt":"2016-05-12T21:07:43","guid":{"rendered":"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/"},"modified":"2022-03-04T22:48:02","modified_gmt":"2022-03-05T03:48:02","slug":"open-source-at-bloomberg-introducing-bucklescript","status":"publish","type":"post","link":"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/","title":{"rendered":"Open Source at Bloomberg: Introducing BuckleScript"},"content":{"rendered":"<div class='bbg-row bbg-bg--white  bbg-row--margin-top-none bbg-row--margin-bottom-none' data-anchor='row-6a0afa811e1a5'>\n  \n\t\n\t\n\t<div class=\"bbg-row--content\">\n\t\t\n\t\t\t<div class='bbg-column bbg-column--width-8 bbg-column--offset-2'>\n\t<div class='bb-wysiwyg'>\n    \n    <p>A few months ago we published a new open source project on <a href=\"https:\/\/github.com\/bloomberg\/bucklescript\">GitHub<\/a> relating to OCaml \u2014 a programming language that is being used to create new tools and has recently gained interest in the web community. For example, Facebook\u2019s <a href=\"https:\/\/github.com\/facebook\/flow\">flow<\/a>\u00a0project is written in OCaml.<\/p>\n<p>Publishing this project surprisingly generated a whirlwind of interest for our efforts and to date it has received nearly 650 Stars, 30 Forks and 50 Watches.<\/p>\n<p>We currently use OCaml in an advanced financial derivatives risk management application delivered through the Bloomberg Terminal. Because Bloomberg heavily uses JavaScript to deliver much of what makes the Bloomberg Terminal so unique, we decided to research and prototype a novel way to integrate OCaml in the JavaScript ecosystem.<\/p>\n<p>The result is BuckleScript \u2013 which provides a unique backend for <a href=\"https:\/\/ocaml.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">OCaml<\/a>. We believe it has a lot to offer both the OCaml and JavaScript communities, and we are excited about sharing this project with the open source community.<\/p>\n\n<\/div>\n<figure class=\"image-figure image-figure--has-small-image\" data-animation=\"\">\n    <img loading=\"lazy\" decoding=\"async\" width=\"341\" height=\"430\" src=\"https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg\" class=\"attachment-full size-full image-figure__image image-figure__image--primary\" alt=\"\" srcset=\"https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg 341w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg 238w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg 135w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg 111w\" sizes=\"(max-width: 341px) 100vw, 341px\" \/><img loading=\"lazy\" decoding=\"async\" width=\"341\" height=\"430\" src=\"https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg\" class=\"attachment-full size-full image-figure__image image-figure__image--small\" alt=\"\" srcset=\"https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg 341w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg 238w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg 135w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&amp;type=webp&amp;url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-e1461867807965.jpg 111w\" sizes=\"(max-width: 341px) 100vw, 341px\" \/>\n    \n<\/figure>\n<div class='bb-wysiwyg'>\n    \n    <p>Several key JavaScript and OCaml community members have already provided crucial information which impacted the direction of this project. That is why we invite all interested developers to visit <a href=\"https:\/\/github.com\/bloomberg\/bucklescript\">GitHub<\/a>, take a look at BuckleScript and provide us any feedback or comments.<\/p>\n<p>We are not currently using BuckleScript on the Terminal, but stay tuned\u2026<\/p>\n\n<\/div>\n\n<\/div>\n\n\n\t\t\n\t<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"A few months ago we published a new open source project on GitHub relating to OCaml \u2014 a programming language that is being used to create new tools and has recently gained interest in the web community. For example, Facebook\u2019s flow\u00a0project is written in OCaml. Publishing this project surprisingly generated a whirlwind of interest for [...]","protected":false},"author":313,"featured_media":20317,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1466],"tags":[1490,1464],"class_list":["post-20587","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-at-bloomberg","tag-javascript","tag-open-source"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Open Source at Bloomberg: Introducing BuckleScript | Bloomberg LP<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Open Source at Bloomberg: Introducing BuckleScript | Bloomberg LP\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/\" \/>\n<meta property=\"og:site_name\" content=\"Bloomberg L.P.\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bloomberglp\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-12T21:07:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-05T03:48:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-feature-image.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"345\" \/>\n\t<meta property=\"og:image:height\" content=\"201\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"akelber5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-feature-image.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@bloomberg\" \/>\n<meta name=\"twitter:site\" content=\"@bloomberg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"akelber5\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/\",\"url\":\"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/\",\"name\":\"Open Source at Bloomberg: Introducing BuckleScript | Bloomberg LP\",\"isPartOf\":{\"@id\":\"https:\/\/www.bloomberg.com\/company\/#website\"},\"datePublished\":\"2016-05-12T21:07:43+00:00\",\"dateModified\":\"2022-03-05T03:48:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.bloomberg.com\/company\/#\/schema\/person\/09c9e1a38b7f345ce5c0b4bbde1656a6\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":\"1\",\"name\":\"Home\",\"item\":\"https:\/\/www.bloomberg.com\/company\/\"},{\"@type\":\"ListItem\",\"position\":\"2\",\"name\":\"Open Source at Bloomberg: Introducing BuckleScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bloomberg.com\/company\/#website\",\"url\":\"https:\/\/www.bloomberg.com\/company\/\",\"name\":\"Bloomberg L.P.\",\"description\":\"Bloomberg L.P. is the leader in global business and financial information, enabling customers to make smarter, faster, more informed business decisions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bloomberg.com\/company\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.bloomberg.com\/company\/#\/schema\/person\/09c9e1a38b7f345ce5c0b4bbde1656a6\",\"name\":\"Bloomberg L.P.\",\"url\":\"https:\/\/www.bloomberg.com\/company\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Open Source at Bloomberg: Introducing BuckleScript | Bloomberg LP","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:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/","og_locale":"en_US","og_type":"article","og_title":"Open Source at Bloomberg: Introducing BuckleScript | Bloomberg LP","og_url":"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/","og_site_name":"Bloomberg L.P.","article_publisher":"https:\/\/www.facebook.com\/bloomberglp\/","article_published_time":"2016-05-12T21:07:43+00:00","article_modified_time":"2022-03-05T03:48:02+00:00","og_image":[{"width":345,"height":201,"url":"https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-feature-image.jpg","type":"image\/jpeg"}],"author":"akelber5","twitter_card":"summary_large_image","twitter_image":"https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-feature-image.jpg","twitter_creator":"@bloomberg","twitter_site":"@bloomberg","twitter_misc":{"Written by":"akelber5","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/","url":"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/","name":"Open Source at Bloomberg: Introducing BuckleScript | Bloomberg LP","isPartOf":{"@id":"https:\/\/www.bloomberg.com\/company\/#website"},"datePublished":"2016-05-12T21:07:43+00:00","dateModified":"2022-03-05T03:48:02+00:00","author":{"@id":"https:\/\/www.bloomberg.com\/company\/#\/schema\/person\/09c9e1a38b7f345ce5c0b4bbde1656a6"},"breadcrumb":{"@id":"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bloomberg.com\/company\/stories\/open-source-at-bloomberg-introducing-bucklescript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","name":"Home","item":"https:\/\/www.bloomberg.com\/company\/"},{"@type":"ListItem","position":"2","name":"Open Source at Bloomberg: Introducing BuckleScript"}]},{"@type":"WebSite","@id":"https:\/\/www.bloomberg.com\/company\/#website","url":"https:\/\/www.bloomberg.com\/company\/","name":"Bloomberg L.P.","description":"Bloomberg L.P. is the leader in global business and financial information, enabling customers to make smarter, faster, more informed business decisions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bloomberg.com\/company\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.bloomberg.com\/company\/#\/schema\/person\/09c9e1a38b7f345ce5c0b4bbde1656a6","name":"Bloomberg L.P.","url":"https:\/\/www.bloomberg.com\/company"}]}},"featured_image_rendered":"<img srcset='https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&type=webp&url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-feature-image.jpg 345w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&type=webp&url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-feature-image.jpg 300w, https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&type=webp&url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-feature-image.jpg 140w' src='https:\/\/assets.bbhub.io\/image\/v1\/resize?width=auto&type=webp&url=https:\/\/assets.bbhub.io\/company\/sites\/51\/2016\/05\/bucklescript-feature-image.jpg' alt='' \/>","category_info":{"name":"Tech At Bloomberg","blog_landing_name":"Tech At Bloomberg"},"_links":{"self":[{"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/posts\/20587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/users\/313"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/comments?post=20587"}],"version-history":[{"count":1,"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/posts\/20587\/revisions"}],"predecessor-version":[{"id":21777,"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/posts\/20587\/revisions\/21777"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/media\/20317"}],"wp:attachment":[{"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/media?parent=20587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/categories?post=20587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bloomberg.com\/company\/wp-json\/wp\/v2\/tags?post=20587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}