How are computer languages invented/created?

How does a processor react when you talk to it in another language suddenly - does it need training or do processors know all languages by "heart" because in the end they are all binary?

#coding #learning #stupidquestions #IT

@Dodo_sipping

der prozessor hat keine ahnung von irgendeiner sprache
deswegen gibts compiler
entweder statische compiler wie bei C oder BASIC bei denen der code interpretiert und in eine ausfĂĽhrbare datei gepackt wird
oder runtime compiler wie z.b. bei script sprachen wie php bei denen der code in echtzeit interpretiert wird

der compiler übersetzt den code der entsprechenden sprache dann eben in binär was der prozessor versteht

sehr vereinfacht ausgedrĂĽckt

@Dodo_sipping try Wikipedia. Your question is so broad that it’s essentially unanswerable in the space allocated. But no, processors don’t know every language, they “know” the machine language they’re “programmed” to process. The computer language “compiler” takes the computer program from a specific language and creates a representation of that code in machine language.