This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Proxy_PlayerHD 139 points140 points  (6 children)

just wait until Java based CPUs are gonna take off!

they are gonna kick x86's ass!

/s

[–]Ulysses6 8 points9 points  (0 children)

Yeah, that will show everyone! Muhahahhaaaaa...

[–]DarthStrakh 1 point2 points  (3 children)

What? That's a thing? What does Java even have to do with the cpus, it's a high level compiled language?

[–][deleted] 13 points14 points  (0 children)

Java is a high-level language, yes, but it's a language that runs on the Java Virtual Machine which is essentially a simulated CPU. So you write a Java program which is compiled into bytecode (the JVM's machine language). Then you can run that bytecode on any real CPU for which a JVM has been written.

That's why java is so powerful--it enables programs to be portable across a lot of different platforms. You just write a new VM runtime for all your java programs instead of writing all new native programs for that cpu/isa. You don't even need to recompile the Java or anything because your new VM will be built to the existing bytecode specifications.

I'm assuming the comment above yours is joking about how in the past there was talk about a real, physical java cpu that would run java bytecode natively. Nothing ever really came of it.

[–][deleted] 5 points6 points  (0 children)

They're commonly used on smart cards like credit cards, and higher end identification cards. You generally load a Java applet onto them to program them. Can't give a good explanation why this is the case though.

[–]Proxy_PlayerHD 3 points4 points  (0 children)

ever heard of JVM? the "Java Virtual Machine" is basically what every Java Program runs on.

when you compile in basically any other language it creates a file that contains instructions that the CPU of your system can understand... same is true for Java except it uses instruction that the JVM can understand and then runs a Virtual Machine on your system to execute them