News for hackers. Stuff that matters.
Re:Notch live coding 0x10c by JeanPierre on Saturday April 07, 2012 @03:25PM (#3811862)
Yeah, that's hotswap in practical use. When using debug mode in Eclipse, you're able hotswap - which basically means that you can change the content of a method while the program is running. When the method is called again, the new content will be executed.
Re:Notch live coding 0x10c by yellowbkpk on Saturday April 07, 2012 @04:40PM (#3812067)
Just a point of information: he can't do that here because the Java/OpenGL interface is all static Java methods (which only get loaded when the class loads the first time).
Re:Notch live coding 0x10c by julian37 on Saturday April 07, 2012 @05:12PM (#3812151)
I might be missing something, but how is that relevant? Surely there's no need to hot-swap any OpenGL API methods, right?

EDIT: Also, I googled a bit and I can find no indication that HotSwap doesn't work for static methods. Are you sure you're not spreading misinformation here? See for instance http://stackoverflow.com/a/9466778

Re:Notch live coding 0x10c by TazeTSchnitzel on Sunday April 08, 2012 @10:25AM (#3813909)
He was doing it here though.
Re:Notch live coding 0x10c by bobobjorn on Saturday April 07, 2012 @04:51PM (#3812090)
you can also do it with jrebel, which can reload alot more then debug mode.