Click here to Skip to main content
16,004,806 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
0x01AA6-Jun-24 11:18
mve0x01AA6-Jun-24 11:18 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
honey the codewitch6-Jun-24 11:20
mvahoney the codewitch6-Jun-24 11:20 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
klinkenbecker7-Jun-24 6:25
klinkenbecker7-Jun-24 6:25 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
jmaida6-Jun-24 18:34
jmaida6-Jun-24 18:34 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
FreedMalloc6-Jun-24 7:36
FreedMalloc6-Jun-24 7:36 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
Nelek6-Jun-24 10:24
protectorNelek6-Jun-24 10:24 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
PIEBALDconsult6-Jun-24 14:22
mvePIEBALDconsult6-Jun-24 14:22 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
trønderen7-Jun-24 0:38
trønderen7-Jun-24 0:38 
Doesn't that hold for the great majority of languges/compilers since around 1970?

Usually you need to create a small bootstrap in some other language. I was told (so I have no URL to back it up) that Nick Wirth attempted to write a compiler for the very first, super simple core Pascal (1970) in Fortran, but gave up and reverted to assembler - I don't know for which machine. Once this was running, all following extensions to full Pascal was written in the simpler Pascal dialect, as is the common strategy for all language/compiler bootstrapping.

I guess that languages deviating a lot from the algorithmic style (such as APL, Prolog, SNOBOL, Lisp, ...) have compilers / interpreters written in other languages, at least for production work. (I would be sort of surprised if no APL programmer has written an APL interpreter in APL!) But for the algorithmic languages group, the great majority have compilers expressed in themselves. This, of course, does not prohibit compilers written in other languages - I guess one main reason for that is that the compiler developer knows C only.

I know of one case where no bootstrapping in another language was required: The compiler was written in itself. Its developer put the compiler source up on the document holder by his keyboard, and compiled each statement in his head, typing in the machine instructions he knew that the compiler would generate. Of course he knew - he had written the compiler! This was in 1974.

Admittedly, this was a rather simple language - abstraction level was lower than K&R C. Yet it illustrates the principle of writing a compiler in its own language.
Religious freedom is the freedom to say that two plus two make five.

GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
Norm Powroz7-Jun-24 6:47
Norm Powroz7-Jun-24 6:47 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
jschell7-Jun-24 13:18
jschell7-Jun-24 13:18 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
Fly Gheorghe6-Jun-24 22:04
Fly Gheorghe6-Jun-24 22:04 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
JohaViss617-Jun-24 0:39
professionalJohaViss617-Jun-24 0:39 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
zezba90007-Jun-24 9:59
zezba90007-Jun-24 9:59 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
trønderen7-Jun-24 11:43
trønderen7-Jun-24 11:43 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
zezba90007-Jun-24 20:55
zezba90007-Jun-24 20:55 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
zezba900012-Aug-24 16:00
zezba900012-Aug-24 16:00 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
Jalapeno Bob7-Jun-24 10:36
professionalJalapeno Bob7-Jun-24 10:36 
GeneralRe: Understanding the Influence of C Programming in C# .NET Pin
jschell7-Jun-24 13:35
jschell7-Jun-24 13:35 
GeneralVSCode updates Pin
#realJSOP6-Jun-24 1:46
professional#realJSOP6-Jun-24 1:46 
GeneralRe: VSCode updates Pin
Richard MacCutchan6-Jun-24 1:48
mveRichard MacCutchan6-Jun-24 1:48 
GeneralRe: VSCode updates Pin
#realJSOP6-Jun-24 1:51
professional#realJSOP6-Jun-24 1:51 
GeneralRe: VSCode updates Pin
Richard Deeming6-Jun-24 1:56
mveRichard Deeming6-Jun-24 1:56 
GeneralRe: VSCode updates Pin
Mike Hankey6-Jun-24 1:58
mveMike Hankey6-Jun-24 1:58 
GeneralRe: VSCode updates Pin
OriginalGriff6-Jun-24 2:04
mveOriginalGriff6-Jun-24 2:04 
GeneralRe: VSCode updates Pin
raddevus6-Jun-24 2:08
mvaraddevus6-Jun-24 2:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.