B
BartC
Joe. said:What is "The 'CCL' library" in your mind Bart?
The one in the subject line.
Joe. said:What is "The 'CCL' library" in your mind Bart?
My own view is that C isn't the right language for generic containersI don't use lcc, but I am interested in the work he is doing with this
library. So what's wrong with posting updates here? Do you prefer
reading yet more contrived examples of undefined behaviour?
My own view is that C isn't the right language for generic containers
libraries, partly because of the dependency problem, but partly
because it's as easy to manipulate pointers on an ad hoc basis as to use an
interface. I'm not sure whether that says something good or something bad
about C.
But I don't have a problem with Jacob discussing his project here. Particuarly
since he's started the process of trying to get the library standardised. It
seems clearly topical.
You missed the message entirely apparently. As in, "major faux paus"?
בת×ריך ×™×•× ×©×™×©×™, 8 ×‘×™×•× ×™ 2012 21:55:22 UTC+1, מ×ת Ian Collins:
My own view is that C isn't the right language for generic containers
libraries, partly because of the dependency problem, but partly
because it's as easy to manipulate pointers on an ad hoc basis as to usean
interface.
I'm not sure whether that says something good or something bad
about C.
But I don't have a problem with Jacob discussing his project here. Particuarly
since he's started the process of trying to get the library standardised.. It
seems clearly topical.
agreed
I think that is the way most people think and act ("in my EXPERIENCE"): . I
do not understand such behavior. There are other behaviors I don't
understand.
Did you just say that the world revolves around you?
idiot.
Hi
I have uploaded a new "templated" version of the double linked list
container, and updated the documentation.
You missed the message entirely apparently. As in, "major faux paus"?
BartC said:The one in the subject line.
Go onto my website. Go to binary image processing, binary utilities.strongly diagree! For 1. it isn't *that* easy (or clear), for 2. you really shouldn't be mixing conatiner code with application code. programming issupposed to be about abstraction- so use some! I seem to have spent an inordinate amount of time debugging (other people's) linked list, queues and stacks.
Hi
I have uploaded a new "templated" version of the double linked list
container, and updated the documentation.
Go onto my website. Go to binary image processing, binary utilities.
You'll find a floodfill routine. It contains an ad hoc and not particularly
efficient implementation of a queue. Now rewrite it using Jacob's container
library.
Do you think you've got something better or worse?
If a library can compile on more than one C compiler (as you stated) then please continue announcing updates here.
Also it helps to develop a thick skin.
These are all advantages. To get 3 and arguably 2 queues need to be in the language. 1 is often cited as an advantage, because it seems so obvious. Itisn't really. Anyone with a few hours' exposure to C should be able to write strcpy(). Thne function's still useful, because it's a standard way of performing a commonly needed operation. The same's almost true of queues.Le 07/07/12 14:14, Malcolm McLean a écrit :
1) Since the ccl would be in the language you wouldn't need to
1.A: Write the code for a queue
1.B: Debug it
2) Since after a few years of usage implementations would improve
you would use better code than what you can write in a few hours.
3) If your software interfaces with other software, the ccl gives you
an easy way of returning queues to the other sofwtare without
writing yet adapter software.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.