Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: China Makes A Java Version Of Core LLVM

  1. #11
    Join Date
    Oct 2009
    Posts
    2,063

    Default

    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.

  2. #12

    Default

    Quote Originally Posted by Cyborg16 View Post
    Oh. Why don't they just use Scala?
    Yeah, Scala is ok enough

  3. #13

    Default

    Quote 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

  4. #14
    Join Date
    Nov 2012
    Location
    Camarillo, CA
    Posts
    70

    Default

    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.

  5. #15
    Join Date
    Jun 2012
    Posts
    336

    Default

    Quote 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].

  6. #16

    Default

    Quote Originally Posted by randomizer View Post
    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.
    Yes, I agree with you

  7. #17
    Join Date
    Sep 2010
    Posts
    229

    Default

    Quote Originally Posted by gamerk2 View Post
    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].
    C isn't too difficult to learn because, despite some inconsistencies in its syntax that make working with pointers more complicated than necessary, it is a fairly simple and small language. C++ on the other hand has so many inconsistencies and is so big and complicated that there are maybe one or two people in the world who really know it (and C++'s inventor has professed he is not one of them).

    So I agree that teaching students how to work with pointers can better be done with a modern (Object) Pascal implementation (I don't know Algol 68, so difficult to say anything about it). For teaching basic programming, Python or another language with a simple syntax and no boilerplate overhead (so no Java or C#) would be good too.

  8. #18

    Default

    Quote Originally Posted by randomizer View Post
    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.
    Said well!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •