Mirror is an entirely new concept in programming — just supply function signatures and some input-output examples, and AI does the rest.

14 points

So a chatgpt wrapper that compiles a DSL to JavaScript. Ok.

permalink
report
reply
6 points

Of course it would output JavaScript. What else?

permalink
report
parent
reply
10 points

I don’t mean this in a toxic way, but this is probably the worst idea I have seen yet with Ai in programming. People should use less Ai, and learn more how to program. It’s better in the long term.

Is the language and interpretation predictable and exact? If you install a newer version of the Ai, can the exact same code behavior be guaranteed? What’s the benefit over using Ai tools that generate code in a static language, instead leaving it to be interpreted?

permalink
report
reply
3 points

People should use less Ai, and learn more how to program

Yes. Once you know how, you can see pitfalls with AI.

permalink
report
parent
reply
9 points

almost like a shitty prolog that won’t work half the time!

permalink
report
reply
0 points

Doesn’t prolog already “not work half the time”? (Disclaimer: I haven’t used it.)

permalink
report
parent
reply
9 points

Most general purpose programming languages nowadays are designed to be easily human readable. But with this, I now have to understand the syntax of another “programming language” in addition to the programming language it outputs. How is this helpful in any way?

There are already plenty of template generators that can generate boiletplate code with parameters. This seems like a complete waste of time.

permalink
report
reply
5 points

Even as a toy language if I can’t tell what it’s doing beyond interface with an llm prompt… What good is it?

Consistency and validity of output is essentially impossible to prove, because this has all the accuracy of both humans famously bad at explaining their problems to machines who understand 80% of it.

permalink
report
parent
reply
7 points
// Hack the mainframe to skim pennies from ongoing transactions
async function addMoneyToMyBankAccount(dollarAmount: number): Promise<"success">

Alright let’s go

permalink
report
reply

Programming

!programming@programming.dev

Create post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Community stats

  • 2.2K

    Monthly active users

  • 1.9K

    Posts

  • 30K

    Comments