Yesterday I’ve downloaded the new test version of VMWare Workstation 8 for Linux. After a short installation I was able to create a Windows 7 32-Bit VM with 4 Cores and 3GB Ram.
After this, I played a little bit around and was suprised at the very good performance while using more than only onre core in the VM. I can remember, that in VMWare Workstation 7 the VM was getting slower when I was using more than one core at all.
Because of the new problems with WINE and League of Legends (actually it is possible to get LoL running with WINE again, but the performance now is horrible) I’ve started to test LoL under this Virtual Machine … and I was totally blown away from the performance.
As in VMWare Workstation 7 I had only like 30 FPS when I was on low details, in VMWare Workstation 8 I get automatically the highest possible settings (expect from shadows) and get a stable 60 FPS Framerate. Even in teamfights my FPS never drop under the 30 FPS sum.
For me it is amazing what VMWare has done here! These days, I will test some more games and will come back here if I have some new informations … stay tuned 😉
Actually I’m playing around with Java after more than 3 years of development with C#. The reason is the easy and flexibel crossover platform development possibility.
I like C# as a language, but I dislike the .NET Framework. For me as a Linux user, .NET is useless. Sure, there is Mono, but in my opinion, Mono have to prove oneself before I would go with this solution.
Because of this reason, I searched at the Internet for some other languages, which I can choose as an alterantive and the most people said that there is Java at the nearst alternative to C#.
I’ve made some “Hello World” tests and than I came to the point, which I wanted to read out some user console input. With C# you easily go with “Console.ReadLine”, but with Java, you have to do some more. For everbody who has the same problem as me (to find a short an easy example to do that) here is a short code snippet of what I have done:
BufferedReader bin = new BufferedReader(new InputStreamReader(System.in));
String foo = bin.readLine();
System.out.println(“You said: ” + foo);
As you can see, there is also an “readLine” function available under Java, but you have to create an object with an InputStreamReader so that you can use it.
Now, when you try to compile the whole thing, you will get an error message, that the IOException is not handeled. This is necessary and so we have to add this to the main function:
The Complete main function will look like this now:
public static void main(String args) throws IOException
At least don’t forget to import the needed libs:
Now, you should be able to enter something and get an output of your entered sentence / word.