diff --git a/2024/kurdyukov4/index.html b/2024/kurdyukov4/index.html index 33d2204ac..717428700 100644 --- a/2024/kurdyukov4/index.html +++ b/2024/kurdyukov4/index.html @@ -25,14 +25,14 @@ - - + + - - - + + + @@ -447,7 +447,7 @@ C code Makefile Inventory - ✓ + ✓ @@ -474,7 +474,12 @@ Location: RU - Russian Federation

To build:

    make all
-

XXX - It is necessary to avoid collisions with C keywords when generating names for variables, for example: if do asm int for EOF.

+

Bugs and (Mis)features:

+

The current status of this entry is:

+
+

STATUS: INABIAF - please DO NOT fix

+
+

For more detailed information see 2024/kurdyukov4 in bugs.html.

To use:

    ./prog < data > out.c

Try:

@@ -639,7 +644,7 @@ Jump to: top

Coda

- Nu HTML check this web page
+ Nu HTML check this web page
Jump to top Jump to Content Jump to Inventory

diff --git a/bugs.html b/bugs.html index 93b669ed1..33e9af6ab 100644 --- a/bugs.html +++ b/bugs.html @@ -3659,24 +3659,15 @@ The English name of tha

2024/kurdyukov4

Jump to: top

-

STATUS: known bug - please help us fix

+

STATUS: INABIAF - please DO NOT fix

Source code: 2024/kurdyukov4/prog.c

Information: 2024/kurdyukov4/index.html

-

In fixing this bug you will come to a better appreciation of how the -code was able to process random data files as large as 64K.

-

If you provide a random data set of about 100K bytes, the resulting C program, after taking some time, will compile:

-
    dd if=/dev/urandom bs=100K count=1 | ./prog > out.c
-

However if increase the size of the random data set to 128K bytes, the resulting out.c C program:

-
    dd if=/dev/urandom bs=128K count=1 | ./prog > out.c
-    cc out.c -o out
-

will fail to compile with errors such as:

-
    out.c:2:...: error: expected identifier or '('
-    out.c:2:...: error: expected ';' at end of declaration
-    out.c:2:...: error: use of undeclared identifier 'Z'
-

Can you fix prog.c to successfully process very large random data sets: perhaps into the gigabyte size range or larger?

-

How long does it take to compile the resulting out.c source?

-

Even better, can you fix prog.c while maintaining its style and source code layout, all without -making the source code significantly larger?

+

The 2024/kurdyukov4/try.sh script +will very likely run into problems such as compile taking a long time, +compilers crashing and/or executables crashing when used with random +input sizes larger than 64K bytes.

+

PLEASE NOTE: The above problems are NOT code bugs. They represent compiler mis-features, +linker limitations, and/or architecture limitations.

Jump to: top


@@ -3690,6 +3681,8 @@ fixes] via a GitHub pull request or otherwise, we thank you as well for the help! We will happily add you to the thanks file as well.

+

For more information see the “Large input size issues” section of +2024/kurdyukov4/index.html.

Jump to: top