Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
AI Programming Android Microsoft

Copilot Can't Beat a 2013 'TouchDevelop' Code Generation Demo for Windows Phone 18

What happens when you ask Copilot to "write a program that can be run on an iPhone 16 to select 15 random photos from the phone, tint them to random colors, and display the photos on the phone"?

That's what TouchDevelop did for the long-discontinued Windows Phone in a 2013 Microsoft Research 'SmartSynth' natural language code generation demo. ("Write scripts by tapping on the screen.")

Long-time Slashdot reader theodp reports on what happens when, 14 years later, you pose the same question to Copilot: "You'll get lots of code and caveats from Copilot, but nothing that you can execute as is. (Compare that to the functioning 10 lines of code TouchDevelop program). It's a good reminder that just because GenAI can generate code, it doesn't necessarily mean it will generate the least amount of code, the most understandable or appropriate code for the requestor, or code that runs unchanged and produces the desired results.
theodp also reminds us that TouchDevelop "was (like BASIC) abandoned by Microsoft..." Interestingly, a Microsoft Research video from CS Education Week 2011 shows enthusiastic Washington high school students participating in an hour-long TouchDevelop coding lesson and demonstrating the apps they created that tapped into music, photos, the Internet, and yes, even their phone's functionality. This shows how lacking iPhone and Android still are today as far as easy programmability-for-the-masses goes. (When asked, Copilot replied that Apple's Shortcuts app wasn't up to the task).

Copilot Can't Beat a 2013 'TouchDevelop' Code Generation Demo for Windows Phone

Comments Filter:
  • 1 + 1 = egg

    This is entirely a non-sequitur

  • Copilot? (Score:5, Funny)

    by EvilSS ( 557649 ) on Sunday March 30, 2025 @09:42PM (#65270699)
    Might as well have asked a turnip while they were at it. Copilot is the special needs model in the LLM world.
    • They should also ask CoPilot about "squirting", which I believe Microsoft thought was all the rage back about then.

      • by EvilSS ( 557649 )
        Holy shit forgot about that. What genius in marketing thought "Yea, that's a good name for it!"
    • by dbialac ( 320955 )
      Ugh. I'm just remembering how much I miss WP. Android with a Windows Phone home screen just isn't the same. Using effectively the same screen setup, most people still don't want to move from Windows 10 to Windows 11. I'm personally using the enterprise edition of Windows 10 with licenses that qualify for corporate ESR and don't need to upgrade for another 3 years and it's actually worth the money. Sadly, it seems I won't be able to keep going after that.
  • This story is stupid.

    I posed the question he should have posed, since he wanted to compare it to whatever this weird TouchDevelop script is: "write a program that can be run on an iPhone 16 to select 15 random photos from the phone, tint them to random colors, and display the photos on the phone in TouchDevelop script" to gemma-3-27b-fp16.

    Since he didn't specify what language he wanted it in, he got it in Swift. Similarly, mine produce Swift as well when it wasn't asked to use a specific language.
    Swift
    • You didn't say if you got something that you could cut and paste and it would work directly, Swift or otherwise. Also in my own experience copilot has given me bad code with totally wrong applications of constants more often than something I could use directly. Also i find copilot has a lot of trouble with recent changes to libraries.
      • You didn't say if you got something that you could cut and paste and it would work directly, Swift or otherwise.

        Because I couldn't.
        For the TouchDevelop script, there's no emulator available anymore (website is gone)- I did actually try that.
        But eyeballing it, it "looks fine to me". I have *zero* familiarity with that particular... scripting language, though.

        As for the Swift, it just doesn't apply.
        You'd need to make an xcode project at minimum within the gui. After that, you could compile from command line, but that wasn't really in the scope of the request.
        For whatever it's worth- it did give me a set of instru

        • I would argue for a small app, if you were asking for an iphone app, it should give you the gui + code + steps. Hard to know what to make of this, because in my experience the code offered by an LLM always *look good* because that's the point. But it will make up lines that don't work in the name of looking good and that's the problem.
          • it should give you the gui + code + steps

            It did... I thought I said that. I don't feel like launching xcode, creating a project, going to apple and re-freshing my developer account, then building. If you have an active one, I'd be happy to post the code.

            But it will make up lines that don't work in the name of looking good and that's the problem.

            Don't really see that. More so, see out of date or invented library details.
            If it were generating garbage that looked good and didn't run, things like Cursor and JetBrains AI assistant and other paid IDE codegens wouldn't exist, because nobody is going to pay that on top of their IDE license.
            I ha

  • A device-specific script generator for an old Windows Phone, vs. a brand new iPhone app? This comparison makes no sense.

    That 2013 demo would have had very strict constraints on what you could ask it to do, and the wording you had to use to get it to do it. That's what AI shines at...being able to "understand" prompts that are poorly worded or leave things out.

    • Feels a bit like AppleScript, a language that makes some things easy, and others damn near impossible; but in the end it relies on an era that ceased to exist decades ago.

      • Good eye- I didn't place that connection, but that just about nails it.
      • AppleScript was cool for the power-user (the one who knows how to make Excel macros and has an idea of what a loop and a if clause are). Very limited in many ways, but still cool. You could whip up a workflow in instants, and it would always work.

        I'm a bit out of the field of no-code / low-code nowadays but I have a feeling that tools that have the simplicity of Touch Develop / AppleScript are kind of missing for the Android / iOS ecosystems. And for the power-user, I feel such tools would be a much better

  • Way back, In CS101 an OS had all the difficult calls and functions a userland Clark Kent user could not easily do. Then IBM started to black out control blocks and hid SVC calls. Roll forward to today, and MS does not publish or document media calls - probably because they sucked on DRM nonsense and hardcoded file/directory info. The red tape needed to enumerate media is getting insane for select last 10 most recently accessed media files with xxx extension. Store placeholder in array (10). Loop. If count (
  • a Microsoft Research video from CS Education Week 2011 shows enthusiastic Washington high school students participating in an hour-long TouchDevelop coding lesson and demonstrating the apps they created that tapped into music, photos, the Internet, and yes, even their phone's functionality.

    Imagine being those kids. Big STEM project, sponsored by one of the biggest names in STEM. They're making videos, you're excited, you're being told it's The Next Big Thing. Now here we are in 2025 and nobody even knows what Touch Develop is.*

    Talk about a rug-pull. I'm all for teaching STEM to kids, but this is exactly why you shouldn't ever let the STEM program be run on some proprietary bullshit sponsored by Big Tech.

    *But it does sound kinda pervy to put "Touch Develop" and "high school students" in the sa

    • 20 years ago me and a whole lot of other people burned a whole lot of time building software with XML as a replacement for legacy/proprietary data formats like EDIFACT etc. XML didn't die, but a lot of the things like XSLT and stuff we spent a lot of time coding around are just not relevant or useful today. Such is life. There are still XML files all over the place, but mostly they are for configurations, not domain data or whatever you want to call it.
      Over the years you get people telling you what the "nex

  • Microsoft has always had code generators, wizards, etc. because the underlying code is poorly structured, inefficient, wildly complex. And Microsoft has orphaned many of their APIs over time, which is another reason to never invest in learning anything they do. So aside from general lack of quality of Microsoft software, it isn't a surprise there was a code generator that would generate some cases, but that's not even close to general programming. I'm sure if you asked it to do something it wasn't programme

"The four building blocks of the universe are fire, water, gravel and vinyl." -- Dave Barry

Working...