1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Languages -->
<!--X-From-R13: fvybivpNfepr.ue ([vebfyni Evybivp) -->
<!--X-Date: from fabius.globecomm.net [207.51.48.6] by in11.ibm.net id 864526328.20432&#45;1 Sun May 25 02:12:08 1997 CUT -->
<!--X-Message-Id: 199705250217.EAA21299#regoc,srce.hr -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 3.0.32.19970524181353.009baf58#mail,tenetwork.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Languages</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:silovic#srce,hr">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00758.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00760.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00757.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00758.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00759">Author</A>
&nbsp;|&nbsp;<A HREF="#00759">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00759">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Languages</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Languages</LI>
<LI><em>From</em>: <A HREF="mailto:silovic#srce,hr">silovic#srce,hr</A> (Miroslav Silovic)</LI>
<LI><em>Date</em>: Sun, 25 May 1997 04:17:47 +0200 (MET DST)</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
&gt; 'comon miro... how many times have you coded the following...
&gt; 
&gt; byte *t1,t2;
&gt; 
&gt; ...
&gt; for (i=0;i&lt;length;i++) *t1++ = *t2++;
&gt; 
&gt; or something simialr?
&gt; 
&gt; Such array walkign is MUCh faster then array access with [], but yould
&gt; never guess that unless you understood what C is doing.

Not if your compiler's optimizer is worth a bother. I have seen at
least one compiler that compiles these to exactly the same code.

And then, memcpy is the right way to do it (as library specs say
that that's the function for this job).

But this shows another VERY alarming symptom of C/C++ infestation:
One shouldn't have to think in the assembler when compilers are able to prove
theorems about your code.

	Miro


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00757" HREF="msg00757.html">Re: [MUD-Dev] Languages</A></STRONG>
<UL><LI><EM>From:</EM> Jeff Kesselman &lt;jeffk#tenetwork,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00758.html">Re: [MUD-Dev] Languages</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00760.html">Re: [MUD-Dev]  Alright... IF your gonan do DESIESE...</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00757.html">Re: [MUD-Dev] Languages</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00758.html">Re: [MUD-Dev] Languages</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00759"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00759"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] Languages</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00745" HREF="msg00745.html">Re: [MUD-Dev] Languages</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#laurel,actlab.utexas.edu">cynbe#laurel,actlab.utexas.edu</a>, Sun 25 May 1997, 05:33 GMT
</LI>
<LI><strong><A NAME="00746" HREF="msg00746.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Sun 25 May 1997, 05:43 GMT
<UL>
<LI><strong><A NAME="00750" HREF="msg00750.html">Re: [MUD-Dev] Languages</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sun 25 May 1997, 06:39 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00757" HREF="msg00757.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Sun 25 May 1997, 08:10 GMT
<UL>
<LI><strong><A NAME="00759" HREF="msg00759.html">Re: [MUD-Dev] Languages</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#srce,hr">silovic#srce,hr</a>, Sun 25 May 1997, 09:12 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00758" HREF="msg00758.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Sun 25 May 1997, 08:14 GMT
<UL>
<LI><strong><A NAME="00772" HREF="msg00772.html">Re: [MUD-Dev] Languages</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 25 May 1997, 15:41 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00779" HREF="msg00779.html">Re: [MUD-Dev] Languages</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 26 May 1997, 00:10 GMT
</LI>
<LI><strong><A NAME="00780" HREF="msg00780.html">Re: [MUD-Dev] Languages</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 26 May 1997, 00:10 GMT
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>