Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: GCC Looks To Turn Off Java, Replace With Go Or ADA

  1. #1
    Join Date
    Jan 2007
    Posts
    15,134

    Default GCC Looks To Turn Off Java, Replace With Go Or ADA

    Phoronix: GCC Looks To Turn Off Java, Replace With Go Or ADA

    GCC developers from multiple companies are beginning to reach agreement that it's time for Java to be turned off by default in GCC. The Java compiler support in GCC is in the form of GCJ, but it doesn't see much active development these days with more of the Java work happening in OpenJDK. Developers are looking to disable Java from the default GCC build process but to potentially replace it with the Go or ADA languages...

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

  2. #2
    Join Date
    Feb 2013
    Posts
    355

    Default

    Does anyone actually use GCJ? I imagine Go sees much more usage.

  3. #3
    Join Date
    Jan 2011
    Posts
    398

    Default

    Thatís good news; Go is a pretty good language and having it enabled by default would be useful. Iíve only been using the official Go compiler so far, but gccgo is required to use shared libraries, and it has better optimizations too (thatís what I read, at leastÖ).

    On the other hand Iíve never seen anything written in ADA, but I guess some people are using it.

  4. #4
    Join Date
    Nov 2009
    Location
    Madrid, Spain
    Posts
    398

    Default

    Quote Originally Posted by stqn View Post
    Thatís good news; Go is a pretty good language and having it enabled by default would be useful. Iíve only been using the official Go compiler so far, but gccgo is required to use shared libraries, and it has better optimizations too (thatís what I read, at leastÖ).

    On the other hand Iíve never seen anything written in ADA, but I guess some people are using it.
    Because Ada is mainstream in places where Java was also used: in safety critical software. Ada site writes it:
    "Ada is seeing significant usage worldwide in high-integrity / safety-critical / high-security domains including commercial and military aircraft avionics, air traffic control, railroad systems, and medical devices."

    I've been working into one of these fields and I can say that Ada is more used "under the rock" than C++ in some places.

    In comparison Go are more mainstream (and Google is more about marketing at the end) from the point of usability and "safety critical" is not the concern of most programmers to look into highly validated on compile time runtimes. .Net has some libraries (and Java too) as an afterthought (like Code.Contracts), but none match Ada in terms of making sure that your data constraints are validated at every step.

  5. #5
    Join Date
    Mar 2013
    Posts
    144

    Default

    Why substitute when you can subtract? Just drop Java and be done with it.

  6. #6

    Default

    Quote Originally Posted by c117152 View Post
    Why substitute when you can subtract? Just drop Java and be done with it.
    You didn't read the article, or did you?

    It's about "stressing the codebase", because languages like java use less used codepaths and so on.

  7. #7
    Join Date
    Dec 2009
    Posts
    353

    Default

    I hope they'll consider Rust as well. Comparing the two, I'd prefer Rust over Go.

  8. #8

    Default

    Quote Originally Posted by shmerl View Post
    I hope they'll consider Rust as well. Comparing the two, I'd prefer Rust over Go.
    Rust is officially implemented in LLVM. As far as I know there exists no Rust front-end to GCC, at least certainly not mainline...

  9. #9
    Join Date
    Dec 2009
    Posts
    353

    Default

    Yes, but neither was Go supported there as well. So, why not Rust then. It's implemented in LLVM now, but nothing stops other compilers to be created for it.

  10. #10

    Default

    Quote Originally Posted by shmerl View Post
    Yes, but neither was Go supported there as well. So, why not Rust then. It's implemented in LLVM now, but nothing stops other compilers to be created for it.
    GCC has had Go for a long time now; just not enabled by default up to now.

Posting Permissions

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