this post was submitted on 01 Nov 2023
140 points (96.7% liked)

Programming

17373 readers
384 users here now

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 [email protected]



founded 1 year ago
MODERATORS
 

Assume mainstream adoption as used by around 7% of all github projects

Personally, I'd like to see Nim get that growth.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 1 year ago (1 children)

Syntax has never really be an issue. The closest thing to plain english programming are legal documents and contracts. As you can see they are horrible to understand but that the only way to correctly specify exactly what you want. And code is much better at it. Another datapoint are visual languages like lego mindstorm or LabView. It's quite easy to do basic things, but it doesn't scale at all.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Syntax has never really be an issue.

But it has tho.... For example, I do not know rust. I want to add the notifications functionality to Lemmy. Lemmy is in rust. To implement this relatively simply api, I need to learn rust to a degree. Then, I need to look at Lemmy's file structure to understand the project further to actually do what I want to do. What if this all could be abstracted by me simply saying "post xyz to the expo-notifications server whenever someone messages someone." An AI English-to-rust interpreter could easily do this.

The closest thing to plain english programming are legal documents and contracts. As you can see they are horrible to understand but that the only way to correctly specify exactly what you want.

This is what would define the smartness of the AI, wouldn't it? Your project manager doesn't tell you exactly what they want. You have the brains to interpret what they mean and do stuff accordingly, correct?

[–] [email protected] -1 points 1 year ago

This requires many assumptions that you or any computational system have no formal reason to make. Having an interpreter that just guesstimates exactly how you want the program structured, is going to run into problems when you, say want to extend the program.