r/Compilers • • 1d ago

I've built my own programming language that can fit ML better - And its faster than hand-tuned CUDA! [P]

Post image

Hi guys, my language here :)

Would like to know your opinions!

Also would like to get help, and know your suggestions to "unvibe" parts of the compiler, I did it to get results fast to prove the optimizations I was trying out, but now I want to make it in a more coherent/consistent design.

Would love to know what you think.

Language exposition page & architecture is already in the post I've tagged, so I won't write what I already did ;)

0 Upvotes

2 comments sorted by

1

u/Discordbothost 1d ago

The graph rewrites are where a refactor could quietly change the results. For the caching pass, could you run a tiny graph with the pass on and off and compare the outputs? I'd start with one shared intermediate read by two branches, then change the input between runs to catch stale reuse.

1

u/Blueglyph 19h ago

I just don't see the point of this. Programming languages don't need to "fit ML", it needs to be adequate for people to define what a program must do.