Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't it be easier to use JavaScript?

    PixQL: SELECT WHERE COLOR = #FF0000FF; OPERATE SET COLOR = #00FF00FF
    JS   : if (rgba=='FF0000FF') rgba='00ff00ff'

    PixQL: OPERATE SET G = R
    JS   : g=r

    PixQL: SELECT WHERE ROW % 100 = 0 OR COL % 100 = 0; OPERATE SET COLOR = WHITE
    JS   : if (!(row%100) || !(col%100)) rgba="ffffffff"



No I'm pretty sure it would be easier (aka shorter) using 7zipped brainfuck.


I don't see how that's any easier.


maybe. but as it stands, so long as you can compile it, it doesn't need any external libraries or installs or anything like that, which is something I value (I assume your post is hinting at using node, rather than some in-browser thing... if not, there are plenty of other reasons I prefer to keep it out of the browser hah).




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: