4 ms·
Make sense, dynamic languages have a lot of conveniences. If having a REPL helps, there are REPLs for interpreted C I meant to refer to "tonumber(oldsize[0])"
by versteegen 11y ago
Make sense, dynamic languages have a lot of conveniences. If having a REPL helps, there are REPLs for interpreted C
I meant to refer to "tonumber(oldsize[0])" used to cast from a ctype size_t to a lua number (doubles) (I missed that's it's also used for casting pointers). Now I realise that this is needed because implicit casting from 64 bit ints to a double would reduce precision. It's just a very minor thing that "for" loop bounds must be lua numbers.