Slashdot Mirror


User: binarylarry

binarylarry's activity in the archive.

Stories
0
Comments
3,306
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,306

  1. Re:!MMM on "Mythical Man-Month" Supposedly Busted By MIT Startup · · Score: -1, Flamebait

    99% of developers are morons, game developers doubly so.

  2. On the fence on Code Bubbles — Rethinking the IDE's User Interface · · Score: 1

    I think this would be a cool tool for evaluating how an application is executed, as well as visualizing call sites and application traversal.

    But I think it would be a major pain in the ass for most development purposes.

  3. Re:Valuable Java Patents on Ex-Sun Chief Dishes Dirt On Gates, Jobs · · Score: 1

    Coder Protip: Keep the libraries you use in a safe place, so they don't "disappear" in the future.

  4. Two words on LHC Will Be Shut Down In 2011 Because of "Mistake" · · Score: 1

    Resonance Cascade.

  5. Re:Valuable Java Patents on Ex-Sun Chief Dishes Dirt On Gates, Jobs · · Score: 1

    Coder Protip: If you're using an API you don't like, use a different one.

    And with Java you're lucky, because the development community is so massive, there's at least a couple of implementations.

  6. Re:Sun's handling of Java: Reason for Sun's failur on Ex-Sun Chief Dishes Dirt On Gates, Jobs · · Score: 1

    Right, they totally failed.

    That's why Java went into a tail spin and became the most widely used language in the world: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

    Damn management failures, making the product so successful!

  7. Re:Valuable Java Patents on Ex-Sun Chief Dishes Dirt On Gates, Jobs · · Score: 1

    You JVM advocates always throw out that "faster than C" line. I know, I know, you can prove it, too, using one of your many highly-controlled microbenchmarks that have absolutely no relevance in the real world.

    I don't think anyone truly knowledgeable about the subject is going to argue that. Java wasn't designed to be a better C, it was designed to be a better C++. And in many ways it truly is, see my post above.

    I know, I know, bytecode and JIT compilation allows for CPU-specific optimizations to be done. That's great, except that even the best JVMs today don't do that.

    Actually, today *any* semi decent virtual machine will be peforming these optimizations. That's why you see all the benchmarks showing Sun's HotSpot jvm performing so competitively with statically compiled code, even outperforming it in various situations. The cool thing about virtual machines isn't that they can "allow for CPU-specific optimizations," but that they can perform all types application specific optimization at runtime. For example, a virtual machine can analyze the current flow graph and use a technique called escape analysis to allocate data on the stack, even for data where it wouldn't be practical or possible in a statically compiled application. As I mentioned in the above post, vtable lookups can be eliminated by the vm for virtual calls, meaning you can program using OO techniques and still get good performance.

    I know, I know, the JVM is more secure. That's great, except that bounds checking does have significant overhead, and in real-world Java apps it can become a significant problem.

    In Sun's HotSpot for example, bounds checking can be (and is) eliminated by the JIT compiler. So, yeah if this was 1997 your argument would be valid, but in today's reality, it's not a major issue.

    Face it, Java is slow, and the situation hasn't really improved since the mid-1990s when Java was first released. The only reason we don't notice as often today that it's goddamn slow is because hardware has become tens of thousands of times faster in that same time period. Yes, the hardware designers saved your ass.

    You couldn't be more wrong, I don't know how any informed person could even attempt to argue such a laughable position. Java (and other technologies like .NET) have improved by leaps and bounds over the past decade. Hardware helps make things faster, that's a given. But the technologies themselves have been optimized and improved greatly over the past few years.

  8. Re:Valuable Java Patents on Ex-Sun Chief Dishes Dirt On Gates, Jobs · · Score: 3, Informative

    Java and the JVM's advantages aren't really over C but over statically compiled OO languages like C++.

    When you write an app in C++ and use a lot of OO techniques, it causes your application to perform all kinds of lookups and lots of indirection at runtime while resolving virtual calls, etc. Because it's compiled statically, you're always going to pay a huge cost if your application is complex and there's no way to fix it because the application's memory image is... static.

    However with Java and other similar technologies like .NET, which can alter and optimize the application at runtime, these types of OO-based indirections can be nearly eliminated if they're part of a bottleneck. The virtual machine can literally devirtualize virtual functions on the fly.

    Since C is a much simpler language (good for systems development), these indirections don't exist and a well written C app will probably always be faster than it's Java (or C++) equivalent. It will just be harder to maintain as it grows more complex.

  9. Re:Valuable Java Patents on Ex-Sun Chief Dishes Dirt On Gates, Jobs · · Score: 4, Interesting

    I'm sure most of the patents are in the virutal machine technology like HotSpot and various APIs that are used on the Java platform (like how he mentions Kodak suing over RMI in the article).

    Java has checked and unchecked exceptions (Exception vs RuntimeException), so the developer gets to choose how strict to be with parts of their API. Type Erasure can be annoying but it's fairly clever for maintaining backwards compatibility and the end results are much faster than "true generics" found in other platforms.

  10. Re:w3c outliving its usefulness on Jeff Jaffe Named CEO of W3C · · Score: 1

    You have to have all of these people on board for things to work.

    If no one even attempts a standard and everyone does their own thing in parallel, do you think it would make web developer *easier*?

    No fucking way, it would mean you'd get to write the website 10x instead of 3x like you do now.

  11. That's no human on Jeff Jaffe Named CEO of W3C · · Score: 0, Flamebait

    He's a clone of Bill Gates! Created by Microsoft over the span of the last decade to ensure Microsoft conquers the world!

    Look and see: http://investincotedazur.com/en/newsletter/index.php?txt=act9129

    *tinfoil hat activated*

  12. Re:Microsoft the tar-baby on Why Microsoft Can't Afford To Let Novell Die · · Score: 1

    They don't really "support mono," they package it along with a few associated applications.

    This could easily change from release to release. Everyone I know avoids those apps anyway. Not for legal or religious reasons, but simply because they suck.

  13. Re:Normal people hate web apps. on Google To Steal Office Web Apps' Thunder? · · Score: 2, Interesting

    ....sounds like something a web app developer would say.

    I kid, kid. ;)

  14. Re:What does PhysX do anyways? on Game Devs Only Use PhysX For the Money, Says AMD · · Score: 3, Insightful

    duh, it's got what gamers crave!

  15. Re:"Good programmers write good code... on Whatever Happened To Programming? · · Score: 2, Informative

    That would be Pablo Picasso.

  16. Re:Programming == Cut & Paste on Whatever Happened To Programming? · · Score: 5, Insightful

    That's because programming isn't usually an endurance challenge.

    "Making something that works" is more important than "talking about how hard you made your job for yourself"

  17. Re:Mono on New Crossover Release With Improved Compatibility · · Score: 0, Flamebait

    Where in your deluded fantasy land?

    I've tried Mono, it sucks compared to both Java and .NET.

    It's not even in the same league.

  18. Re:Mono on New Crossover Release With Improved Compatibility · · Score: 0, Troll

    The funniest thing is that the .NET and Mono platforms aren't even close to being fully compatible.

    So the OP is correct, Mono and Wine are good analogs to one another. They're both flaky and mostly incompatible with the real implementation, win32 and .NET.

  19. Re:A challenge... on Toyota Black Box Data Is More Closed Than Others' · · Score: -1, Flamebait

    Wow, that's amazing.

    In a span of mere hours, "some guy" on slashdot successfully deduced the number of lines of code in a Mercedes Benz's computer system network and is already making short work of Toyota!

    Come now, do you work for the pentagon or the NSA or some other place that employs mentats such as yourself?

  20. Re:A challenge... on Toyota Black Box Data Is More Closed Than Others' · · Score: 3, Interesting

    Toyota's systems have over a 100 million lines of code: http://news.discovery.com/tech/toyota-recall-software-code.html

    Not exactly a trivial app to just run strings on.

  21. Re:Java as an "advantage?" on Where Android Beats the iPhone · · Score: 1

    Ah, my bad. ;)

  22. On the bright side... on Ubisoft's New DRM Cracked In One Day · · Score: 5, Insightful

    Ubisoft can always blame "those damn pirates" and claim the DRM development as a failed project tax write off.

    And the pirates can still play the game for free with no issues.

    And paying customers still get to take it in the ass, now AND when Ubisoft decides to can the online service.

    Win, Win, Weeeeee

  23. Re:C? For programming C you should need a license! on Where Android Beats the iPhone · · Score: 1

    You must be a terrible programmer (like the parent).

    You can't cause a memory leak in Java by not doing something, you have to actively do something stupid to trap memory so it can't be collected.

    Serious difference.

  24. Re:No it will not on Where Android Beats the iPhone · · Score: 3, Informative

    This is true, although Google wrote an eclipse builder that can take a class file and convert it to dex format.

    So you can use class files directly, Eclipse and the Android SDK will take care of converting them for you (transparently).

  25. Re:C? For programming C you should need a license! on Where Android Beats the iPhone · · Score: 1

    Java's generational garbage collector doesn't leak memory unless you trap references like you mention in your first paragraph. Even then, it's not leaking memory in a traditional sense, you've just prevented the GC from being able to access and free the memory without crashing the application.