Replies: 1 comment
-
For Uint, I wrote a helper file to auto-cast "int" to "Uint" automatically. All the casting made the code less readable. |
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
-
The casting for simple things makes the language less fun e.g.
buf[int(index)]
,arr[int(index)]
. For example, using a 32-bit index value to enhance performance on the GPU.Should Codon at least know how to handle this simple use-case?
Beta Was this translation helpful? Give feedback.
All reactions