Jeffrey Wilcke

Results 10 issues of Jeffrey Wilcke

Arrays should always be passed as a ptr instead of refernce. **current undesired** ``` go func fn(var *a) { a[0] = 10 // etc } var[2] b fn(&b) ``` **desired**...

Check for unused variables. Declaring variables costs `gas` so an error should be emitted if there are unused ones.

enhancement

Add an extra step during compile which checks for function usage, after which we could simply remove uncalled functions. A simple counter on how many times a function gets called...

enhancement

Figure out if an escape analysis is feasible / overkill. If you were to analyse the following code, the analysis will return `escaped` ``` go func fn() var { var...

enhancement

The following parts of the compiler require cleaning up or refactoring - [ ] General helpers - figure out which helpers can be merged and which can be removed. Helpers...

enhancement

Added an extra conditional build statement for Apple Silicon architecture.