3 ms·
Are you talking about perl 5 or perl 6?
by throwaway27448 8mo ago
Are you talking about perl 5 or perl 6?
- topspin 8mo ago5 has this. There are modules that get you to function signatures and type constraints. It's all opt-in and, as was said, you have to nudge LLMs to use it, but they can and the results are indeed better.
- tasty_freeze 8mo agoWhat kind of performance impact does it have? Obviously it depends on the specific program, but let's say the worst case scenario, something like a recursive implementation of the factorial function.
- topspin 8mo ago> What kind of performance impact does it have? Minor. Faster unpacking of @_, but it's not a huge win until you have a lot of arguments. The conventional Perl 5 interpreter has no JIT to leverage the benefits of stronger types, inline functions, unroll loops, etc. A factorial function has few arguments, so the unpack gain will be small to nothing.
- jasonjayr 8mo agoA few years ago; perl 6 renamed itself to 'raku', so the perl 5 folks can continue to improve/maintain the original 'perl'.