Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Open Source Microsoft Programming

Microsoft Launches Power Fx, a New Open Source Low-Code Language (techcrunch.com) 86

Microsoft today announced Power Fx, a new low-code language that "will become the standard for writing logic customization across Microsoft's own low-code Power Platform," reports TechCrunch. "[S]ince the company is open-sourcing the language, Microsoft also hopes others will implement it as well and that it will become the de facto standard for these kinds of use cases." From the report: Microsoft says the language was developed by a team led by Vijay Mital, Robin Abraham, Shon Katzenberger and Darryl Rubin. Beyond Excel, the team also took inspiration from tools and languages like Pascal, Mathematica and Miranda, a functional programming language developed in the 1980s. Microsoft plans to bring Power Fx to all of its low-code platforms, but given the focus on community, it'll start making appearances in Power Automate, Power Virtual Agents and elsewhere soon.

But the team clearly hopes that others will adopt it as well. Low-code developers will see it pop up in the formula bars of products like Power Apps Studio, but more sophisticated users will also be able to use it to go to Visual Studio Code and build more complex applications with it. As the team noted, it focused on not just making the language Excel-like but also having it behave like Excel -- or like a REPL, for you high-code programmers out there. That means formulas are declarative and instantly recalculate as developers update their code.

This discussion has been archived. No new comments can be posted.

Microsoft Launches Power Fx, a New Open Source Low-Code Language

