Saturday, August 30, 2003

GCC beats MS VC7.1 pants off

I have just finished the lexer/parser part of my project due on Monday. I thought some benchmarking would be nice. What I didnt realize was the advantage GCC has over VC in a C environment. The implementation only makes use of some of the core CRT libraries.

Tuesday, August 26, 2003

My latest invention/contraption/experiment

Sunday, August 24, 2003

#dev 0.96 - TextEditor still junk

Compare this to what I would like to see (below) from a quality perspective. Also, it still takes the memory of a small country (60-80mb) , and I swear I saw the street lites dim when I loaded it.

When things go wrong...

Saturday, August 23, 2003

Dont you love C compiler error messages?

Here's the Error OTD:
error C2064: term does not evaluate to a function taking 26386312 arguments

Lexical analysis speed

Tokens a second?

Lines a second?

Here is some performance specs for a toy Oberon language (given to us), consisting of 39 keywords and operators, 16-bit numbers, variable length variable names, and nested commenting. Test file is 2.4MB is size and is lexically correct.

Timer(Start) SCAN (context free)
Timer(Stop ) 30294 ms 24353 tokens per second
Lines per second: 6608 (200179 lines)
Total tokens read: 737760

(on an AMD 1600+, 640mb PC133 RAM, statically linked, release mode)

How can one measure the acceptability of ones implementation?

Here comes C

OK. I like C, but learning programming from an OO perspective has killed my ability to write effective C code. O well, easy come, easy go.