Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #1329
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.glorb.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Thu, 16 Feb 2012 23:40:21 -0600 |
| From | Nathan <nathancbaker@gmail.com> |
| Subject | Re: Name space pollution in Art of Assembly |
| Message-ID | <13eec64e-22a5-4598-b4d7-51fa76f1a2ad@bs8g2000vbb.googlegroups.com> (permalink) |
| Date | Thu, 16 Feb 2012 21:38:59 -0800 (PST) |
| Organization | http://groups.google.com |
| References | <HXd%q.479421$lb1.63898@news.usenetserver.com> |
| User-Agent | G2/1.0 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Newsgroups | comp.lang.asm.x86, comp.programming |
| Approved | nathancbaker@nospicedham.gmail.com - comp.lang.asm.x86 moderation team. |
| Lines | 43 |
| X-Usenet-Provider | http://www.giganews.com |
| X-Trace | sv3-TGZlmpfoJgCu4051MVaHHnw4XxAFaZvkQXZA95c2ZWscaR0cdCEC5AH282M94sG5Wpx5F4mXhxrm1m0!rnaOblBXyPrjv2UjGfHJN0K0hO+9rZWYaNOQmttfUlzOzhp1WCtg5PFeqFT6qWIr3nUAl07nj+Z4!oR+x9FYeomRKmZ4M/Pl5+Ql8lA== |
| X-Complaints-To | abuse@giganews.com |
| X-DMCA-Notifications | http://www.giganews.com/info/dmca.html |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2804 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.asm.x86:1868 comp.programming:1329 |
Cross-posted to 2 groups.
Show key headers only | View raw
On Feb 16, 3:47 pm, Joseph <f...@nospicedham.none.com> wrote:
> I hope it's okay to ask a question about a specific book in this group
It certainly is okay.
> (and a book about HLA at that),
That is okay too.
> but I'm working my way through Randall
> Hyde's The Art of Assembly Language Programming, and I have an issue with
> chapter 9.9 "Name Space Pollution" (http://homepage.mac.com/randyhyde/
> webster.cs.ucr.edu/www.artofasm.com/Linux/HTML/
> ManagingLargePrograms2.html). It says:
>
> "conflicts will only occur between [...] external symbols and [...]
> global symbols,"
>
> and
>
> "when you declare external names within a name space, [...] HLA uses
> only the function name [...] as the external name. This creates a name
> space pollution problem in the external name space [therefore] use the
> extended form of the EXTERNAL directive to explicitly supply an external
> name for all external identifiers appearing in a NAMESPACE declaration."
>
> So a symbol cannot conflict if it is not external, and an external symbol
> must use a unique name; but then what purpose is the name space?
Your question is not about any specific book, nor is it specific to
HLA. You will find your answer here:
http://en.wikipedia.org/wiki/Namespace
http://en.wikipedia.org/wiki/Namespace_%28computer_science%29
{news:comp.programming added}
Nathan.
--
About CLAX - http://clax.inspiretomorrow.net/
CLAX Policy - http://clax.inspiretomorrow.net/clax86.html
CLAX FAQS - http://www.fysnet.net/faq/index.htm
Back to comp.programming | Previous | Next — Next in thread | Find similar
Re: Name space pollution in Art of Assembly Nathan <nathancbaker@gmail.com> - 2012-02-16 21:38 -0800 Re: Name space pollution in Art of Assembly Joseph <fake@nospicedham.none.com> - 2012-02-17 12:40 +0000
csiph-web