cvs commit: de-docproj/books/developers-handbook/tools chapter.sgml

From: Fabian Borschel <seirei(at)doc.bsdgroup.de>
Date: Tue, 22 Jan 2008 22:01:10 GMT

seirei 2008-01-22 22:01:10 UTC

  FreeBSD German Documentation Repository

  Modified files:
    books/developers-handbook/tools chapter.sgml
  Log:
  Kapitel 2 uebersetzt.
  
  Gesendet von: Dirk Arlt, Fabian Borschel
  
  Revision Changes Path
  1.4 +1461 -1190 de-docproj/books/developers-handbook/tools/chapter.sgml
  
  Index: chapter.sgml
  ===================================================================
  RCS file: /home/cvs/de-docproj/books/developers-handbook/tools/chapter.sgml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -I$FreeBSDde.*$ -r1.3 -r1.4
  --- chapter.sgml 31 Aug 2007 06:13:10 -0000 1.3
  +++ chapter.sgml 22 Jan 2008 22:01:10 -0000 1.4
  @@ -11,145 +11,166 @@
     <chapterinfo>
       <authorgroup>
         <author>
  - <firstname>James</firstname>
  + <firstname>James</firstname>
           <surname>Raynard</surname>
           <contrib>Contributed by </contrib>
         </author>
         <author>
  - <firstname>Murray</firstname>
  + <firstname>Murray</firstname>
           <surname>Stokely</surname>
         </author>
       </authorgroup>
       <authorgroup>
         <author>
  - <firstname></firstname>
  - <surname></surname>
  + <firstname>Dirk</firstname>
  + <surname>Arlt</surname>
           <contrib>&Uuml;bersetzt von </contrib>
         </author>
  + <author>
  + <firstname>Fabian</firstname>
  + <surname>Borschel</surname>
  + </author>
       </authorgroup>
     </chapterinfo>
   
  - <title>Programming Tools</title>
  - <sect1 id="tools-synopsis"><title>Synopsis</title>
  + <title>Werkzeuge zur Programmierung</title>
   
  - <para>This chapter is an introduction to using some of the
  - programming tools supplied with FreeBSD, although much of it
  - will be applicable to many other versions of &unix;. It does
  - <emphasis>not</emphasis> attempt to describe coding in any
  - detail. Most of the chapter assumes little or no previous
  - programming knowledge, although it is hoped that most
  - programmers will find something of value in it.</para>
  + <sect1 id="tools-synopsis">
  + <title>&Uuml;berblick</title>
   
  + <para>Dieses Kapitel ist eine Einf&uuml;hrung in die Benutzung
  + einiger der Werkzeuge zur Programmierung die mit FreeBSD
  + ausgeliefert werden. Trotzdem ist vieles auch auf verschiedene
  + andere Versionen von &unix; &uuml;bertragbar. Dieses Kapitel
  + soll <emphasis>kein</emphasis> Versuch sein Programmierung
  + detailiert zu beschreiben. Der gr&ouml;&szlig;te Teil dieses
  + Kapitels setzt wenige oder garkeine Programmierkenntnisse
  + vorraus, dennoch sollten die meisten Programmierer etwas
  + Sinnvolles darin finden.</para>
     </sect1>
   
  - <sect1 id="tools-intro"><title>Introduction</title>
  -
  - <para>FreeBSD offers an excellent development environment.
  - Compilers for C, C++, and Fortran and an assembler come with the
  - basic system, not to mention a Perl interpreter and classic &unix;
  - tools such as <command>sed</command> and <command>awk</command>.
  - If that is not enough, there are many more compilers and
  - interpreters in the Ports collection. FreeBSD is very
  - compatible with standards such as <acronym>&posix;</acronym> and
  - <acronym>ANSI</acronym> C, as well with its own BSD heritage, so
  - it is possible to write applications that will compile and run
  - with little or no modification on a wide range of
  - platforms.</para>
  -
  - <para>However, all this power can be rather overwhelming at first
  - if you have never written programs on a &unix; platform before.
  - This document aims to help you get up and running, without
  - getting too deeply into more advanced topics. The intention is
  - that this document should give you enough of the basics to be
  - able to make some sense of the documentation.</para>
  -
  - <para>Most of the document requires little or no knowledge of
  - programming, although it does assume a basic competence with
  - using &unix; and a willingness to learn!</para>
  + <sect1 id="tools-intro">
  + <title>Zusammenfassung</title>
   
  + <para>FreeBSD bietet eine exzellente Entwicklungsumgebung.
  + Compiler f&uuml;r C, C++, sowie f&uuml;r Fortran und ein
  + Assembler sind im Basissystem enthalten. Nat&uuml;rlich finden
  + sich auch ein Perl Interpreter und klassische &unix;-Werkzeuge
  + wie <command>sed</command> und <command>awk</command>. Sollte
  + das nicht genug sein, finden sich zahlreiche weitere Compiler
  + und Interpreter in der Ports-Sammlung. FreeBSD ist kompatibel zu
  + vielen Standards wie <acronym>&posix;</acronym> und
  + <acronym>ANSI</acronym> C, sowie zu seinem eigenen BSD Erbe. So
  + ist es m&ouml;glich Anwendungen zu schreiben, welche ohne oder
  + zumindest ohne wesentliche &Auml;nderungen auf einer
  + gro&szlig;en Zahl an Plattformen kompilieren und laufen
  + werden.</para>
  +
  + <para>Allerdings k&ouml;nnen all diese M&ouml;glichkeiten
  + anfangs etwas &uuml;berw&auml;ltigend sein, wenn Sie vorher nie
  + Programme auf einem &unix;-System geschrieben haben. Dieses
  + Dokument hat die Zielsetzung ihnen beim Einstieg zu helfen ohne
  + allzu weit in fortgeschrittene Themen vorzudringen. Die
  + Intention ist, da&szlig; dieses Dokument ihnen ausreichend
  + Basiswissen vermittelt und die weitergehende Dokumentation
  + sinnvoll nutzen zu k&ouml;nnen.</para>
  +
  + <para>Der gr&ouml;&szlig;te Teil dieses Dokuments erfordert wenige
  + oder gar keine Kenntnisse in der Programmierung, es werden
  + trotzdem Basiswissen im Umgang mit &unix; und die Bereitschaft
  + zu lernen vorrausgesetzt!</para>
     </sect1>
   
     <sect1 id="tools-programming">
  - <title>Introduction to Programming</title>
  + <title>Einf&uuml;hrung in die Programmierung</title>
   
  - <para>A program is a set of instructions that tell the computer to
  - do various things; sometimes the instruction it has to perform
  - depends on what happened when it performed a previous
  - instruction. This section gives an overview of the two main
  - ways in which you can give these instructions, or
  - <quote>commands</quote> as they are usually called. One way
  - uses an <firstterm>interpreter</firstterm>, the other a
  - <firstterm>compiler</firstterm>. As human languages are too
  - difficult for a computer to understand in an unambiguous way,
  - commands are usually written in one or other languages specially
  - designed for the purpose.</para>
  + <para>Ein Programm ist eine Zusammenstellung von Anweisungen, die
  + den Computer auffordern verschiedenste Dinge zu tun. Dieser
  + Abschnitt gibt ihnen einen &Uuml;berblick &uuml;ber die beiden
  + wesentlichen Methoden diese Anweisungen oder
  + <quote>Befehle</quote>, wie man diese Anweisungen
  + &uuml;blicherweise nennt, zu geben. Die eine Methode nutzt einen
  + <firstterm>interpreter</firstterm>, die andere einen
  + <firstterm>Compiler</firstterm>. Da die menschliche Sprachen
  + f&uuml;r einen Computer nicht unmissverst&auml;ndlich sind,
  + werden diese Befehle in einer Sprache geschrieben die speziell
  + f&uuml;r diesen Zweck gedacht ist.</para>
   
       <sect2>
  - <title>Interpreters</title>
  + <title>Interpreter</title>
   
  - <para>With an interpreter, the language comes as an environment,
  - where you type in commands at a prompt and the environment
  - executes them for you. For more complicated programs, you can
  - type the commands into a file and get the interpreter to load
  - the file and execute the commands in it. If anything goes
  - wrong, many interpreters will drop you into a debugger to help
  - you track down the problem.</para>
  -
  - <para>The advantage of this is that you can see the results of
  - your commands immediately, and mistakes can be corrected
  - readily. The biggest disadvantage comes when you want to
  - share your programs with someone. They must have the same
  - interpreter, or you must have some way of giving it to them,
  - and they need to understand how to use it. Also users may not
  - appreciate being thrown into a debugger if they press the
  - wrong key! From a performance point of view, interpreters can
  - use up a lot of memory, and generally do not generate code as
  - efficiently as compilers.</para>
  -
  - <para>In my opinion, interpreted languages are the best way to
  - start if you have not done any programming before. This kind
  - of environment is typically found with languages like Lisp,
  - Smalltalk, Perl and Basic. It could also be argued that the
  - &unix; shell (<command>sh</command>, <command>csh</command>) is itself an
  - interpreter, and many people do in fact write shell
  - <quote>scripts</quote> to help with various
  - <quote>housekeeping</quote> tasks on their machine. Indeed, part
  - of the original &unix; philosophy was to provide lots of small
  - utility programs that could be linked together in shell
  - scripts to perform useful tasks.</para>
  + <para>Mit einem Interpreter ist die die Sprache vielmehr eine
  + Umgebung, in der Sie ein Kommando an der Kommandozeile
  + eingeben welches dann von der Umgebung ausgef&uuml;rt wird.
  + F&uuml;r kompliziertere Programme k&ouml;nnen Sie die Befehle
  + in eine Datei schreiben und den Interpreter dazu bringen diese
  + Datei zu laden und die enthaltenen Befehle auszuf&uuml;hren.
  + Falls etwas schief geht werden viele Interpreter Sie an einen
  + Debugger weiterleiten.</para>
  +
  + <para>Der Vorteil hierbei ist, das Sie das Ergebnis ihres
  + Befehls direkt sehen und Fehler sofort korrigiert werden
  + k&ouml;nnen. Der gr&ouml;&szlig;te Nachteil bei dieser Methode
  + entsteht, wenn Sie ihr Programm mit jemandem teilen wollen.
  + Diese Person muss den selben Interpreter nutzen wie Sie es tun
  + und Sie muss wissen wissen wie Sie dieser zu bedienen ist.
  + Zudem werden Benutzer es nicht begr&uuml;&szlig;en sich in
  + einem Debugger wiederzufinden, wenn Sie einmal die falsche
  + Taste dr&uuml;ckten! Bei einem Blick auf die
  + Leistungsf&auml;higkeit brauchen Interpreter oftmals viel
  + Speicher und erzeugen den Code nicht so effizient wie

----------------------------------------------
Diff block truncated. (Max lines = 200)
----------------------------------------------

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-cvs-doc" in the body of the message
Received on Tue 22 Jan 2008 - 23:01:22 CET

search this site