SourceGo
SourceGo copied to clipboard
New Typing Direction
So I'm debating whether to keep Golang's typing instead of adapting it to SourcePawn's (e.g. using Golang int32 to be equivalent to SourcePawn int, float32 being equivalent to SP float. bool the same. uint8 for char.
Here's the current chart I'm scheming up: Format: Golang-version = SP-version
int32=intfloat64=floatbool=booluint8/byte=charuintptr=HandleEntity=int(type alias)Vec3, QAngle=float[3]__function__=Function(SrcGo builtin)any=any
Debating if slices like []int or []float should be backed from ArrayList and remove them from representing arrays of unknown sizes? 🤔