vampire
|
|
January 13, 2013, 01:07:36 AM |
|
Thanks, I'm done.
That's one thing we agree on :-)
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5376
Merit: 13410
|
|
January 13, 2013, 05:30:07 AM |
|
in some things java is MUCH faster.
Whenever this is the case (which is rare), the C++ program can always be made faster. The reverse is not true of Java. HotSpot is itself written in C++, so no Java program is going to be faster than an optimal C++ program.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
vampire
|
|
January 13, 2013, 08:33:27 PM |
|
in some things java is MUCH faster.
Whenever this is the case (which is rare), the C++ program can always be made faster. The reverse is not true of Java. HotSpot is itself written in C++, so no Java program is going to be faster than an optimal C++ program. JVM can optimize on a fly for a target CPU, C++ cannot (like detecting if the cpu support SSE3/SSE4.1 instructions, so it would optimize better for Intel or AMD cpus). If you deploy a same binary across 100 different x86 cpus, java would optimize better for each of them - Atom, Pentium 4, AMD, etc. Java in general is faster in memory alloc/dealloc. Java can also optimize the bytecode on the fly, like inlining of the library functions. Can't really do that with static compiling. Why it theoretically possible to implement the same in C++, practically its already done in Java out of the box. Yes, Java would lose to optimally written C++ program.. But when you run a C++ program designed for Intel SSE4.1 on a AMD cpu, java will simply optimize for AMD. I written a lot of C/C++ code, it may be not so bad if you're the only person on the project. But when you have 100 people, Java IS so much better. Strong typing with verbosity helps a lot to understand what the heck 100 people wrote over 5 years.
|
|
|
|
Phinnaeus Gage (OP)
Legendary
Offline
Activity: 1918
Merit: 1570
Bitcoin: An Idea Worth Spending
|
|
January 13, 2013, 10:05:01 PM |
|
I never run Chrome with Java or other plugins active. Won't that cause me to not be able to view YouTube videos? As I've stated in the OP, I haven't a clue.
|
|
|
|
myrkul
|
|
January 13, 2013, 10:22:54 PM |
|
I never run Chrome with Java or other plugins active. Won't that cause me to not be able to view YouTube videos? As I've stated in the OP, I haven't a clue. Youtube vids use flash, not java. Some games use java, but ~95% of computer users will never notice that they've turned off java.
|
|
|
|
davout
Legendary
Offline
Activity: 1372
Merit: 1008
1davout
|
|
January 13, 2013, 10:36:59 PM |
|
wasn't just a bitcoin site hacked because of Ruby on Rails?
You're comparing a language and a framework. Boo.
|
|
|
|
Phinnaeus Gage (OP)
Legendary
Offline
Activity: 1918
Merit: 1570
Bitcoin: An Idea Worth Spending
|
|
January 13, 2013, 11:13:10 PM |
|
I never run Chrome with Java or other plugins active. Won't that cause me to not be able to view YouTube videos? As I've stated in the OP, I haven't a clue. Youtube vids use flash, not java. Some games use java, but ~95% of computer users will never notice that they've turned off java. Would turning off Java speed up the computer?
|
|
|
|
vampire
|
|
January 13, 2013, 11:13:18 PM |
|
wasn't just a bitcoin site hacked because of Ruby on Rails?
You're comparing a language and a framework. Boo. Am I? I am somewhat confused since I haven't heard that Java Applets become a language. Last time I checked it was a framework.
|
|
|
|
myrkul
|
|
January 13, 2013, 11:24:41 PM |
|
I never run Chrome with Java or other plugins active. Won't that cause me to not be able to view YouTube videos? As I've stated in the OP, I haven't a clue. Youtube vids use flash, not java. Some games use java, but ~95% of computer users will never notice that they've turned off java. Would turning off Java speed up the computer? Unless it's set up to always run (a possibility, but not, I think, the default option), no. It's usually something invoked when needed.
|
|
|
|
|
b!z
Legendary
Offline
Activity: 1582
Merit: 1010
|
|
January 18, 2013, 08:21:30 AM |
|
Interesting they only mention disabling it on computers - I'm pretty sure many late model phones use Java too.
I don't think the exploit affects mobile phones, unless i'm wrong
|
|
|
|
scribe
|
|
January 19, 2013, 07:28:08 PM |
|
Anyone know if this stuff affects services running on Java, like Freenet?
|
|
|
|
adamstgBit
Legendary
Offline
Activity: 1904
Merit: 1037
Trusted Bitcoiner
|
|
January 19, 2013, 08:23:51 PM Last edit: January 19, 2013, 09:09:10 PM by adamstgBit |
|
Anyone know if this stuff affects services running on Java, like Freenet?
i think the thing is, you should disable java because someone could write some very dangerous viruses / key logger, and just by visiting a site you could get infected, if you have java enabled just make sure you go to trusted places you should be fine. can someone correct or confirm this ?
|
|
|
|
|
adamstgBit
Legendary
Offline
Activity: 1904
Merit: 1037
Trusted Bitcoiner
|
|
January 19, 2013, 08:51:53 PM |
|
Huh? I think you have no idea what you're talking about. Java is one the best languages out there, C# may be slight better designed. But it doesn't run on 100 platforms. And these securities issues, wasn't just a bitcoin site hacked because of Ruby on Rails? And the best online wallet runs on Java??? LOL.
I have always thought Java sucked... Isn't java an interpreted language and this is why it can run anywhere? my view is that it all sucks balls, everything barely hangs together, the web-code is one half baked idea thrown on top of another, and its only getting more convoluted as time goes on. Time for evolution to kick in and kill off alot of crap? why do i have a feeling its going to take millions of years ?
|
|
|
|
scribe
|
|
January 19, 2013, 10:06:01 PM |
|
Anyone know if this stuff affects services running on Java, like Freenet?
i think the thing is, you should disable java because someone could write some very dangerous viruses / key logger, and just by visiting a site you could get infected, if you have java enabled just make sure you go to trusted places you should be fine. That kind of makes sense, although I guess there are levels of security - untrusted code, and then what it has access to, etc. I have always thought Java sucked... Isn't java an interpreted language and this is why it can run anywhere? my view is that it all sucks balls, everything barely hangs together, the web-code is one half baked idea thrown on top of another, and its only getting more convoluted as time goes on.
As I understand it, Java compilers are pretty efficient these days. Android apps are written in Java apparently - but don't get Java the language confused with Java the compatible-compilers - Android apps don't run on Oracle's Java engine. Oracle seem to be the problem more than "Java" in this case.
|
|
|
|
vampire
|
|
January 20, 2013, 01:29:14 AM |
|
Huh? I think you have no idea what you're talking about. Java is one the best languages out there, C# may be slight better designed. But it doesn't run on 100 platforms. And these securities issues, wasn't just a bitcoin site hacked because of Ruby on Rails? And the best online wallet runs on Java??? LOL.
I have always thought Java sucked... Isn't java an interpreted language and this is why it can run anywhere? my view is that it all sucks balls, everything barely hangs together, the web-code is one half baked idea thrown on top of another, and its only getting more convoluted as time goes on. Time for evolution to kick in and kill off alot of crap? why do i have a feeling its going to take millions of years ? Well that's a wrong view. Java is fast, well aside from ASM/C/C++ it kills anything in performance Ruby, Python, PHP, Perl.... The applet API is outdated. You cant really write a secure sandbox in the environment that isn't designed from scratch for one. JVM wasn't designed to be secure as a linux kernel, and java applets are probably the only case of the java app being sandboxed. Android apps are sandboxed via an *nix kernel. Oracle VM isn't the only one around.. Linux comes with an open source by default.
|
|
|
|
niko
|
|
January 21, 2013, 06:09:50 PM |
|
Anyone know if this stuff affects services running on Java, like Freenet?
You can disable Java in your browser (which this thread is about), this will not affect stand-alone applications using Java, like Freenet or Freemind.
|
They're there, in their room. Your mining rig is on fire, yet you're very calm.
|
|
|
|