From owner-freebsd-questions@FreeBSD.ORG Mon Jan 17 23:43:42 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55CF816A4CE for ; Mon, 17 Jan 2005 23:43:42 +0000 (GMT) Received: from parrot.aev.net (host29-15.pool8174.interbusiness.it [81.74.15.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4F6443D39 for ; Mon, 17 Jan 2005 23:43:40 +0000 (GMT) (envelope-from ml@netfence.it) Received: from soth.ventu (adsl-ull-16-6.41-151.net24.it [151.41.6.16]) (authenticated bits=128) by parrot.aev.net (8.13.1/8.13.1) with ESMTP id j0HNtB5j050168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 18 Jan 2005 00:55:17 +0100 (CET) (envelope-from ml@netfence.it) Received: from netfence.it (xanatar.ventu [10.1.2.6]) (authenticated bits=0) by soth.ventu (8.13.1/8.12.10) with ESMTP id j0HNfIPq043771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 18 Jan 2005 00:41:19 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <41EC4E0C.4020900@netfence.it> Date: Tue, 18 Jan 2005 00:45:16 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: it,en,fr,de MIME-Version: 1.0 To: koen de wijs References: <41EABF33.1040801@gmx.net> In-Reply-To: <41EABF33.1040801@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.45 cc: freebsd-questions@freebsd.org Subject: Re: programming languages and visual programming under FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 23:43:42 -0000 koen de wijs wrote: > I heard that C is the most powerfull language under unix Two points here: first, this is just one opinion, and one that may start a flame war (which I'll avoid); second, C is not just for UNIX, it's a platform neutral standard language. That means you can write a program with it and, as long as you stay away from system specific things, compile and run it on UNIX, Windows, Mac, you name what. This holds true for many, but not all, languages. C is quite powerful and I'd assess its difficulty as medium. You might definitely want to give it a try, since it's very widespread. > Can you read and write directly with the printer port or does the > kernell block that?? I got a programm from someone that putted some > assmebler in his c programm to adress the printer port. You had better not do this. Not on any multitasking OS. > What are the advantages of these languages above C Without digging too deeply into it (it would require a book): C is a *programming language*, as opposed to *scripting* languages The difference is quite subtle: a programming language aims at effectiveness and is usually to be preferred for large scale projects; a scripting language aims at simplicity and fast developing times. I would say PERL and Python are scripting language, but now someone will fire on me :) > and are there more programming languages under FreeBSD? Too many to list here. From C++ and Java to oldies like Fortran and tons of others. Googling a bit will surely provide you with a list. bye av.