Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #90419 > unrolled thread
| Started by | jacobnavia <jacob@jacob.remcomp.fr> |
|---|---|
| First post | 2016-07-15 23:36 +0200 |
| Last post | 2016-08-02 13:20 -0700 |
| Articles | 4 on this page of 164 — 22 participants |
Back to article view | Back to comp.lang.c
High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-15 23:36 +0200
Re: High level C supercat@casperkitty.com - 2016-07-15 15:17 -0700
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-16 09:09 +0200
Re: High level C supercat@casperkitty.com - 2016-07-17 20:02 -0700
Re: High level C Keith Thompson <kst-u@mib.org> - 2016-07-15 15:17 -0700
Re: High level C fir <profesor.fir@gmail.com> - 2016-07-31 23:55 -0700
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-15 23:27 +0100
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-16 09:13 +0200
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-16 02:07 -0700
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-16 11:07 +0100
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-16 03:29 -0700
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-16 13:40 +0100
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-17 11:57 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-16 11:30 +0100
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-16 03:43 -0700
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-16 13:53 +0100
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-16 07:49 -0700
Re: High level C Jean-Marc Bourguet <jm@bourguet.org> - 2016-07-16 17:08 +0200
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-16 09:09 -0700
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-16 16:26 +0100
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-16 18:05 +0200
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-16 20:15 +0100
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-16 23:44 +0200
Re: High level C raltbos@xs4all.nl (Richard Bos) - 2016-07-23 19:39 +0000
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-23 22:58 +0200
Re: High level C raltbos@xs4all.nl (Richard Bos) - 2016-07-27 14:52 +0000
Re: High level C Richard Heathfield <rjh@cpax.org.uk> - 2016-07-27 16:29 +0100
Re: High level C raltbos@xs4all.nl (Richard Bos) - 2016-07-23 19:38 +0000
Re: High level C BartC <bc@freeuk.com> - 2016-07-16 14:17 +0100
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-16 13:46 +0100
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-17 12:05 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-17 11:03 +0100
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-17 03:39 -0700
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-17 18:20 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-17 14:00 +0100
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-17 23:13 +0530
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-17 20:14 +0200
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-17 20:14 +0100
Re: High level C BartC <bc@freeuk.com> - 2016-07-17 20:45 +0100
Re: High level C Gareth Owen <gwowen@gmail.com> - 2016-07-17 21:00 +0100
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-18 09:48 +0530
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-18 00:55 -0700
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-18 22:25 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-18 11:40 +0100
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-18 05:05 -0700
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-18 22:59 +0530
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-18 22:50 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-18 19:07 +0100
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-19 11:53 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-19 11:15 +0100
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-19 14:00 +0100
Re: High level C BartC <bc@freeuk.com> - 2016-07-19 15:01 +0100
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-19 15:26 +0100
Re: High level C BartC <bc@freeuk.com> - 2016-07-19 15:57 +0100
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-19 17:13 +0100
Re: High level C BartC <bc@freeuk.com> - 2016-07-19 18:14 +0100
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-19 19:20 +0100
Re: High level C BartC <bc@freeuk.com> - 2016-07-19 19:46 +0100
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-20 02:44 +0100
Re: High level C BartC <bc@freeuk.com> - 2016-07-20 10:59 +0100
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-20 03:07 -0700
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-21 01:44 +0100
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-21 18:58 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-21 17:20 +0100
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-21 20:52 +0100
Re: High level C BartC <bc@freeuk.com> - 2016-07-21 21:14 +0100
Re: High level C Keith Thompson <kst-u@mib.org> - 2016-07-21 13:23 -0700
Re: High level C BartC <bc@freeuk.com> - 2016-07-21 21:50 +0100
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-22 12:52 +0200
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-22 04:03 -0700
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-22 23:56 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-22 20:09 +0100
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-22 23:49 +0530
Re: High level C BartC <bc@freeuk.com> - 2016-07-22 20:37 +0100
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-19 19:16 +0200
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-19 19:17 +0100
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-19 21:07 +0200
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-20 02:36 +0100
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-19 07:27 -0700
Re: High level C BartC <bc@freeuk.com> - 2016-07-19 16:27 +0100
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-19 08:43 -0700
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-19 19:14 +0100
Re: High level C Jean-Marc Bourguet <jm@bourguet.org> - 2016-07-18 10:08 +0200
Re: High level C Udyant Wig <udyant.wig@gmail.com> - 2016-07-18 23:04 +0530
Re: High level C Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-16 10:18 +0100
Re: High level C raltbos@xs4all.nl (Richard Bos) - 2016-07-23 19:26 +0000
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-25 09:21 -0700
Re: High level C luser droog <luser.droog@gmail.com> - 2016-07-25 10:19 -0700
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-28 10:31 -0700
Re: High level C luser droog <luser.droog@gmail.com> - 2016-07-28 21:13 -0700
Re: High level C supercat@casperkitty.com - 2016-07-29 09:05 -0700
Re: High level C Keith Thompson <kst-u@mib.org> - 2016-07-29 09:30 -0700
Re: High level C supercat@casperkitty.com - 2016-07-29 10:08 -0700
Re: High level C Ike Naar <ike@iceland.freeshell.org> - 2016-07-29 17:57 +0000
Re: High level C supercat@casperkitty.com - 2016-07-29 11:50 -0700
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-31 07:16 -0700
Re: High level C raltbos@xs4all.nl (Richard Bos) - 2016-07-31 14:34 +0000
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-31 14:55 -0700
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-08-01 03:10 -0700
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-01 07:40 -0700
Re: High level C Gareth Owen <gwowen@gmail.com> - 2016-08-01 19:43 +0100
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-08-01 10:21 -0500
Re: High level C raltbos@xs4all.nl (Richard Bos) - 2016-08-03 13:14 +0000
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-05 08:40 -0700
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-08-05 09:28 -0700
Re: High level C fir <profesor.fir@gmail.com> - 2016-08-05 09:55 -0700
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-05 15:51 -0700
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-05 18:43 +0200
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-05 15:43 -0700
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-06 00:52 +0200
Re: High level C raltbos@xs4all.nl (Richard Bos) - 2016-08-10 12:42 +0000
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-11 12:24 -0700
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-07-31 16:42 +0200
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-31 12:59 -0700
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-07-31 17:12 -0500
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-31 17:12 -0700
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-08-01 00:54 -0500
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-01 08:08 -0700
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-08-01 12:58 -0500
Re: High level C Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-08-01 12:25 -0700
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-03 08:44 -0700
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-08-03 11:56 -0500
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-08-03 19:29 +0200
Re: High level C "James R. Kuyper" <jameskuyper@verizon.net> - 2016-08-03 13:45 -0400
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-08-03 13:23 -0500
Re: High level C BartC <bc@freeuk.com> - 2016-08-03 19:27 +0100
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-08-03 21:04 +0200
Re: High level C Gareth Owen <gwowen@gmail.com> - 2016-08-03 20:08 +0100
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-08-03 16:09 -0500
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-08-03 16:06 -0500
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-08-03 23:36 +0200
Re: High level C Les Cargill <lcargill99@comcast.com> - 2016-08-03 19:44 -0500
Re: High level C supercat@casperkitty.com - 2016-08-03 15:03 -0700
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-04 19:17 -0700
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-05 05:48 +0200
Re: High level C Keith Thompson <kst-u@mib.org> - 2016-08-05 08:24 -0700
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-05 18:30 +0200
Re: High level C Keith Thompson <kst-u@mib.org> - 2016-08-05 10:34 -0700
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-05 20:50 +0200
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-05 15:39 -0700
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-06 00:50 +0200
Re: High level C Keith Thompson <kst-u@mib.org> - 2016-08-05 17:08 -0700
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-06 02:23 +0200
Re: High level C raltbos@xs4all.nl (Richard Bos) - 2016-08-06 10:03 +0000
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-06 12:13 +0200
Re: High level C "James R. Kuyper" <jameskuyper@verizon.net> - 2016-08-06 11:10 -0400
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-06 17:40 +0200
Re: High level C "James R. Kuyper" <jameskuyper@verizon.net> - 2016-08-06 11:56 -0400
Re: High level C Melzzzzz <mel@zzzzz.com> - 2016-08-06 17:51 +0200
Re: High level C supercat@casperkitty.com - 2016-08-08 09:12 -0700
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-31 22:07 +0200
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-31 15:05 -0700
Re: High level C Ian Collins <ian-news@hotmail.com> - 2016-08-03 11:22 +1200
Re: High level C Tim Rentsch <txr@alumni.caltech.edu> - 2016-08-03 08:50 -0700
Re: High level C BartC <bc@freeuk.com> - 2016-07-16 01:12 +0100
Re: High level C Jerry Stuckle <jstucklex@attglobal.net> - 2016-07-15 20:16 -0400
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-16 09:17 +0200
Re: High level C Siri Cruise <chine.bleu@yahoo.com> - 2016-07-16 08:20 -0700
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-16 17:24 +0200
Re: High level C Siri Cruise <chine.bleu@yahoo.com> - 2016-07-16 09:24 -0700
Re: High level C carlglassberg@gmail.com - 2016-07-17 14:15 -0700
Re: High level C carlglassberg@gmail.com - 2016-07-17 14:22 -0700
Re: High level C jacobnavia <jacob@jacob.remcomp.fr> - 2016-07-17 23:58 +0200
Re: High level C fir <profesor.fir@gmail.com> - 2016-08-02 13:20 -0700
Page 9 of 9 — ← Prev page 1 2 3 4 5 6 7 8 [9]
| From | carlglassberg@gmail.com |
|---|---|
| Date | 2016-07-17 14:15 -0700 |
| Message-ID | <f67c1370-4857-41e2-853f-d7bda0a9090d@googlegroups.com> |
| In reply to | #90419 |
Hello:
Bignums.dll ?
Just tried it out using your factorial example from <C-tutorial.PDF>, onlt to 1000!
Nice!
Please, some more example uses of Bignums.dll
Carl
---
On Friday, July 15, 2016 at 2:36:36 PM UTC-7, jacobnavia wrote:
> I started working in a better infinite precision integer package. I took
> the code of Tom StDenis from the git repository, and started hacking
> around. It is now much faster than the best optimized code from gcc can
> do, but that is another story.
>
> To distribute the code I think that one of the best ideas is the one
> from BartC. One file, one header, no makefile no nothing.
>
> Well, the library is splitted into several dozens files. I decided to
> write a C program then, that would take all the files and produce a
> single file containing all others.
>
>
> That gives:
> 166 int main(void)
> 167 {
> 168 int res;
> 169 List *fileList = iList.Create(sizeof(SourceFile));
> 170 GlobalIncludes = iDictionary.Create(sizeof(void *),500);
> 171
> 172 res = BuildFileList(fileList);
> 173 if (res) return res;
> 174 res = ProcessFiles(fileList);
> 175 if (res) return res;
> 176 res = Output(fileList);
> 177 return res;
> 178 }
>
> I build a list of files, then process them and output the result.
> Nothing earth shattering here. But it was nice to be able to express it
> like that.
>
> Yes, C++ does that since a while now. But then, you have to cope with
> C++, STL, class inheritance, templates, and many other things I do not
> care about. I just want to do a list of files, then build them into one,
> not a big deal really, and nothing that requires classes, templates or
> whatever. I use a plain C package that is very simple.
>
> I make a list of source files. Then I need a list of all the includes in
> all files to generate a single list of includes, without repeating them.
> I will output that at the head of the result file.
>
> Then, I get this:
>
> static int BuildFileList(List *file_list)
> {
> /* Read all the contents of the file called "filelist.txt" into a string
> list of lines. Why bother giving parameters to this program?
> Just keep it simple and assume filelist.txt
> */
> strCollection *files =istrCollection.CreateFromFile("filelist.txt");
> /* Abort if there is no list of files to process */
> if (files == NULL) return -1;
> /* Let's go through each line, creating a file descriptor into an
> extended list */
> Iterator *it1 = istrCollection.NewIterator(files);
> /* This structure wxill contain the info gathered for each source
> file */
> SourceFile thisFile;
> char *Filename;
>
> /* Fill the structure that holds information about the file, its name,
> the includes it uses, and other fields maybe later. This part is ellided
> here.
> */
> return 0;
> }
>
> Then, I process all lines of all files, using the ccl iterators. I
> detect (with a very crude strstr :-( not very sophisticated) the include
> lines, put them in a hash table that keeps all unique keys, and output
> them later with an iterator, after outputting the copyright notice of
> Tom StDenis.
>
> Throw away C programs where C works as a fast and powerful scripting
> language. C comes with a garbage collector if you want one, so all that
> stuff about constructors, destructors and whatever falls away. How much
> easier!
>
> No lambdas, no complicated constructs but as powerful as anything else.
> C++ was originally written in C and for C. The fad was in that time,
> "object oriented" programming and everything should have a class and
> inherit to reuse the code. Sceptics were classified as folks that just
> didn't understand anything about data processing.
>
> And then it went downwards, till today. Object oriented programming is
> no longer "en vogue" and the fad went for templates, now lambdas, and
> tomorrow whatever computer science students learn at the university,
> where those fads are fabricated.
>
> What is nice about C precisely, it is the total lack of assumptions (I
> would say pretention) of imposing some conecpt into your data. I wanted
> to process a list of files and if that list is a class, or a template,
> or whatever, it is of no importance.
>
> It is a list of lines period.
>
> C doesn't prescribe anything but that doesn't mean you can't have a list
> easily built when you take some time. I took that time and it is nice to
> use.
>
> Don't like mine?
>
> Build yours!
>
> jacob
>
> P.S. In this newsgroup religion appearas to be an important topic. Is
> the CCL a religion? Am I a prohet? Am I preaching the "way of the CCL"?
>
> Maybe,
>
> who knows what can happen in a hacker's mind.
[toc] | [prev] | [next] | [standalone]
| From | carlglassberg@gmail.com |
|---|---|
| Date | 2016-07-17 14:22 -0700 |
| Message-ID | <ee724ff5-76d7-495f-94c5-59f6e76bed7d@googlegroups.com> |
| In reply to | #90419 |
Hello:
Bignums.dll ?
Just tried it out using your factorial example from <C-tutorial.PDF>, but only to 1000!
Nice!
Q. Does Bignums.dll use garbage collection or do we need to deallocate big integers?
Please, some more example uses of Bignums.dll
Carl
On Friday, July 15, 2016 at 2:36:36 PM UTC-7, jacobnavia wrote:
> I started working in a better infinite precision integer package. I took
> the code of Tom StDenis from the git repository, and started hacking
> around. It is now much faster than the best optimized code from gcc can
> do, but that is another story.
>
> To distribute the code I think that one of the best ideas is the one
> from BartC. One file, one header, no makefile no nothing.
>
> Well, the library is splitted into several dozens files. I decided to
> write a C program then, that would take all the files and produce a
> single file containing all others.
>
>
> That gives:
> 166 int main(void)
> 167 {
> 168 int res;
> 169 List *fileList = iList.Create(sizeof(SourceFile));
> 170 GlobalIncludes = iDictionary.Create(sizeof(void *),500);
> 171
> 172 res = BuildFileList(fileList);
> 173 if (res) return res;
> 174 res = ProcessFiles(fileList);
> 175 if (res) return res;
> 176 res = Output(fileList);
> 177 return res;
> 178 }
>
> I build a list of files, then process them and output the result.
> Nothing earth shattering here. But it was nice to be able to express it
> like that.
>
> Yes, C++ does that since a while now. But then, you have to cope with
> C++, STL, class inheritance, templates, and many other things I do not
> care about. I just want to do a list of files, then build them into one,
> not a big deal really, and nothing that requires classes, templates or
> whatever. I use a plain C package that is very simple.
>
> I make a list of source files. Then I need a list of all the includes in
> all files to generate a single list of includes, without repeating them.
> I will output that at the head of the result file.
>
> Then, I get this:
>
> static int BuildFileList(List *file_list)
> {
> /* Read all the contents of the file called "filelist.txt" into a string
> list of lines. Why bother giving parameters to this program?
> Just keep it simple and assume filelist.txt
> */
> strCollection *files =istrCollection.CreateFromFile("filelist.txt");
> /* Abort if there is no list of files to process */
> if (files == NULL) return -1;
> /* Let's go through each line, creating a file descriptor into an
> extended list */
> Iterator *it1 = istrCollection.NewIterator(files);
> /* This structure wxill contain the info gathered for each source
> file */
> SourceFile thisFile;
> char *Filename;
>
> /* Fill the structure that holds information about the file, its name,
> the includes it uses, and other fields maybe later. This part is ellided
> here.
> */
> return 0;
> }
>
> Then, I process all lines of all files, using the ccl iterators. I
> detect (with a very crude strstr :-( not very sophisticated) the include
> lines, put them in a hash table that keeps all unique keys, and output
> them later with an iterator, after outputting the copyright notice of
> Tom StDenis.
>
> Throw away C programs where C works as a fast and powerful scripting
> language. C comes with a garbage collector if you want one, so all that
> stuff about constructors, destructors and whatever falls away. How much
> easier!
>
> No lambdas, no complicated constructs but as powerful as anything else.
> C++ was originally written in C and for C. The fad was in that time,
> "object oriented" programming and everything should have a class and
> inherit to reuse the code. Sceptics were classified as folks that just
> didn't understand anything about data processing.
>
> And then it went downwards, till today. Object oriented programming is
> no longer "en vogue" and the fad went for templates, now lambdas, and
> tomorrow whatever computer science students learn at the university,
> where those fads are fabricated.
>
> What is nice about C precisely, it is the total lack of assumptions (I
> would say pretention) of imposing some conecpt into your data. I wanted
> to process a list of files and if that list is a class, or a template,
> or whatever, it is of no importance.
>
> It is a list of lines period.
>
> C doesn't prescribe anything but that doesn't mean you can't have a list
> easily built when you take some time. I took that time and it is nice to
> use.
>
> Don't like mine?
>
> Build yours!
>
> jacob
>
> P.S. In this newsgroup religion appearas to be an important topic. Is
> the CCL a religion? Am I a prohet? Am I preaching the "way of the CCL"?
>
> Maybe,
>
> who knows what can happen in a hacker's mind.
[toc] | [prev] | [next] | [standalone]
| From | jacobnavia <jacob@jacob.remcomp.fr> |
|---|---|
| Date | 2016-07-17 23:58 +0200 |
| Message-ID | <nmgv27$krj$1@dont-email.me> |
| In reply to | #90489 |
Le 17/07/2016 à 23:22, carlglassberg@gmail.com a écrit : > Q. Does Bignums.dll use garbage collection or do we need to deallocate big integers? The GC will catch everything, bignums included
[toc] | [prev] | [next] | [standalone]
| From | fir <profesor.fir@gmail.com> |
|---|---|
| Date | 2016-08-02 13:20 -0700 |
| Message-ID | <c22d911f-87e5-4960-8f45-35231e00d1c0@googlegroups.com> |
| In reply to | #90419 |
W dniu piątek, 15 lipca 2016 23:36:36 UTC+2 użytkownik jacobnavia napisał: > > And then it went downwards, till today. Object oriented programming is > no longer "en vogue" and the fad went for templates, now lambdas, and > tomorrow whatever computer science students learn at the university, > where those fads are fabricated. > 'high level' is also a fad (yawn) those all 'ideologies' are heavily on a side of main/stream/of\doing/things what i realized like some 3-4 years ago and repeated it many times - when you realize it you sadly realize (what i also realized) that all this group is heavily 'deranged' and discuss most lunatic ideologies which totally stops all in the dead point - instead of change ways and discuss not fads/ideologies but 'real things'... for some reason though people are unable to do it (probably the reason is that people here are old, and old people only want to repeat what thay know instead of hardstream of working hard on something new) (though this is som ekind of hypothesis only as i got no clear view on this things - im 40 soon and feel totally to tired to do something)
[toc] | [prev] | [standalone]
Page 9 of 9 — ← Prev page 1 2 3 4 5 6 7 8 [9]
Back to top | Article view | comp.lang.c
csiph-web