News for hackers. Stuff that matters.
Re:What is the best way to solve an Objective-C namespace co... by pjmlp on Sunday May 20, 2012 @03:29AM (#3998213)
> If you're running in a virtual machine you have a lot more flexibility to solve these kinds of problems, of course.

Why so? Since the late 70's every language that supports modules has already solved this problem, and many of them have native code compilers.

Re:What is the best way to solve an Objective-C namespace co... by cageface on Sunday May 20, 2012 @12:38PM (#3999222)
In a vm you can do dynamic loading and bytecode manipulation tricks that are much harder to do in native code. Look at all the crazy AOP stuff people have done on the JVM.
Re:What is the best way to solve an Objective-C namespace co... by pjmlp on Sunday May 20, 2012 @01:28PM (#3999395)
You can do the same in native code, it just a bit harder to do.

That is how you do cool demoscene stuff in 4096K or less, with lots of self rewriting code.