Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19855

Re: C for linux ??

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: C for linux ??
Date 2012-11-22 21:12 +0000
Organization UK Free Software Network
Message-ID <k8m4gk$7hj$1@localhost.localdomain> (permalink)
References <op.wn5vtzrrwv4027@sl-home> <50ADD3EC.3040808@telia.com> <op.wn6f71ztwv4027@sl-home> <50ae3e04$0$284$14726298@news.sunsite.dk>

Show all headers | View raw


On Thu, 22 Nov 2012 10:00:17 -0500, Arne Vajhøj wrote:

> On 11/22/2012 8:39 AM, SL@maxis wrote:
>> On Thu, 22 Nov 2012 15:27:40 +0800, Lars Enderin
>> <lars.enderin@telia.com> wrote:
>>
>>> Wrong group.
>>
>> I mean there is no group on C/C++ programming for Linux ??
> 
> Maybe not.
> 
> But there are both C, C++ and Linux groups.
> 
What's there to talk about?

Anybody claiming a good working knowledge of Linux is probably already a 
decent C programmer and almost anything Linux-specific you'd need to know 
is covered in remarkably few books:

- "UNIX Systems Programming for SVR4" (the O'reilly "Lion" book) is still
  directly applicable to modern Linuxes.

- section 2 of the man pages (of course)

- "Lex & Yacc" (O'Reilly) - equally good for Flex and Bison

- "Pthreads Programming" (O'Reilly)


and, more generally

- "The Practice of Programming" - Kernighan & Pike

- "Algorithms" - Sedgewick

The latter two are useful no matter what language you're writing in. 
Kernighan & Pike is excellent for advice on writing well-structured 
programs that are easy to maintain and debug - and there's even a bit of 
Java in it. 

"Algorithms" is written in Pascal, but its good, clear well-explained 
code and very easy to transcribe into other languages. It was recommended 
to me by one of the best programmers I know and I've certainly found it 
useful. It may not be a comprehensive as Knuth, but it occupies a lot 
less shelf space and is rather cheaper, and I've found it more generally 
useful than Wirth's "Algorithms + Data Structures = Programs".

I assume that every C programmer has a copy of Kernighan & Richie's "The 
C programming language".



-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

C for linux ?? "SL@maxis" <ecp_gen@my-rialto.com> - 2012-11-22 14:19 +0800
  Re: C for linux ?? Lars Enderin <lars.enderin@telia.com> - 2012-11-22 08:27 +0100
    Re: C for linux ?? "SL@maxis" <ecp_gen@my-rialto.com> - 2012-11-22 21:39 +0800
      Re: C for linux ?? Arne Vajhøj <arne@vajhoej.dk> - 2012-11-22 10:00 -0500
        Re: C for linux ?? Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-22 21:12 +0000
          Re: C for linux ?? Arne Vajhøj <arne@vajhoej.dk> - 2012-11-22 20:37 -0500
            Re: C for linux ?? Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-24 16:40 +0000
              Re: C for linux ?? Arne Vajhøj <arne@vajhoej.dk> - 2012-11-24 13:15 -0500
          Re: C for linux ?? "SL@maxis" <ecp_gen@my-rialto.com> - 2012-11-23 10:06 +0800
            Re: C for linux ?? Martin Gregorie <martin@address-in-sig.invalid> - 2012-11-24 16:18 +0000
              Re: C for linux ?? "SL@maxis" <ecp_gen@my-rialto.com> - 2012-11-25 21:01 +0800
              Re: C for linux ?? Arne Vajhøj <arne@vajhoej.dk> - 2012-11-25 14:16 -0500
          Re: C for linux ?? "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2012-11-24 10:11 +0000
  Re: C for linux ?? Ben <kbw@allt2.se> - 2012-11-22 16:09 +0100
    Re: C for linux ?? "SL@maxis" <ecp_gen@my-rialto.com> - 2012-11-23 10:08 +0800
  Re: C for linux ?? Roedy Green <see_website@mindprod.com.invalid> - 2012-11-22 07:58 -0800

csiph-web