| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: [C] (Thanks)An interesting question |
From: Bob Stout
On 13 Jan 2004 Pascal.Schmidt!1.153.401.2{at}filegate.net wrote:
> On modern CPUs and compilers, you don't really gain much from using
> types that are smaller than int. The biggest use for char is for
> representing strings as either char arrays or char pointers.
I must register an exception here. One of the principle uses of C in modern
programming is in embedded systems and DSP. In embedded systems especially,
you might not have a whole lot of choice.
For example, my current project is for a downhole directional (oil)
drilling tool. The board size and battery capacity are both limited. Since
the device must operate at extremely high temperatures, most
"normal" parts will not work. Because of a variety of reasons,
the 32-bit CPU we're using is forced to access memory a byte at a time. In
the future, we may move to custom hybrid 16- or 32-bit memory devices, but
for now, the ability to use chars is very important for us.
-------------------------------------------------------------
Consulting: http://www.MicroFirm.biz/ Web graphics development:
http://Image-Magicians.com/ Software archives:
http://snippets.snippets.org/
c.snippets.org/ cpp.snippets.org/ java.snippets.org/
d.snippets.org/ python.snippets.org/ perl.snippets.org/
dos.snippets.org/ embedded.snippets.org/ apps.snippets.org/
Audio and loudspeaker design:
http://LDSG.snippets.org/ http://www.diyspeakers.net/
--- BBBS/LiI v4.01 Flag-5
* Origin: Prism's_Point (1:261/38.1)SEEN-BY: 633/267 270 @PATH: 261/38 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.