From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 8 02:44:26 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F513BFA for ; Tue, 8 Apr 2014 02:44:26 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD349163B for ; Tue, 8 Apr 2014 02:44:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=R/ebgF+ekgp1aXxYSVq83znc99SEsiWsrAp8hLtuYks=; b=xV2JNNqW6mE6gt9ht3cZZfEyi8Wna8ufBYfHBOUxeixMtrVklLDRUJAHR6ZNakrpOxBxmuvXTvpD7eQSiGqClakd6OSj8x4WNe1Wg3zH/4m19IjtVGic9mg6EFCUjxJ7YEHGI0IXG+qda4Cy4zr1609sr9TOuzedLT4k0LEv9RI=; Received: from [182.55.101.96] (port=53079 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WXM1Q-002ot1-U8; Mon, 07 Apr 2014 20:44:25 -0600 Date: Tue, 8 Apr 2014 10:44:22 +0800 From: Erich Dollansky To: Jorge Luis Carvalho Santos Subject: Re: Assembly continues to be used in the development of FreeBSD? Message-ID: <20140408104422.73037714@X220.alogt.com> In-Reply-To: References: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2014 02:44:26 -0000 Hi, On Mon, 7 Apr 2014 21:16:50 +0300 Jorge Luis Carvalho Santos wrote: > According to the book "Complete and Total C" by Herbert Schildt, the > general rule is not to use Assembly because it creates too many > problems. I would say that this is wrong. The only reason for me not to use assemblers is the portability. Proper written C code can be compiled on x86, ARM, SPARC, POWER or Itanium and still results in a usable program. Assembler programs are written for a single CPU type. I might be even a problem to switch between 32 and 64 bits on an x86 CPU. Erich _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To > unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org"