Comments Filter:
  • Looks like this is the language for me!

    • It's literally an advanced Excel-like platform [microsoft.com]. Scroll down to look at the screenshots.

      The language is mostly functional and aimed at people who know Excel, but want to do a little more. The language is better than Visual Basic, but not as good as . [zerobugsan...faster.net]

      • Ah, thankyou for explaining what "a new low-code language that will become the standard for writing logic customization across Microsoft's own low-code Power Platform" is, because I'm buggered if I can tell what it is they're introducing based on the article summary.
        • When I read the summary somehow I read that it was a "low-power language" like it wouldn't take much battery power.

          I could not figure out what a low-power language would look like. Maybe event based with interrupts? Turns out it actually is event-based (from what I can see) but definitely not low-power. It looks like a power hog.

    • by gweihir ( 88907 )

      Indeed. The language for people that have a high pain-threshold with regards to barely usable simple mechanisms, but a very low one with regards to well-designed mechanisms that need some understanding of larger concepts to use them.

    • I've actually always wanted to program using spreadsheet-like formulas (it's called Functional Reactive Programming), and I'm going to take a look at this language.

  • The VP or whatever of this travesty nods his head sagely in the article and confers upon his deep knowledge:

    We have this long history of programming languages and something really interesting happened over the last 15 years, which is programming languages became free, they became open source and they became community-driven

    15 years?? I know this guy is literally 12 years old, but I'm fairly certain open source existed way longer than that. Where do they find these people??

    • Let's follow Microsoft's lead, and "embrace and extend" it.
    • He is not saying that open source compilers and interpreters are a new thing.

      He is saying that in the last 15 years, they have become nearly universal.

      Few popular languages are "owned" by a corporation anymore. MATLAB is owned by MathWorks, and for some inexplicable reason, there are some people who still use it. Java is sorta owned by Oracle, but Oracle's control is slipping.

      I can't think of any other proprietary languages in common use. Other popular languages are open source and based on open standard

      • Oracle seems to be sinking its claws deeper into java over time. At least, the latest versions of java seem to be proprietary. Though imo, java is on its way out -- not that it's dying (programming languages never really die) but there isn't much of a reason to start a new project in java anymore.

      • by gweihir ( 88907 )

        I can't think of any other proprietary languages in common use. Other popular languages are open source and based on open standards.

        That is as it should be. At some point, the design of a technology becomes "infrastructure" and must be generally available with no cost or restrictions. Because too many proprietary vendors have abused their position shamelessly in the past, even exceptionally conservative structures like large banks understand that now. Oracle is a primary offender here, and _everybody_ sane is trying to get rid of them.

    • Well, you're only looking at the entries next to Microsoft on this list of compilers [wikipedia.org] it's easy to think that everyone does proprietary compilers. Seriously, all but 2 of Microsoft's compiler products are proprietary, and that's because those are the freeware versions. One exception that I see is Roslyn which is labeled as '.NET Foundation' so I might be missing a few Microsoft products.

  • Better overview (Score:5, Informative)

    by stikves ( 127823 ) on Tuesday March 02, 2021 @06:39PM (#61117866) Homepage

    Better overview at actual Microsoft site:
    https://docs.microsoft.com/en-... [microsoft.com]

    It looks like an extension of EXCEL formulas in a yaml structure. This gives a hierarchical model (like object trees) instead of rows of cells. Actually this makes sense for quick analysis sessions and more readable syntax.

    Overall a nice bonus for business applications. Say what you want, however Office (and Excel) scripting has been very helpful.

    • Say what you want, however Office (and Excel) scripting has been very helpful.

      I hate to admit it, but yes, scripting in Excel can be damn useful and a huge time saver. The scripting is actually one of its coolest features despite it not being used much.

    • Isn't this just a byproduct of data analysis tools not being able to keep up with data analysis demands and full-on programming being something of a bottleneck, either in terms of available human resources or simply the time to produce a program to do the work?

      There has to be some way for the data analysis tools to be extended in an ad-hoc way to solve specific problems in a way that's less resource intensive that full blown programming.

      I kind of wonder whatever happened to the idea of visual programming, d

    • by Anonymous Coward

      Thanks for the direct link.

      It also avoids the abusive guce.advertising.com used by TechCrunch.

    • Does the new Power Fx formula language allow creating User Defined Functions like the Excel formula language's new Lambda [microsoft.com] function does? If it doesn't, can it be considered a scripting language if it isn't Turing complete [slashdot.org]?
  • by algaeman ( 600564 ) on Tuesday March 02, 2021 @06:46PM (#61117888)
    Ogg make robot kill! =KILL("Tor", $B$117) Ogg not believe Microsoft hype! Ogg just simple caveman does not understand your complex scripting.
  • Low-code/no-code.

    Cortana, write me an OS.

  • by ZeroPly ( 881915 ) on Tuesday March 02, 2021 @06:53PM (#61117906)
    But this is a good idea. There haven't been any new languages created in the last 8 minutes or so, therefore there's definitely a vacuum looking to be filled. And with Microsoft's proven track record in reliability and product planning, this is a no-brainer!
  • "Open-source" ?? (Score:4, Insightful)

    by l2718 ( 514756 ) on Tuesday March 02, 2021 @07:19PM (#61117980)

    I understand what an open-source computer program is. You can have an open-source compiler or interpreter, for example. But what would an open source language be?

    The specification of a programming language was always thought to be in the public domain: a kind of fact. So gcc is open-source but the C programming language itself isn't. Nice for MS to release the specification for their language, but they shouldn't attach the moniker "open-source".

    • by vakuona ( 788200 ) on Tuesday March 02, 2021 @07:24PM (#61117996)

      Maybe ask Google what they are being sued for by Oracle?

    • by jma05 ( 897351 )

      An open source programming language is a programming language with the reference implementation released under an open source license.

      • Might be better to say open-specification. Open-source at this point is being overloaded and causing confusion.

        • by jma05 ( 897351 )

          You can have open source code with no formal specification (without getting into code is specification line of reasoning).
          You can have specifications with no implementation at all.
          You can have open specs with proprietary implementations.
          There could be proprietary specs that allow open implementations.

    • by gtall ( 79522 )

      An open source language is a language sprinkled with Magic Pixie Marketing Dust. It can thereby be trumpeted as "groundbreaking" and "receiving serious outside attention".

      No marketers were sacrificed by being throttled with their own souls in the announcement of the new language.

    • by gweihir ( 88907 )

      That would be a "free" language, not an "open source" one. I guess the writers of that article either did not understand that or thought the distinction was too subtle for the readers. You know, OSS is nice, but what you really need is FOSS.

      The Git-link seems to support that. The docs carry an MIT License.

  • Bring back 8K BASIC.
  • Three decades on, management believes Visicalc, Wordstar or Excel(Version 2456?) can do the lot. And make no mistake, shared uber spreadsheets run more things than anyone realizes or admits. Microsoft failed to get on mobile phones, so it makes sense to try Excel on steroids back on decision makers phones and in their face. Only MS since Excel that ran on floppies, has successfully marketed since JET and Access, and Infopath.
    • by colfer ( 619105 )

      LibreOffice's weak point (still?). And Google Docs?

      • by ytene ( 4376651 )
        It never came to pass, but maybe 4-5 years ago [perhaps a bit longer] didn’t Microsoft announce that Access was to be dropped, with the functionality being ported to Excel?

        They talked about the way that Excel’s internal structure and efficiency were developing rapidly and it read [to me at least] as though there was a certain degree of competition between two MS teams of developers (one for each application) that were vying for support from the MS upper management and for which the Excel team
      • by gweihir ( 88907 )

        LibreOffice has Python as scripting (among other things). With the Python creator now working for MS, that could happen for Excel too.

  • as expected.

    Pardon my cynicism but given Microsoft's history I feel justified in my distrust. Even though Gates is no longer personally at the helm Microsoft's course has held true all these years regardless of who is at the wheel.

    • by Entrope ( 68843 )

      What do you think they are embracing and extending here? Excel? YAML? They're sure not extending the idea of programming language or no-code environments. They are promoting their solution as good in that space, but that's what all business do. In a way, this is an effort to stay competitive, before a competitor like Google comes up with a better way to integrate low-code automation or scripting into "office productivity" apps and eats their lunch.

  • If I was Google, I would adopt this language to be used in both Google Sheet and Google Docs. Same applies to Salesforce adopting this for Tableau since a lot of people use Tableau as sort of Excel on steroid. Personally I do not like both yaml and Excel functional formula. It is pain to modify.
  • You've all heard the adage/joke, right? "That's the nice thing about Standards - there are so many to choose from!"

    Back in November 2017, in response to a Slashdot post covering a story that Eric Raymond saw three viable alternatives to the C programming language, I wrote a post which I titled "The Problem With Me-Too Languages" [slashdot.org].

    I think part of that post might be useful in this discussion:-

    "So whilst I'm always interested in learning about developments in programming language design, I think it hel
    • Sorry, I'd like to add a footnote to the above.

      If we think about the evolution of the generic "word processor" from the earliest days, particularly if we consider examples than have existed for many years (let's take Microsoft's Word as an example), we see that the program has evolved beyond all recognition:-

      - WYSIWYG added when it became "Word for Windows"
      - Addition of VBA
      - Support for Open file formats [cough] like ODT
      - Multi-Language support
      - etc.

      Each time a major new requirement for Word ca
      • Or one could ask why is it that the more revolutionary the next new language is the more essential C becomes?
        • by ytene ( 4376651 )
          Yeah, but whatever you do, don't point out to the office evangelist that their shiny new programming language was written in C. That really upsets them.
    • I appreciated your final comments.

      Any line of code that makes it to Production is technical debt, regardless of how "new" the technology is.

      When it comes to legacy replacement I like to ask how many person-years of development are sunk into the system? Assume 60-75% of that cost to replace. And risk, add 1% per person-year as the chance of some level of failure (including complete failure).

      I've been expecting Cobol and other legacy jobs to see pay spikes due to lack of talent as people retire. What's hap

      • by ytene ( 4376651 )
        I don't have very much experience of working with large AD Teams, which is to say that all my experience with AD Teams has been earned within just two organizations.

        But one observation that I would make would be that with Developers as a subset of the broader community of technologists, I've found them to be among the earliest of early-adopters; a community of people who love new and emerging technologies. This flows through to the workplace and results in the idea that the moment a new (language/IDE/too
  • After Ballmer hated it so much.

    Simple: It's another way to gain industry control!

    Instead of Embrace, Extend, Extinguish, you simply start with the extend step, by making your own, and then /just TELL everybody to adopt your trap/. ^^

    Let's see if people are that stupid....
    (At least the kids who are too young to know MS and watch them closely (because they still do it), may be. But that is inexperience, not stupidity.)

    • After Ballmer hated it so much.

      Open Source was impractical for industrial use back then. Think of it. The Linux development cycle (even though not open source is still a good example) was getting over 70k patch submissions per release just to hunt through that mess for 3k-5k patches of workable code? That efficiency threshold is unworkable.

      • Open Source was impractical for industrial use back then. Think of it. The Linux development cycle (even though not open source is still a good example) was getting over 70k patch submissions per release just to hunt through that mess for 3k-5k patches of workable code? That efficiency threshold is unworkable.

        And yet it still absolutely fucking dominated windows in the server market. That didn't just happen last week, you know.

        • Now? The most productive servers in the market are steadily moving most (much) activity to Azure VM's or or even better, Linux VM's on Azure? There is no doubt in my mind that Open Source was the strategy to pin everyone's even most boldest hopes and ideas to. And Gates and Ballmer said that over and over. But to have an existing commercial product then simply start converting whole sections or most likely all of your project to open source (and at the time there was no legal definition of "partially" OS)?
          • But to have an existing commercial product then simply start converting whole sections or most likely all of your project to open source (and at the time there was no legal definition of "partially" OS)? That was just asking too much.

            Several companies were able to do it because their codebase was already portable, like when we got Wordperfect Office for Linux. It wasn't asking too much of a competent development team.

          • Are you sure they are even linux and not some WSL containerized thingies half the time?

            • The WSL subsystem is just the VM concept that most users are moving to I think. I would call it linux, but I'm a person who believes systemd is linux as well. Call it process virtualization of sorts? I mean what percentage of users not in some development action will actually need a fully deployed root partitioned install of linux to be productive?
    • If it's real OSS, they control nothing because it can be forked.

      If it can't be forked, it's not real OSS

  • Looks impressive. I wonder if you can break out and do something like I donno, create custom HTMLlike or ASPlike expressions?

"The vast majority of successful major crimes against property are perpetrated by individuals abusing positions of trust." -- Lawrence Dalzell

Working...