Aaronepower
Re:CLI: Improved
on Friday August 31, 2018 @08:15AM (#17884856)
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....
Show HN: Tokei, a fast command line code counter written in Rust
Re:Microsoft Replaces Command Prompt with PowerShell in Latest Windows...
on Friday November 18, 2016 @09:30AM (#12986974)
What you're thinking of is PascalCase
Re:Show HN: Polly: A templating language for Rust
on Wednesday February 24, 2016 @05:38AM (#11165765)
The syntax of Jinja is completely different to Polly's. If you're really persistent about using Jinja, you should probably use Jinja2-c.
Re:Show HN: Polly: A templating language for Rust
on Wednesday February 24, 2016 @05:35AM (#11165752)
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.
Re:Show HN: Polly: A templating language for Rust
on Wednesday February 24, 2016 @05:23AM (#11165710)
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.