News for hackers. Stuff that matters.
Re:An NES emulator written in Go by recursivetheme on Thursday January 08, 2015 @12:48AM (#8855165)
Impressive! How did they manage to build something some complex without generics?
Re:An NES emulator written in Go by kid0m4n on Thursday January 08, 2015 @03:06AM (#8855460)
If he had generics, he could have written an emulator for ALL devices in one Go. In the same amount of code (probably lesser) to boot!
Re:An NES emulator written in Go by jamiltron on Thursday January 08, 2015 @01:52AM (#8855296)
You do realize that significantly more complex software has been written for decades without the use of generics, right?
Re:An NES emulator written in Go by lloeki on Thursday January 08, 2015 @02:38AM (#8855395)
I think you missed the irony.
Re:An NES emulator written in Go by commentzorro on Thursday January 08, 2015 @06:17AM (#8855898)
They did use generics via Go's research into "explicit generics." Sort of like Dependency Injection, Go's Explicit Generics allow you to "wire up" types in "code files" for proper use later at run time.
Re:An NES emulator written in Go by placeybordeaux on Thursday January 08, 2015 @11:13AM (#8857007)
Its a joke.
Re:An NES emulator written in Go by shaan7 on Thursday January 08, 2015 @03:13AM (#8855481)
well, you know, there is always copy and paste ;)
Re:An NES emulator written in Go by pjmlp on Thursday January 08, 2015 @03:09AM (#8855472)
Ctr-C, Ctrl-V

Ctrl-Space, Alt/Meta-W, Ctrl-Y

y, p

Re:An NES emulator written in Go by shaan7 on Thursday January 08, 2015 @03:14AM (#8855483)
bah you were 3 mins faster than me :P
Re:An NES emulator written in Go by WorldWideWayne on Thursday January 08, 2015 @11:36AM (#8857146)
I could build a house without using nails or screws too.