Hacker Newsnew | past | comments | ask | show | jobs | submit | Aaronepower's commentslogin

Well luckily I recently published a new comparison benchmark[0]. :)

The TL;DR is that loc is faster by a few hundred milliseconds depending on repository size, but as cgag mentions doesn't have comment in string detection so can be quite off in its metrics, for example on the Rust repo Tokei says it has 643,754 lines of code where as loc says it's 635,849.

[0]: https://github.com/Aaronepower/tokei/blob/master/COMPARISON....


Awesome! :)


What you're thinking of is PascalCase

https://en.m.wikipedia.org/wiki/PascalCase


Your parent probably meant Kebab as in the dash (skewer-stick) between words.


The syntax of Jinja is completely different to Polly's. If you're really persistent about using Jinja, you should probably use Jinja2-c.


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.


You're right, I didn't explain it there, I'll update it, but you can just escape it with a \ so "bshimmin\@mail.com" would work.


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

Search: