Consider you want to create a class where you can register a set of listeners to be notified when something occurs. For example, this is a class that performs some task and you want to be notified when the task has been completely executed. See this code in Java: How would you implement it in… Continue reading C++11: C++-style listener list
I was playing around with IKVM.NET (www.ikvm.net) and I found it very very interesting. IKVM.NET is a Java Virtual Machine implemented on top of .NET; and though this is already kind of weird, the most interesting thing is that inside IKVM, the Java objects of your Java application are first class objects of the CLR.… Continue reading Java: Writing a Windows Forms application using Java
I am just speculating here and the title of my post is just based on some tests I performed in my spare time; but, according to them, based on dynamic array lists and strings, Java is far faster than C++. The simple Java program is this: As you can see, the test is quite simple,… Continue reading C++: Is Java faster than C++?