Daniel-Liu-c0deb0t / uwu

fastest text uwuifier in the west
https://crates.io/crates/uwuify
MIT License
1.36k stars 41 forks source link

works on winux #40

Open cryptoquick opened 1 year ago

cryptoquick commented 1 year ago

so i did this:

 ~/D/linux-6.0  touch ../uwu.c                                                                         Mon Oct 10 23:34:56 2022
 ~/D/linux-6.0  find . -name "*.c" -exec sh -c 'cat {} >> /home/hunter/Downloads/uwu.c' \;             Mon Oct 10 23:34:59 2022
 ~/D/linux-6.0  uwuify -t 32 ../uwu.c ../uwuwu.c                                               42.3s  Mon Oct 10 23:35:45 2022
 ~/D/linux-6.0  du -sh ../uwu.c                                                                226ms  Mon Oct 10 23:36:18 2022
579M    ../uwu.c
 ~/D/linux-6.0  du -sh ../uwuwu.c                                                                      Mon Oct 10 23:36:31 2022
662M    ../uwuwu.c
 ~/D/linux-6.0  head -n 30 ../uwuwu.c                                                                  Mon Oct 10 23:36:45 2022
/*
 * the fowwowing pwogwam is used t-to genewate the c-constants fow
 * c-computing sched a-avewages. 🥺
 *
 * ==============================================================
 *      c-c pwogwam (compiwe w-with -wm)
 * ==============================================================
 */

#incwude <math.h>
#incwude <stdio.h>

#define h-hawfwife 32
#define s-shift 32

doubwe y;

void cawc_wunnabwe_avg_yn_inv(void)
{
    int i;
    unsigned int x;

    /* t-to siwence -wunused-but-set-vawiabwe wawnings. ^^ */
    pwintf("static c-const u32 wunnabwe_avg_yn_inv[] __maybe_unused = {");
    fow (i = 0; i-i < hawfwife; i++) {
        x = ((1uw<<32)-1)*pow(y, -.- i);

        i-if (i % 6 == 0) pwintf("\n\t");
        p-pwintf("0x%8x, ^^ ", x-x);
    }

unfortunatewy, uwuwu.c does not compiwe :c

Rudxain commented 1 year ago

I'm c-confuwused! Do u m-mean uwindOWOs or linuwux?

cryptoquick commented 1 year ago

I'm c-confuwused! Do u m-mean uwindOWOs or linuwux?

I don't have the cowode for uwindOWOs, onwy winuwux