• News | Home
  • Sports
    • Cricket
      • Cricket News
      • Cricket Videos
      • IPL -2020
      • T-10 Cricket
    • Soccer
      • Soccer News
      • Soccer Videos
  • World News
    • Australia
    • Canada
    • India
    • New Zealand
    • UK
    • USA
  • Technology
    • Innovations
    • Tech Videos
  • हिंदी समाचार
    • बड़ी ख़बर
    • विदेश
    • करियर
    • बॉलीवुड
    • खेल
  • Contact Us
T-TEN WORLD NEWS
  • News | Home
  • Sports
    • Cricket
      • Cricket News
      • Cricket Videos
      • IPL -2020
      • T-10 Cricket
    • Soccer
      • Soccer News
      • Soccer Videos
  • World News
    • Australia
    • Canada
    • India
    • New Zealand
    • UK
    • USA
  • Technology
    • Innovations
    • Tech Videos
  • हिंदी समाचार
    • बड़ी ख़बर
    • विदेश
    • करियर
    • बॉलीवुड
    • खेल
  • Contact Us
No Result
View All Result
  • News | Home
  • Sports
    • Cricket
      • Cricket News
      • Cricket Videos
      • IPL -2020
      • T-10 Cricket
    • Soccer
      • Soccer News
      • Soccer Videos
  • World News
    • Australia
    • Canada
    • India
    • New Zealand
    • UK
    • USA
  • Technology
    • Innovations
    • Tech Videos
  • हिंदी समाचार
    • बड़ी ख़बर
    • विदेश
    • करियर
    • बॉलीवुड
    • खेल
  • Contact Us
No Result
View All Result
T-TEN WORLD NEWS
No Result
View All Result
Home Technology Innovations

The future of programming languages: What to expect in this new Infrastructure as Code world

admin by admin
November 10, 2020
in Innovations
0
The future of programming languages: What to expect in this new Infrastructure as Code world
0
SHARES
1
VIEWS
Share on FacebookShare on Twitter


Commentary: New declarative programming languages like HCL and Polar might just be the perfect way to boost productivity with IaC.

Programmer in front of monitor

Image: DragonImages, Getty Images/iStockphoto

There are a lot of programming languages–over 700, as Wikipedia lists them. And yet, we arguably don’t have nearly enough programming languages. Not since cloud upended the way applications get built. 

Must-read developer content

Developers are moving away from managing physical servers to calling APIs that touch storage, compute, and networking resources. In turn, developers are trying to automate everything as code through static configurations, scripts, and files. Such automation would be easier if developers had programming languages that matched the task at hand, but they don’t. So, using a general purpose language like Java, a developer might invest thousands of lines of code to try to express business logic…and mostly fail. 

To solve for this, we’re seeing companies like HashiCorp (HCL) and oso (Polar) release special-purpose declarative languages. Even at the risk of programming language proliferation, this feels like the right way forward: Purpose-built instead of general-purpose languages. However, we’re likely to see many of these programming languages rise and fall before we settle into a useful set of standard declarative languages.

SEE: Top 5 programming languages for systems admins to learn (free PDF) (TechRepublic)

Functional declarative programming languages: What’s old is new again

The irony is that the “novel” approach taken by special-purpose declarative languages really isn’t very novel. Years ago, programming languages split between functional (declarative) programming languages like Lisp and imperative programming languages like C. While the latter dominated for decades, functional declarative languages are making a comeback, said Jared Rosoff in an interview, a software executive who has built product at VMware, MongoDB, and more. 

“Imperative languages were better suited to encoding business logic for apps,” Rosoff noted. “But in Infrastructure as Code [IoC], the world isn’t imperative. It’s rule-driven. And this world gets much easier when we change out the languages we use to program it.” 

Even Polar, a declarative logic programming language specialized for making authorization decisions and tightly integrating with an application’s native language, really isn’t new. As Sam Scott, cofounder and CTO of oso, suggested in an interview, Polar has its roots in Prolog, which was developed way back in 1972, yet has the feel of imperative languages like Python. (Here’s an example of what Polar looks like.) This is important because it’s difficult to encode authorization logic in traditional, general-purpose programming languages. Doing so in a declarative language like Polar is more expressive and concise–think “tens of lines of code” instead of “thousands of lines of code.” 

And yet, many will question whether creating new programming languages is the right approach. How many do we really need? The short answer is “more.” Here’s the longer answer.

Why can’t I just use [insert favorite programming language here]?

While we still use COBOL and other older programming languages, we also keep inventing new languages, each with its own advantages and disadvantages. For example, we have Rust and C++ for low-level, performance-sensitive systems programming (with Rust adding the benefit of safety); Python and R for machine learning, data manipulation, and more; and so on. Different tools for different needs.

But as we move into this Everything-as-Code world, why can’t we just keep using the same programming languages? After all, wouldn’t it be better to use the Ruby you know (with all its built-in tooling) rather than starting from scratch? 

