Hacker News new | ask | show | jobs
by Aaronepower 3775 days ago
Well components, are purely static. They are the equivalent of text expansion, or string interpolation.

A Function's logic, isn't defined in Polly. You have to define it in Rust. This moves all the logic to your Rust server, where your logic should be. It also provides the advantage of being compiled, and optimised with the program, rather than if Polly defined it's own syntax for functions, and logic, and trying to parse that out at run-time.