Replies: 1 comment
-
|
Thanks for sharing :) In theory, if the need ever arises, most of the pieces for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I read today this article about how generics in Go are slower than "normal" functions, and how the author needed to duplicate code in the hotpath to squeeze out more performance, unlike languages such as C++ and Rust with their "zero-cost abstractions".
One of the problems he sees, is that Go lacks a way to annotate functions as inline or that they should be made non-generic for performance reason.
One advantage of Lisette is that it is in practice a code generator and it could introduce those things, since it would mostly mean to generate more Go code. This would add to Lisette's benefits, also faster code than the one written by hand directly in Go.
Beta Was this translation helpful? Give feedback.
All reactions