Unconfigured Ad

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cedance
    Senior Member
    • Feb 2011
    • 108

    #31
    Originally posted by gringer View Post
    I had a speed increase of about 100x converting some Perl code to Java (mostly because of really fast string manipulation), so it had some use there. But usually the speed increase is less, and converting doesn't really make sense if the code already finishes in a reasonable time.

    Unfortunately, the time taken to write Java code is much longer, and it's easier to introduce unexpected bugs into Java code than into R or Perl (I use warnings/strict mode). So I usually write my code in Perl or R, only switching to Java when I need the speed.
    This is really interesting! Could you tell me what was the string manipulation problem you felt was slower in perl? I code a lot in perl and would like to test it.

    @rskr, if you are *really* wanting to have a discussion on the advantages of *java* as a software, then
    HTML Code:
    http://stackoverflow.com/
    is a nice place to start.

    Comment

    • Jim Robinson
      Member
      • May 2009
      • 75

      #32
      Don't know why I'm wasting time over an obvious troll, but... I'm the developer of IGV, Java was used because it gave me the ability to immediately deploy to Linux, Mac, and Windows, the major platforms. I would love to do it as a native Mac application, I do iOS programming as well and know what I'm talking about. I've also built plenty of native window apps, and a fair number of X-window applications. The native route generally always results in a superior look for that platform, and can be faster as well, but running on another platform is a rewrite. (I'm speaking of GUI apps here). Java / Swing apps are slightly ugly, but the ability for a single person like myself to deploy to the 3 major platforms with no coding changes is invaluable. If I had a team of people to support multiple platforms it might be different, but probably not, there would be more important things to do.

      Comment

      • damiankao
        Member
        • Jan 2010
        • 49

        #33
        Originally posted by Jim Robinson View Post
        Don't know why I'm wasting time over an obvious troll, but... I'm the developer of IGV, Java was used because it gave me the ability to immediately deploy to Linux, Mac, and Windows, the major platforms. I would love to do it as a native Mac application, I do iOS programming as well and know what I'm talking about. I've also built plenty of native window apps, and a fair number of X-window applications. The native route generally always results in a superior look for that platform, and can be faster as well, but running on another platform is a rewrite. (I'm speaking of GUI apps here). Java / Swing apps are slightly ugly, but the ability for a single person like myself to deploy to the 3 major platforms with no coding changes is invaluable. If I had a team of people to support multiple platforms it might be different, but probably not, there would be more important things to do.
        I agree. I am sure we all understand the drawbacks of using java. If we had a team of developers, then we can worry about what language to use and optimize the **** out of our software. We would also be software developers at that point. I don't think he understands that the point of all of this is to do science. We develop something enough so we can investigate the biology. We can't spend all our time making tools.

        By the way, IGV is awesome. I actually copied IGV's interface and wrote a standalone javascript version to run within a web browser for my lab.

        Comment

        • rskr
          Senior Member
          • Oct 2010
          • 249

          #34
          Originally posted by Jim Robinson View Post
          Don't know why I'm wasting time over an obvious troll, but... I'm the developer of IGV, Java was used because it gave me the ability to immediately deploy to Linux, Mac, and Windows, the major platforms. I would love to do it as a native Mac application, I do iOS programming as well and know what I'm talking about. I've also built plenty of native window apps, and a fair number of X-window applications. The native route generally always results in a superior look for that platform, and can be faster as well, but running on another platform is a rewrite. (I'm speaking of GUI apps here). Java / Swing apps are slightly ugly, but the ability for a single person like myself to deploy to the 3 major platforms with no coding changes is invaluable. If I had a team of people to support multiple platforms it might be different, but probably not, there would be more important things to do.
          Sure, you may relish your choice of Java now, but if you ever encounter a problem you'll be wishing it had some compile directives.

          Comment

          • Jim Robinson
            Member
            • May 2009
            • 75

            #35
            Ahh yes, boy I sure do miss those!

            Comment

            • rskr
              Senior Member
              • Oct 2010
              • 249

              #36
              Originally posted by Jim Robinson View Post
              Ahh yes, boy I sure do miss those!
              Ah I see you just use run time checks, now there's some maintainable code.

              Comment

              • rskr
                Senior Member
                • Oct 2010
                • 249

                #37
                Hmm IGV seems to have problems in OSX

                IGV is awesome. One extremely useful feature would be to be able to scale the data range of multiple tracks simultaneously and/or to autoscale groups of tracks to the same data range. If you are us...

                Comment

                • ECO
                  --Site Admin--
                  • Oct 2007
                  • 1360

                  #38
                  rskr...please ease up on the trolling.

                  Jim has created a great (free!) resource that is appreciated by the community, nothing's perfect.

                  Comment

                  • Jim Robinson
                    Member
                    • May 2009
                    • 75

                    #39
                    Its not perfect, but that's an old bug long fixed. OsX is actually my platform.

                    Originally posted by rskr View Post
                    Hmm IGV seems to have problems in OSX

                    http://code.google.com/p/igv/issues/...ary%20Reporter

                    Comment

                    • rskr
                      Senior Member
                      • Oct 2010
                      • 249

                      #40
                      Originally posted by Jim Robinson View Post
                      Its not perfect, but that's an old bug long fixed. OsX is actually my platform.
                      Yes, yes, but you had to fix it to make it port. There is another one here.



                      I just think if the Java community quit lying to themselves about cross-platform, then maybe they could actually port their code and make it run cross-platform.

                      Comment

                      • Jim Robinson
                        Member
                        • May 2009
                        • 75

                        #41
                        That doesn't make any sense, of course there are platform tweaks but its orders of magnitude less work than rewrites in different languages with different libaries on the different platforms. If we all had Mac's I would do everything in objective-C / IOS. I don't care for the language syntax but the finished product is slick. You can't write a "cross-platform" app in IOS however, you write it for the Mac. Its been 20 years since I did an X-windows app but the same applies there.

                        Comment

                        • nilshomer
                          Nils Homer
                          • Nov 2008
                          • 1283

                          #42
                          I am closing this thread as this discussion is not progressing. The user rskr has been warned several times about insulting behavior. Keep it clean!

                          Comment

                          Latest Articles

                          Collapse

                          • SEQadmin2
                            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                            by SEQadmin2


                            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                            The systematic characterization of the human proteome has
                            ...
                            07-20-2026, 11:48 AM
                          • SEQadmin2
                            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                            by SEQadmin2



                            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                            ...
                            07-09-2026, 11:10 AM
                          • SEQadmin2
                            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                            by SEQadmin2



                            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                            07-08-2026, 05:17 AM

                          ad_right_rmr

                          Collapse

                          News

                          Collapse

                          Topics Statistics Last Post
                          Started by SEQadmin2, 07-24-2026, 12:17 PM
                          0 responses
                          29 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-23-2026, 11:41 AM
                          0 responses
                          21 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-20-2026, 11:10 AM
                          0 responses
                          211 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-13-2026, 10:26 AM
                          0 responses
                          78 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...