Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C99

Name: Anonymous 2007-05-08 14:15 ID:q5/F6Oa1

Where can I find a good introduction to the features introduced in C99? I just realized that my C is still stuck with K&R ed. 2.

Name: Anonymous 2007-05-09 23:46 ID:x5vkKwaU

That'd be committing the standard library to just one kind of interface
That's when you'd reinvent a wheel. Right now we're always reinventing the wheel.

I really don't want to be writing (or importing) Yet Another Hash Table anymore. I've done my time, so to speak.

The C stdlib has aged fairly well
To extend the argument, if there was no library, there would be nothing to age. :)

Besides, I disagree to some extent. String handling in particular needs an overhaul.

Plus, being small it's rather easy to learn
That much is true.

Name: Anonymous 2007-05-09 23:47 ID:tdC0Nv94

>>19 ("So wait, remind me what is wrong with 3rd party libraries ?")
Licenses. Either you use a Microsoft compiler (first party, proprietary libraries, non-free GUI compiler) or you face telling your manager that he has to pay for a QT license or whatever else it is that some company created because the standard is too lazy to add stuff that is worth our while. Look at Java's HUEG as in xbox libraries. If C standardized even a quarter of those, we wouldn't have java fanboi-ism, because we could do all the stuff it does without the speed trade-off.

3rd party stuff and licenses cost your job money. And cost you expensive books on training every time the company retools the library or dies.

Name: Anonymous 2007-05-10 0:38 ID:TUTvGr8W

>>42
Or you use libraries that don't have shitty licenses.

Name: Anonymous 2007-05-10 11:44 ID:zaqmWefZ

>>41
There are utility libraries for that sort of thing, as you know. I mentioned "glib" just now; it's even got a sane license on it, and allows for as much ADTey goodness as a C library ever will. (i.e. lots of casting to and from renamed void pointers...)

This way, there's no whining about "why don't you use the standard library ADTs? this is not portable! I don't want to learn yet another library!". I find this a welcome bonus.

Name: Anonymous 2007-05-10 12:42 ID:Heaven

>>44
glib has a sane license?
:checks google:
LGPL is not a sane license.
BSD or MIT or similar or GTFO.

Name: Anonymous 2007-05-10 14:09 ID:Heaven

>>45
Ideology? In _my_ /prog/?

Name: Anonymous 2007-05-10 14:46 ID:Heaven

public domain ftw

Name: Anonymous 2007-05-11 7:12 ID:h5Nj7HeA

The GPL has never been successfully enforced in a court of law, so just enjoy the free code and do what you want with it. And by "free" I mean the conventional sense of the word, not the crap that Stallman made up.

A couple of friends work for a large commercial software house and they stuff plenty of GPL code in the programs. There is virtually no risk and a lot of benefit.

Name: Anonymous 2007-05-11 7:30 ID:JluKkFwB

>>48

"On September 6, 2006 the district court issued its judgement, confirming the
claims by gpl-violations.org, specifically its rights on the subject-matter
source code, the violation of the GNU GPL by D-Link, the validity of the GPL
under German law, and D-Links obligation to reimburse gpl-violations.org for
legal expenses, test purchase and cost of re-engineering."

lawl

Name: Anonymous 2007-05-11 8:00 ID:Heaven

>>48
The GPL has been upheld several times under several jurisdictions.

Name: Anonymous 2007-05-11 8:14 ID:Heaven

NSA can't touch the code for any of the GPL'd software they use, specifically because they'd have to release their changes, which would most likely include secret stuff in it. It's been challenged.

Name: Anonymous 2007-05-11 11:55 ID:DBXl+miH

>>51
Untrue, they are under no obligation to share their code as long as they don't distribute the modified programs.

Also, http://www.nsa.gov/selinux/

Name: Anonymous 2007-05-11 12:37 ID:Heaven

>>52
Interagency distribution counts.

Name: Anonymous 2007-05-11 13:03 ID:GeMUAr/N

You only have to provide the source code to the people you're giving the programs too. Interagency doesn't mean it must be released to the rest of the world, only interagency.

Name: Anonymous 2007-05-11 17:13 ID:QK7mddbe

>>1
Pirate the ISO standard, I've been sharing it in eMule

Name: Anonymous 2007-05-11 17:20 ID:Heaven

>>55
why do that when you can just grab it from http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf?

Name: Anonymous 2007-05-11 17:26 ID:QK7mddbe

>>56
Cause pirating feels good.

Name: Anonymous 2007-05-11 18:14 ID:1Ufe7FYH

Some points I'd agree with on the C standard library:
- Needs threads (boost::thread has these, may become part of C++ standard though)
- Could use networking (SDL_net sucks but it's the only truly cross-platform one I've found)
- Fukken needs unicode or something better than over 9000 incompatible implementations of non-8 bit strings

This stuff keeps me using C++, the boost libraries and the STL are a real boon. It's still not exactly fast to code with.

Name: Anonymous 2007-05-11 19:44 ID:Heaven

>>48
Deriving from software licensed under the GNU GPL is quite all right. The source distribution and licensing bits only kick in when you _distribute_ the actual derived work, whether binary or source.

Last place I worked, we used a GPL'd simple java httpd class in private software. Works a charm, it's never going to be distributed anywhere, everything's cool. Stays on the right side of the GPL, too.

Name: Anonymous 2009-01-14 13:34

Welcome to the botnet

Name: Anonymous 2010-12-17 1:39

Erika once told me that Xarn is a bad boyfriend

Name: Anonymous 2011-02-04 13:10

Name: Sgt.Kabu�ⵠkiman囅ᔯ 2012-05-29 1:29

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List