Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | nick_keighley_nospam@hotmail.com |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: High-level network programming: is C language suitable for that? |
| Date | 2012-04-29 04:15 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <3181399.2147.1335698111241.JavaMail.geo-discussion-forums@vbq5> (permalink) |
| References | <jnbudg$vhc$1@nnrp.ngi.it> <9vtng0Fs7gU1@mid.uni-berlin.de> <16017213.710.1335536832168.JavaMail.geo-discussion-forums@vbmi19> <a0021sFjleU1@mid.uni-berlin.de> |
On Friday, April 27, 2012 6:07:08 PM UTC+1, Jens Thoms Toerring wrote: > nick_keighley_nospam@hotmail.com wrote: > > On Thursday, April 26, 2012 8:54:40 PM UTC+1, Jens Thoms Toerring wrote: > > > Of course, all this can be done in C (most scripting languages > > > are actually implemented in C, so everything you can do in > > > those languages can obviously be done in C). > > > this is a theoretically true but practically useless. > > Well, the OP was asking "if C language is good enough for that";-) true, but implementing a script langauge before you start implementing the real problem may be an indication you've picked the wrong langauge. Though the Lisp metalinguists may disagree as might Fowler's "Domain Specific Languages" > > > But note that C > > > has no "native" support for networking or graphics, thus the > > > need for additional (cross-platform) libraries (unless you're > > > keen to re-invent the wheel;-). For TFTP and other protocols > > > libcurl seems to be a candidate to take a look at. I don't > > > know about BOOTP (wasn't that obsoleted by DHCP?). For gra- > > > phics the only cross-platform library for C I know about is > > > GTK+ (but I never used it) - most other seem to require C++. > > > openGL, Qt > > I fear using OpenGL for a simple GUI might not be too > suitable since it's a rendering library and what you > want for most simple GUIs is a set of widgets you can > easily manipulate, I've used an inhouse GUI tool that was built on top of OpenGL, though of course building that's extemly non-trivial! There's GLUT that claims to be a GUI interface which isn't what OpenGL meant for > if I didn't mis-understand its purpose. Qt is defini- > tely C++ and I guess it could be a real pain if one > would try to marry it to a C program... > > Regards, Jens > -- > \ Jens Thoms Toerring ___ jt@toerring.de > \__________________________ http://toerring.de On Friday, April 27, 2012 6:07:08 PM UTC+1, Jens Thoms Toerring wrote: > nick_keighley_nospam@hotmail.com wrote: > > On Thursday, April 26, 2012 8:54:40 PM UTC+1, Jens Thoms Toerring wrote: > > > Of course, all this can be done in C (most scripting languages > > > are actually implemented in C, so everything you can do in > > > those languages can obviously be done in C). > > > this is a theoretically true but practically useless. > > Well, the OP was asking "if C language is good enough for that";-) > > > > But note that C > > > has no "native" support for networking or graphics, thus the > > > need for additional (cross-platform) libraries (unless you're > > > keen to re-invent the wheel;-). For TFTP and other protocols > > > libcurl seems to be a candidate to take a look at. I don't > > > know about BOOTP (wasn't that obsoleted by DHCP?). For gra- > > > phics the only cross-platform library for C I know about is > > > GTK+ (but I never used it) - most other seem to require C++. > > > openGL, Qt > > I fear using OpenGL for a simple GUI might not be too > suitable since it's a rendering library and what you > want for most simple GUIs is a set of widgets you can > easily manipulate, which isn't what OpenGL meant for > if I didn't mis-understand its purpose. Qt is defini- > tely C++ and I guess it could be a real pain if one > would try to marry it to a C program... > > Regards, Jens > -- > \ Jens Thoms Toerring ___ jt@toerring.de > \__________________________ http://toerring.de
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
High-level network programming: is C language suitable for that? pozz <pozzugno@gmail.com> - 2012-04-26 18:50 +0200
Re: High-level network programming: is C language suitable for that? "Heinrich Wolf" <invalid@invalid.invalid> - 2012-04-26 19:03 +0200
Re: High-level network programming: is C language suitable for that? ImpalerCore <jadill33@gmail.com> - 2012-04-26 11:52 -0700
Re: High-level network programming: is C language suitable for that? jt@toerring.de (Jens Thoms Toerring) - 2012-04-26 19:54 +0000
Re: High-level network programming: is C language suitable for that? "BartC" <bc@freeuk.com> - 2012-04-27 10:02 +0100
Re: High-level network programming: is C language suitable for that? pozzugno@gmail.com - 2012-04-27 02:20 -0700
Re: High-level network programming: is C language suitable for that? nick_keighley_nospam@hotmail.com - 2012-04-27 07:27 -0700
Re: High-level network programming: is C language suitable for that? pozz <pozzugno@gmail.com> - 2012-04-27 17:07 +0200
Re: High-level network programming: is C language suitable for that? nick_keighley_nospam@hotmail.com - 2012-04-29 04:08 -0700
Re: High-level network programming: is C language suitable for that? TheGunslinger <mikiesrunsbaal.sec@sbcglobal.net> - 2012-04-29 12:57 -0700
Re: High-level network programming: is C language suitable for that? jt@toerring.de (Jens Thoms Toerring) - 2012-04-27 17:07 +0000
Re: High-level network programming: is C language suitable for that? nick_keighley_nospam@hotmail.com - 2012-04-29 04:15 -0700
Re: High-level network programming: is C language suitable for that? Rui Maciel <rui.maciel@gmail.com> - 2012-04-27 19:16 +0100
Re: High-level network programming: is C language suitable for that? jt@toerring.de (Jens Thoms Toerring) - 2012-04-27 22:37 +0000
Re: High-level network programming: is C language suitable for that? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-04-28 03:46 -0700
Re: High-level network programming: is C language suitable for that? nick_keighley_nospam@hotmail.com - 2012-04-29 04:37 -0700
Re: High-level network programming: is C language suitable for that? Robert Miles <milesrf@Usenet-News.net> - 2012-05-28 21:13 -0500
Re: High-level network programming: is C language suitable for that? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-04-27 00:57 -0700
Re: High-level network programming: is C language suitable for that? Rui Maciel <rui.maciel@gmail.com> - 2012-04-27 10:56 +0100
csiph-web