Announcement

Collapse
No announcement yet.

China Makes A Java Version Of Core LLVM

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • China Makes A Java Version Of Core LLVM

    Phoronix: China Makes A Java Version Of Core LLVM

    Developers at a university in China have developed their own Java version of LLVM. Their reasoning for re-implementing LLVM is that they prefer Java to the C++ language...

    http://www.phoronix.com/vr.php?view=MTIxMDM

  • #2
    Oh. Why don't they just use Scala?

    Comment


    • #3
      I would have though that if you're working on llvm and you're a student, then you're able to learn C++ and honestly I think that you should...

      Comment


      • #4
        If they were able to rewrite it in Java, they can't have had that much trouble understanding the C++ version.

        Comment


        • #5
          It's not about not understanding LLVM in C++, it's about using it in Java projects, which is more difficult if it's C++ code.

          Comment


          • #6
            It's a student project, peeps. They are there to learn, and reimplementing LLVM is a really good way to understand the concepts behind it.

            Let them do it if they feel like it, no harm done.

            Comment


            • #7
              We used ANTLR in my college compiler class as well

              It sounds like a cool student project, even if no one is really going to use it. The point is to learn about how compilers work.

              Comment


              • #8
                True no harm done, but damn what a waste of talent.

                Originally posted by pingufunkybeat View Post
                It's a student project, peeps. They are there to learn, and reimplementing LLVM is a really good way to understand the concepts behind it.

                Let them do it if they feel like it, no harm done.
                Seriously these guys could have put that talent to work on another tool for LLVM, work on another compiler interface or whatever. Instead they target a funky language like Java.

                I understand students and learning but it just seems like a total waste of good talent.

                Comment


                • #9
                  I don't think so.

                  The number of students who effectively work on software of this complexity is very small. Marek & co are exceptions, really.

                  This way we got a bunch of students who really understand LLVM. Most other students are writing Angry Birds clones, or dreaming about the next big app that stores your aunt's recipes on the cloud, or some similar nonsense.

                  I don't know if these guys will end up contributing to LLVM or some similar compiler project in the future, but I'm pretty sure that the "Angry Birds clone" guys won't.

                  Comment


                  • #10
                    Originally posted by wizard69 View Post
                    I understand students and learning but it just seems like a total waste of good talent.
                    Never tell a developer that their pet project is a waste of talent. If it wasn't valuable to them, they wouldn't be doing it. Many useful things have come from pet projects.

                    Comment


                    • #11
                      I can see the exercise in rewriting the code in another language to be an acceptable very beginner-ish exercise. The end product will be of absolutely no value though.

                      The way I read this, is that, at least when I went through it, comp sci degrees tend to start off with Java. Hence java becomes the "most familiar" language for a lot of students. That doesn't make it actually a good language, or even remotely suitable for high performance computing needs.

                      What this really is, is a BEGINNERS C++ course with a major project being to *read and understand* the C++ code through translating it into Java.

                      Might be a fun learning exercise.
                      This is not news.

                      Comment


                      • #12
                        Originally posted by Cyborg16 View Post
                        Oh. Why don't they just use Scala?
                        Yeah, Scala is ok enough

                        Comment


                        • #13
                          Originally posted by droste View Post
                          It's not about not understanding LLVM in C++, it's about using it in Java projects, which is more difficult if it's C++ code.
                          Yes, I agree

                          Comment


                          • #14
                            They actually made something? Oh it's younglings - ahhhh . Soon they will grow up and be stealing our technology, counterfeiting our goods, pirating or music, movies and software and stealing our trade.

                            Comment


                            • #15
                              Originally posted by droidhacker View Post
                              I can see the exercise in rewriting the code in another language to be an acceptable very beginner-ish exercise. The end product will be of absolutely no value though.

                              The way I read this, is that, at least when I went through it, comp sci degrees tend to start off with Java. Hence java becomes the "most familiar" language for a lot of students. That doesn't make it actually a good language, or even remotely suitable for high performance computing needs.

                              What this really is, is a BEGINNERS C++ course with a major project being to *read and understand* the C++ code through translating it into Java.

                              Might be a fun learning exercise.
                              This is not news.
                              Yeah, thats what I'm seeing.

                              Really, the main reason why C/C++ isn't being taught anymore is because is HARD. Its not a fun language to teach the basics in. [I actually recommend people learn an easier syntax, like Pascal or even Algol 68 first].

                              Comment

                              Working...
                              X