🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13435

Re: C vs. Assembly

#13435
From: Karl Lehenbauer
Date: Fri, 12 Jan 1990 06:44
16 lines
1341 bytes
In article <1125@crash.cts.com> doc@crash.cts.com (Mitch Evans) writes:
>	I have been hacking away in Assembly, seeing what I can do with it.
>If there is any way to write the sucker in C, I would prefer that -- as it
>is easier.  BUT, I will write it in assembly if need be.  

This has already been well answered, but to speak in general about C versus
assembly, remember from your operating systems class that 5% of
the code is typically responsible for 95% of the execution time.
A decent profiler (like the Tom Rockiki (sp?) one that comes with Manx)
will identify those portions to you, so you can have the higher lines-of-
debugged-code-per-day of C and the performance of assembly where it counts,
if needed.
-- 
-- uunet!sugar!karl	"Hey, you sass that hoopy Ford Prefect?  Now there's a
--			 frood who really knows where his towel is."  -- HGTTG
-- Usenet access: (713) 438-5018
Technical Details
Message-ID: <4917@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!sunic!uupsi!nyser!rpi!zaphod.mps.ohio-state.edu!wuarchive!texbell!sugar!karl
References: <1125@crash.cts.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!sunic!uupsi!nyser!rpi!zaphod.mps.ohio-state.edu!wuarchive!texbell!sugar!karl
From: karl@sugar.hackercorp.com (Karl Lehenbauer)
Newsgroups: comp.sys.amiga.tech
Subject: Re: C vs. Assembly
Message-ID: <4917@sugar.hackercorp.com>
Date: 12 Jan 90 06:44:46 GMT
References: <1125@crash.cts.com>
Reply-To: karl@sugar.hackercorp.com (Karl Lehenbauer)
Organization: Sugar Land Unix - Houston
Lines: 16