The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] About Unix header files
@ 2018-08-21  4:55 Caipenghui
  2018-08-21  6:00 ` Warren Toomey
  2018-08-21 21:37 ` Cornelius Keck
  0 siblings, 2 replies; 14+ messages in thread
From: Caipenghui @ 2018-08-21  4:55 UTC (permalink / raw)
  To: tuhs

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

Hello everyone

Hello everyone, I have a question, I looked at the source code of early Unix, found that a lot of.c files did
not contain header files, so compiler compiler will not error?

Caipenghui

[-- Attachment #2: Type: text/html, Size: 225 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [TUHS] About Unix header files
@ 2018-08-22 22:00 Doug McIlroy
  2018-08-22 23:05 ` Erik E. Fair
  0 siblings, 1 reply; 14+ messages in thread
From: Doug McIlroy @ 2018-08-22 22:00 UTC (permalink / raw)
  To: tuhs

> Has anyone experimented with building Unix using C++, to take
advantage of strong typing?  My guess is no--it would be a Herculean
task likely to introduce more bugs than it would fix.

How Unix didn't get written in C++:

When Bjarne Stroustrup joined Bell Labs, he hoped to write an
operating system, but he wanted to do it in an object oriented
language, so he took a small detour to make an object-oriented
sibling of C. That turned out to be a maelstrom from which he
never escaped. 

Doug

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-08-23  2:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-21  4:55 [TUHS] About Unix header files Caipenghui
2018-08-21  6:00 ` Warren Toomey
2018-08-21 21:37 ` Cornelius Keck
2018-08-22  4:25   ` [TUHS] Cornelius Keck Caipenghui
2018-08-22 13:44   ` [TUHS] About Unix header files Perry E. Metzger
2018-08-22 15:29     ` Paul Winalski
2018-08-22 15:36       ` Caipenghui
2018-08-22 15:46       ` Perry E. Metzger
2018-08-22 15:52         ` G. Branden Robinson
2018-08-22 15:56         ` Paul Winalski
2018-08-22 16:04     ` Dan Cross
2018-08-23  2:23       ` George Michaelson
2018-08-22 22:00 Doug McIlroy
2018-08-22 23:05 ` Erik E. Fair

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).