Thread with 4 posts
jump to expanded posti love that you can call toString()
on a function in JS and get back its source code. it's not something you should do, but there are so many wonderfully silly applications for it. i love this shit
i had a whimsical idea for a gpu compute library, a few years ago: true single-source programming in c, without changing your build flow. you'd just pass the function pointer to the run_on_gpu() function and it'd work even though it shouldn't. how? parsing x86 assembly at runtime
i never actually implemented it but i still love the idea, and what's great is the javascript equivalent is almost practical :3
@hikari This is probably what CUDA 100 will look like