The answer is “no,” as Graham Neray, cofounder and CEO of oso, told me. Why? Because there is often a “mismatch between the language and the purpose.” These general-purpose, imperative languages “were designed for people to build apps and scripts from the ground up, as opposed to defining configurations, policies, etc.” 

Further, mixing declarative tools with an imperative language doesn’t make things any easier to debug. Consider Pulumi, which bills itself as an “open source infrastructure-as-code SDK [that] enables you to create, deploy, and manage infrastructure on any cloud, using your favorite languages.” Sounds awesome, right? 

Unfortunately, while the program may be executed, this is simply used to build a data structure for Pulumi to feed into its engine, which operates in a more declarative way (i.e., take the data structure, diff it with the current infrastructure state, and apply changes). Although existing language tools exist (e.g., JavaScript debuggers), they aren’t very useful because debugging Pulumi would require an intimate knowledge of that codebase. The Pulumi engine is still very opaque and tough to debug. This isn’t a critique of Pulumi–it’s just indicative of the problems inherent in trying to apply existing, imperative languages to Everything-as-Code.

SEE: Python is eating the world: How one developer’s side project became the hottest programming language on the planet (cover story PDF) (TechRepublic)

The same problem crops up when trying to skirt the issue with data as config. This is a bit like using an existing language (Hey! I already know JSON…). As Scott explained, to make this approach work, a vendor typically needs to dress up the data format with conditions or custom rules (e.g., GitHub Actions) to make it work for the use case. Or maybe they use templating (e.g., Helm or how Ansible uses Jinja2). Plus, while the appeal often starts with the data format being human readable, the “files have a nasty habit of getting long and unwieldy,” he said, leading to posts like this and this and this and this.

This brings us back to declarative programming languages.

Declaring a purpose-built future for programming languages

Declarative languages like Polar and HCL are great for use cases like configuration because they allow you to just declare what you want the world to look like and not have to worry about what you need to do to make that happen. The downside is that it’s new: New learning curve, new need to build out an ecosystem of tools around it, etc. It’s still early for declarative programming languages, but that’s ok–it’s also still early for our Everything-as-Code world. 

And while declarative programming languages aren’t perfect, they offer significant benefits over imperative programming languages, as iRobot’s Ben Kehoe called out. Over the next few years, I suspect we’ll see declarative programming languages proliferate, with the industry standardizing around those that do best at making themselves accessible to newbies through tooling and approachability (e.g., embracing a familiar syntax). If “developers are the new kingmakers,” it’s time for the declarative programming language designers to start crowning some new kings.

Disclosure: I work for AWS, but the views expressed herein are mine.

article NLSthumb

Developer Essentials Newsletter

From the hottest programming languages to the jobs with the highest salaries, get the developer news and tips you need to know.
Weekly



Sign up today

Also see





Source link

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)

Like this:

Like Loading...

Disclaimer: This story is auto-aggregated by a computer program and has not been created or edited by T-10worldnews. Publisher: admin

Previous Post

Trump has not yet announced his innings in America, on the other hand, Biden proceeded on his plan of change of power – अमेरिका में ट्रंप ने अभी घोषित नहीं की है पारी, उधर, सत्ता बदलाव की अपनी योजना पर आगे बढ़े बाइडन | T-10 NEWS

Next Post

Telangana CM announces Rs 50 lakh for martyred jawan’s family – कश्‍मीर में आतंकी अभियान में शहीद जवान के परिजनों को 50 लाख की मदद देगी तेलंगाना सरकार | T-10 NEWS

admin

admin

Next Post
Telangana CM announces Rs 50 lakh for martyred jawan’s family – कश्‍मीर में आतंकी अभियान में शहीद जवान के परिजनों को 50 लाख की मदद देगी तेलंगाना सरकार | T-10 NEWS

Telangana CM announces Rs 50 lakh for martyred jawan’s family - कश्‍मीर में आतंकी अभियान में शहीद जवान के परिजनों को 50 लाख की मदद देगी तेलंगाना सरकार | T-10 NEWS

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Discover Top Career Opportunities Abroad Register Now !

https://t-10worldnews.com/wp-content/uploads/2019/12/StudyHeights_NextGenEd.mp4
  • Trending
  • Comments
  • Latest
Sony PS5: Here’s where you can still buy the next-gen PlayStation today on launch day

PS5 restock: Here’s where and how to buy a PlayStation 5 this week

December 2, 2020
Xbox Series X restock for Cyber Monday: Where to buy the next-gen gaming system

Xbox Series X restock for Cyber Monday: Where to buy the next-gen gaming system

November 28, 2020
Xbox Series X and Series S restock: Where to buy this week

Xbox Series X and Series S restock: Where to buy this week

December 3, 2020
Australia vs India 2020-21 – Rohit Sharma joins India squad after two-week quarantine | T-10 NEWS

Australia vs India 2020-21 – Rohit Sharma joins India squad after two-week quarantine | T-10 NEWS

December 30, 2020
Herald afternoon quiz: January 1 | T-10 NEWS

Herald afternoon quiz: January 1 | T-10 NEWS

1
3 tips for entering text on a smartphone

3 tips for entering text on a smartphone

1
How to install the Podman container engine on CentOS 8

How to install the Podman container engine on CentOS 8

1
Coronavirus in Canada: What are the next steps to contain the disease here?

Coronavirus in Canada: What are the next steps to contain the disease here?

1
Covid 19 coronavirus: Jacinda Ardern – New Zealand’s borders likely to remain closed to most of the world all year | T-10 NEWS

Covid 19 coronavirus: Jacinda Ardern – New Zealand’s borders likely to remain closed to most of the world all year | T-10 NEWS

January 26, 2021
Recent Match Report – H. Pradesh vs Tamil Nadu 2nd quarter final 2020/21 | T-10 NEWS

Recent Match Report – H. Pradesh vs Tamil Nadu 2nd quarter final 2020/21 | T-10 NEWS

January 26, 2021
Recent Match Report – SA Women vs PAK Women 3rd ODI 2020/21 | T-10 NEWS

Recent Match Report – SA Women vs PAK Women 3rd ODI 2020/21 | T-10 NEWS

January 26, 2021
India v England, 2020-21 – Moeen Ali, Ollie Pope in line for India Test recalls, says head coach Chris Silverwood | T-10 NEWS

India v England, 2020-21 – Moeen Ali, Ollie Pope in line for India Test recalls, says head coach Chris Silverwood | T-10 NEWS

January 26, 2021

Recent News

Covid 19 coronavirus: Jacinda Ardern – New Zealand’s borders likely to remain closed to most of the world all year | T-10 NEWS

Covid 19 coronavirus: Jacinda Ardern – New Zealand’s borders likely to remain closed to most of the world all year | T-10 NEWS

January 26, 2021
Recent Match Report – H. Pradesh vs Tamil Nadu 2nd quarter final 2020/21 | T-10 NEWS

Recent Match Report – H. Pradesh vs Tamil Nadu 2nd quarter final 2020/21 | T-10 NEWS

January 26, 2021
Recent Match Report – SA Women vs PAK Women 3rd ODI 2020/21 | T-10 NEWS

Recent Match Report – SA Women vs PAK Women 3rd ODI 2020/21 | T-10 NEWS

January 26, 2021
India v England, 2020-21 – Moeen Ali, Ollie Pope in line for India Test recalls, says head coach Chris Silverwood | T-10 NEWS

India v England, 2020-21 – Moeen Ali, Ollie Pope in line for India Test recalls, says head coach Chris Silverwood | T-10 NEWS

January 26, 2021
T-TEN WORLD NEWS

Visitors

0319429
Visit Today : 188
Visit Yesterday : 639

Follow Us

Browse by Category

  • Apps
  • Business
  • Canada
  • Cricket
  • Cricket Videos
  • Entertainment
  • Fashion
  • Food
  • Gadget
  • Gaming
  • Health
  • Innovations
  • IPL -2020
  • Lifestyle
  • Mobile
  • Movie
  • Music
  • New Zealand
  • News
  • Politics
  • Review
  • Science
  • Soccer
  • Soccer Videos
  • Sports
  • Startup
  • Tech
  • Tech Videos
  • Travel
  • Uncategorized
  • World
  • World News
  • खेल
  • बड़ी ख़बर

Recent News

Covid 19 coronavirus: Jacinda Ardern – New Zealand’s borders likely to remain closed to most of the world all year | T-10 NEWS

Covid 19 coronavirus: Jacinda Ardern – New Zealand’s borders likely to remain closed to most of the world all year | T-10 NEWS

January 26, 2021
Recent Match Report – H. Pradesh vs Tamil Nadu 2nd quarter final 2020/21 | T-10 NEWS

Recent Match Report – H. Pradesh vs Tamil Nadu 2nd quarter final 2020/21 | T-10 NEWS

January 26, 2021
Recent Match Report – SA Women vs PAK Women 3rd ODI 2020/21 | T-10 NEWS

Recent Match Report – SA Women vs PAK Women 3rd ODI 2020/21 | T-10 NEWS

January 26, 2021
  • News | Home
  • Sports
  • World News
  • Technology
  • हिंदी समाचार
  • Contact Us

© 2020 t-10worldnews.com

No Result
View All Result
  • News | Home
  • Sports
    • Cricket
      • Cricket News
      • Cricket Videos
      • IPL -2020
      • T-10 Cricket
    • Soccer
      • Soccer News
      • Soccer Videos
  • World News
    • Australia
    • Canada
    • India
    • New Zealand
    • UK
    • USA
  • Technology
    • Innovations
    • Tech Videos
  • हिंदी समाचार
    • बड़ी ख़बर
    • विदेश
    • करियर
    • बॉलीवुड
    • खेल
  • Contact Us

© 2020 t-10worldnews.com

%d bloggers like this: