Programming: Self-Writing Code & Understanding Plain English

  • Thread starter Thread starter Darkprojects
  • Start date Start date
  • Tags Tags
    Program
AI Thread Summary
The discussion centers on the feasibility of creating a program that can write and modify its own code, as well as understand plain English instead of traditional programming languages. Participants acknowledge that while self-modifying code and reflective programming exist, developing a program that intelligently alters its own code remains a complex challenge. Some suggest that learning a programming language is essential, as it helps organize thoughts clearly for programming tasks. The idea of a natural language programming interface is noted, but concerns are raised about potential confusion and errors. Overall, the consensus emphasizes the importance of foundational programming skills before attempting to create advanced self-modifying or AI-driven programs.
Darkprojects
Messages
3
Reaction score
0
Hey guys,
Im wondering can't programmers make like a program that can write new programs or add to its own code?

And can they learn such a program to understand us in plain english instead of all those programming languages?
 
Technology news on Phys.org
they could if they knew how.
 
granpa said:
they could if they knew how.

Realy? I could use one of those then XD
 
Okay so that confirms that its possible right?

cause id try to write the program I am trying to create myself but i don't fully understand anny programming language.

All i have is python, visual c++ express edition, Notepad ++(if you know what it is.)
And i don't even know how to use those to create what i am trying to create.
(Wich woud be a program that can write other programs and edit itself then id only need it to be able to do one thing and that is to like allow it to understand english and make new programs or modify itself the way specified after ordering it to do so.)

So its kinda to help me build programs cause i have a hard time learning even the most simple language so that's why i need it so it could like do the really hard stuff itself.

Id also get it to like look things up it doesent understand useing i don't know google or sumthing.
 
Well its not very hard (but its not easy!) to make a program that reproduces itself or that adds predefined code to it (from other text files for instance) and things like that. However, it is not yet known how to make a program that intelligently modifies itself or adds its code in some sensible behaviour.
As for writing in english instead of regular code - some new programming languages have this feature already installed in some way or another. The feature might get very popular or not at all. I haven't tried it yet.
 
Visual basic is pretty much already in english. Making it understand words could cause a lot of confusion and errors when programming.
 
Darkprojects said:
Im wondering can't programmers make like a program that can write new programs or add to its own code?
This sounds like you might be interested in http://en.wikipedia.org/wiki/Genetic_programming" .
Darkprojects said:
And can they learn such a program to understand us in plain english instead of all those programming languages?
If you cannot learn to program a computer in a language designed for the task then you would be even less likely to be able to program a computer in a natural language. Learning a programming language is the easiest part of programming a computer. What is difficult is organizing your thoughts in such a clear and detailed manner that even something as stupid as a computer can perform the task you have in mind. A programming language helps with that because of its simplicity, its rigid grammar, and its limited vocabulary. With all of the richness and nuance of a natural language it would be much more difficult to organize your thoughts to the degree required in programming.
 
Last edited by a moderator:
This whole idea is not new at all. There were utilities running under VAX/VMS that wrote custom assembler routines (part of USERBASE if you know what that is) on the fly to optimize sorting. This was 1987.
 
  • #10
You don't know any programming languages, yet you think you'll be able to create some kind of artificially-intelligent program that not only writes more complicated programs, but also looks things up on Google to better itself? Are you planning on creating a teleporter and warp drive, while you're at it?

Self-modifying code has been around forever. It's mostly at the fringe of computer science, because it has very few real applications.

If you don't fully understand a programming language well enough to accomplish your desired task, you're definitely not going to be able to create a program which writes a program to accomplish your desired task. Give it up and focus on becoming a better programmer.

- Warren
 
Last edited by a moderator:
  • #11
chroot said:
You don't know any programming languages, yet you think you'll be able to create some kind of artificially-intelligent program that not only writes more complicated programs, but also looks things up on Google to better itself? Are you planning on creating a teleporter and warp drive, while you're at it?
Made out of Fruit Loops, of course!

Self-modifying code has been around forever. It's mostly at the fringe of computer science, because it has very few real applications.

If you don't fully understand a programming language well enough to accomplish your desired task, you're definitely not going to be able to create a program which writes a program to accomplish your desired task. Give it up and focus on becoming a better programmer.

- Warren
 
  • #12
Hey now, be nice.
 
Back
Top