On Friday, 1 July 2016 21:34:10 UTC+3, Andrew Mezoni wrote: > > >> The generic dilemma is this: *do you want slow programmers, slow > compilers and bloated binaries, or slow execution times?* > > (The Java approach.) Box everything implicitly. > This slows execution. > > I just want to add some clarification. > This does not slows a whole execution. > All that works fast will remain the same fast. > > Of course, new (generic) code will be slightly slower by the following > reasons. > 1. Information about the types will be obtained not at the compile time > but at the runtime (this requires a some time to access this information). >
Go has to run in environments where runtime code-generation / modification is not allowed. (https://docs.google.com/document/pub?id=1IXHI5Jr9k4zDdmUhcZImH59bOUK0G325J1FY6hdelcM) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.