Slashdot Mirror


Borland C++ For Linux

Ardax writes: "Looks like Borland is going to be releasing C++ for Linux, according to this InfoWorld article. We'll be seeing more details at LinuxWorld in NY next week. The article doesn't mention whether this will be C++ Builder for Linux, or 'just' a command line compiler. No matter what, this is a sweet thing. I wonder how it will compare to gcc? (I wonder if it will be able to compile the kernel? :-) ) If it's the whole C++ Builder shebang, I wonder if there will be an Open Edition? Borland's Community site has a blurb about this. There's no comments at the Borland community yet, but some interesting commentary might pop up there."

133 of 457 comments (clear)

  1. Market by SonCorn · · Score: 3, Insightful

    I could see there being a market for Borland if they released a nice GUI C++ development environment; but if it was just a command line program, can someone explain to me why they would use it instead of gcc. I just see no reason to pay for it if it is a command line program. I can't believe that they would offer some feature that gcc doesn't.

    --
    What good is a used up world, and how could it be worth having? --Sting
    1. Re:Market by qurob · · Score: 4, Insightful


      can someone explain to me why they would use it instead of gcc

      On many UNIX workstations, GCC makes slower/much slower code than the system vendor's compiler.

      Many people argued the speed/size benefits of Watcom's DOS compilers compared to DJGPP, the (DOS port GCC)

    2. Re:Market by dinotrac · · Score: 2

      It's awfully hard to know without seeing the Borland compiler first,
      but...
      gcc is not known for handling C++ especially well. 3.0 is supposed to support the language better, but is reported to generate larger executables and no better performance than present.
      I have no idea of how the Borland compiler would get along with current linkers and whether it would be better than the current mess, which is largely responsible for the long time required to start KDE apps.
      This stuff may not matter for free developers, but commercial developers may see improved performance as one of the edges they can ask people to pay for.

    3. Re:Market by SpinyNorman · · Score: 3, Insightful

      The same is true of PCs too. gcc doesn't come close to Intel's C++ compiler in terms of optimization or features (e.g. SSE/MMX code generation and vectorization). Unfortunately Intel's compiler is pretty expensive, but maybe Borland's will be more reasonable.

      The only thing (not a bad thing, mind you) that gcc has going for it is that it's free... it's hardly the compiler of choice if you really want to optimize your code.

    4. Re:Market by ahde · · Score: 3, Informative

      The gcc we all use is much slower than the gnu-pro gcc you can buy from Cygnus/Redhat too.

    5. Re:Market by anandrajan · · Score: 2, Interesting

      There's always been plenty of excitement on the borland.public.kylix.non-technical newsgroup regarding native RAD C++ for linux. John Kaster (from Borland) is the guy who usually confirms or denies rumors. For a while, there was a rumor that the C++ RAD version of Kylix would be called Sylix and he squashed that rumor pretty quickly.

      You can access the newsgroup here (sorry for the long URL, blame google not me)
      http://groups.google.com/groups?hl=en&threadm=3C 43 71D8.51AB0544%40uk.renaultf1.com&prev=/groups%3Fnu m%3D25%26hl%3Den%26group%3Dborland.public.kylix.no n-technical%26start%3D25%26group%3Dborland.public. kylix.non-technical

      Also please check out an earlier message on this topic which may have already been covered on slashdot (sorry too lazy to check at 3:15AM)

      http://community.borland.com/article/0,1410,2819 8, 00.html
      This one gives you an email address kylixbeta@borland.com where (surprise, surprise!) you may be able to get a beta.

      --
      Anand Rangarajan anand@cise.ufl.edu
    6. Re:Market by joss · · Score: 2

      Huh ?

      I agree that g++ is a bit slow, but your figures are way off. In many cases cl is slower. If you use precompiled headers cl can be faster, but not 10x. I think gcc3.1 should have necessary performance improvements especially for heavy template useage (which is main cause of slow compile times in c++). Besides, g++ 2.95+ is a much *better* compiler than even latest VC++. Try doing some complex template stuff (eg Blitz) in VC++ - it's plain broken.

      --
      http://rareformnewmedia.com/
    7. Re:Market by tomstdenis · · Score: 2, Interesting

      "Many people argued the speed/size benefits of Watcom's DOS compilers compared to DJGPP, the (DOS port GCC)"

      Many people such as? GCC optimizes just as much as Watcom [and much more than MSVC].

      For example, my crypto library

      http://libtomcrypt.sunsite.dk

      Includes both MSVC and GCC make files. Compare the timings [ciphers] for yourself!

      --
      Someday, I'll have a real sig.
    8. Re:Market by Graspee_Leemoor · · Score: 2, Interesting

      Many people such as ME! Watcom c++ for dos just completely wiped the floor with djgpp (the dos port of gcc). It lost in every test made by every person ever, unless you count apps that were mostly asm anyway. Watcom's optimization was legendary. Most DOS games used Watcom. Remember the famous "DOS4GW" ? That was the default dos extender used by Watcom programs. That too helped, because it was faster than the dpmi used by djgpp.

      graspee

    9. Re:Market by Chainsaw · · Score: 2
      Or do you mean "gcc is not known to compile invalid standard non-compliant code well".

      No, he probably means that gcc is a good C compiler but the C++ support is bad, at best. I have to say one good thing about gcc: it is probably the most standard-compliant C++ compiler available. Too bad that it generates very slow code.

      --
      War is one of the most horrible things a human can be exposed to. And one of the worlds largest industries.
    10. Re:Market by -douggy · · Score: 2
      This is even more true with big numberical simulations (that you are too lazy to port to fortan) The new Intel Compiler running on a P4 really makes the code fly even compared to MS VS6.0 (student edition)


      gcc is nice in that I can run a copy to develop for my pc or use it to cross compile demos for my Dreamcast but a good IDE for C++ in linux is always going to be a good thing for those who want such a thing. There is a time and a place for two terminals and a text editor and the same is true for IDEs

    11. Re:Market by spitzak · · Score: 2
      Oh come on, I like gcc and all that, but it is pretty obvious that MSVC makes faster code when you turn on all the optimizations. The difference is totally obvious to an end user and does not require any timing tests. (This is with code using the fltk toolkit and huge amounts of floating point math, and not using any MFC or other MicroSoft libraries other than the ones that gcc can compile with).

      (it is also true that the MSVC optimizer is full of bugs, though, forcing us to select which files we need to optimize. But this pain is easily worth it to get the speed increase).

    12. Re:Market by johnnyb · · Score: 2

      The only thing (not a bad thing, mind you) that gcc has going for it is that it's free... it's hardly the compiler of choice if you really want to optimize your code.

      **********

      Also going for gcc are a) retargetability to a wide variety of platforms, and b) It's fairly easy to write new compiled languages which use gcc's backend. In fact, the objective-C frontend for gcc came about specifically because it was more expedient to write a free compiler on top of gcc than to write a paid-for one on its own.

  2. IDE Me ! by beanerspace · · Score: 2

    What an old fart I am. I remember cutting my teeth back in the 80's on Turbo C 1.0 ... and nearly did back flips when they finally got the Windows IDE right with C++ 5.0 some ten years later.

    Let's hope it doesn't take them as long to give us a familiar interface. Sure, the command line would be nice, considering Borland's robust libraries and deep oop capabilities ... but an IDE would be even sweeter.

    1. Re:IDE Me ! by An+Ominous+Coward · · Score: 2

      If you're looking for a familiar interface, I don't think you'll be disappointed. Kylix, Borland's recent Delphi for Linux IDE, is for all purposes identical to Delphi 6. Kylix 1 had some stability problems, but Kylix 2 has been perfect. I'm sure that C++Builder for Linux will be stable and be immediately useful for experienced C++Builder users.

  3. Remember Borland C 1.5... by Lobsang · · Score: 3, Funny

    Hmmm...

    I wonder if this will be like Borland C V1.5 (or was it 1.0? I'm getting old anyways...):

    main()
    {
    int a = 4 / 8;
    printf("%d\n", a);
    }

    Result: 2

    It's not a joke kiddos. It was a real bug, just like that.

    1. Re:Remember Borland C 1.5... by Cryptnotic · · Score: 2

      I think the point of this is that it shouldn't print anything at all. It shouldn't even compile. When you compile it using g++, you get this message:

      test.cpp: In function `int main()':
      test.cpp:3: ANSI C++ forbids declaration `i' with no type
      test.cpp:3: warning: initialization to `const int' from `double'

      The fact that VC++ doesn't catch things that are just plain wrong like this is pathetic.

      Cryptnotic

      --
      My other first post is car post.
  4. Re:Compile the kernel? by Wheaty18 · · Score: 2

    The creator(s) of C++ tried to make it as backward-compatable with C as possible. But it's not 100% backwards-compatible.

    For example, in C you didn't *have* to prototype your functions; the compiler would make some assumptions (which weren't always right :p). But in C++, you *must* prototype your functions.

    That's just one example, I'm sure there are more though...

  5. Oh man... by pb · · Score: 5, Insightful

    Borland has always put out wonderful tools, and really worked hard on making their compilers optimized on their platforms, but I think they've missed the boat here. This is most likely for easy porting of other applications written with Borland tools to Linux, because Linux already has a solid toolchain of its own. Regardless, I hope they get back on track.

    What I miss most is the old text-based Borland IDE. That was the most productive development environment ever. RHIDE is close, but wasn't stable on Linux when last I checked.

    --
    pb Reply or e-mail; don't vaguely moderate.
    1. Re:Oh man... by robbyjo · · Score: 4, Insightful

      I think that Borland is trying to make its fan "feels like home", creating the "illusion" of being "cross platform". Thus, developers seeking to embrace Linux but reluctant to lose their Windows market can easily be lured in. When Linux gets stronger, Borland already has had a real good head start.

      BTW, old text-based Borland IDE can be "simulated" using Twilight scheme.

      --

      --
      Error 500: Internal sig error
    2. Re:Oh man... by ipfwadm · · Score: 5, Insightful

      What, we can't use another compiler (which may or may not be better than gcc) and possibly an IDE?

      Us: "We need more companies to release products for Linux!"
      Borland: "OK, we'll release our C++ development environment!"
      Us: "No, not you, we don't need your product, we've already got that."

      Even if you never use it, it helps raise the visibility of the Linux platform when big-name companies like Borland are releasing Linux products.

    3. Re:Oh man... by pb · · Score: 5, Insightful

      I agree that there's nothing wrong with having more tools out there. However, I sincerely doubt that many Linux users would pay to install a third-party C++ compiler suite when they already have the standard C++ compiler for Unix (g++) free and already bundled with the system. This fact alone significantly narrows Borland's potential audience on Linux.

      Factors that might change this:

      (1) Borland releases it free of charge or under some open source license; this is a possibility, but isn't clearly stated in the article--perhaps the command-line compiler will be available free of charge, which would encourage many Linux enthusiasts to try it out.

      (2) Borland's C++ compiler supports advanced features not in gcc, such as compatibility with Borland's existing C++ compiler for Windows, better support for templates, better optimization, you name it. I already mentioned that this product might be aimed at people porting applications already written for Borland's compiler.

      However, the main problem I have with your point is your imaginary conversation; you neglected to date those statements. That first statement was made years ago! At the time, Linux was not very well known and companies were just starting to take notice of it. Borland took a survey and started work on Linux products. Then other companies actually wrote and marketed Linux versions of their products whilst Borland was busy having an identity crisis (remember Inprise?). This also caused Borland to lose credibility with some of their long-time supporters, who likely ported their applications to Linux with some other product (like g++) and forgot about Borland/Inprise. Only now are they waking up and marketing this product again!

      Therefore, I sincerely hope that this is a sign that the old Borland is back, and I hope they release a wonderful product, and gain massive support on Linux, and kick the gcc/g++ development crew into high gear to keep up. But understand if I fear the worst, especially from the vague tone of that Infoworld article, where they pretend that Linux doesn't already have a decent C++ compiler. :)

      --
      pb Reply or e-mail; don't vaguely moderate.
    4. Re:Oh man... by kevinank · · Score: 3, Interesting
      Oh, I don't agree. KDE developers might flock to a better C++ compiler. And users of AMD chips might be attracted to better optimization code since gcc basically sucks there (instruction schedulers in recent gcc builds are badly dis-optimized for AMD.) Precompiled headers might be nice too, and the Borland compilers have long had a reputation for compilation speed which itself is useful.

      Personally I remember liking the built in debugger and editor simplifying the compile/edit/debug cycle, so that would tend to attract me as well; in fact I was considering getting a box myself, and I rarely even have time to code in C++ any more.

      --
      LibBT: BitTorrent for C - small - fast - clean (Now Versio
    5. Re:Oh man... by HeUnique · · Score: 3, Interesting

      Never going to happend..

      Look at this: Intel released a free (for non commercial) release of their compiler (ICC)

      Did you see the KDE Developers move from GCC to ICC? I didn't, and I do follow the KDE lists..

      What could be is that if borland (probably) will release their command line tools free (as a beer) - then someone might build KDE binaries and will give it out as super optimized. Those will be unofficial binaries of course.

      --
      Hetz (Heunique)
    6. Re:Oh man... by Chainsaw · · Score: 3, Interesting

      Intel has got a pretty good C compiler that gives quite a speedup compared to gcc. The bad news is that it crashes or generates bad code when using C++ with templates, operator overloading and other features that are clearly non-C. Even the Linux kernel isn't 100% stable with it.

      --
      War is one of the most horrible things a human can be exposed to. And one of the worlds largest industries.
    7. Re:Oh man... by mark_lybarger · · Score: 2

      lots of companies purchase that SUN compiler when gcc works on that platform. i'd guess part of the reasin is that they're using libraries from other companies that are only released as sun binaries. that and corporate people really like support contracts and licenses they pay big $$ for.

    8. Re:Oh man... by Tassach · · Score: 2
      You hit the nail on the head. The ignorance and knee-jerk reactionism here gets pretty damn annoying after a while.



      The point that many people seem to be missing as to why this is a good thing is that this will make it easy for Borland C++ users to port their existing code base to Linux. Anything that makes it easier for people to stop using Windows is a Good Thing.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    9. Re:Oh man... by spitzak · · Score: 2
      I can assure you that our company would pay *right now* for a compiler that produces faster Linux code.

      It will also have to support stl and other C++ stuff as well as GCC. Because we are also doing Windoze stuff and use MSVC++ we don't use any GCC extenstions. I also would not care if the .o format and libraries was completely different and did not link with gcc output (except glibc) and did not work with the debugger.

      IDE's are useless for us, due to the need to develop on Windows/NT as well. It is impossible to manage a set of source files in multiple IDE's. We use gmake (cygwin gmake on NT). I also think it would be nice if the IDE's could be seperated from the compiler. Make up some standard way to feed the compiler source and have it report errors so we can choose the IDE and compiler seperately!

    10. Re:Oh man... by Arandir · · Score: 4, Insightful

      ...because Linux already has a solid toolchain of its own.

      I see the monopolists are out in force today. A language standard like ISO Standard C++ is a Good Thing. A single compiler that becomes a standard is a Bad Thing. When there is no room in Unix for an additional compiler, the end is near.

      If Borland C++ (the stand-alone compiler) won't be free then there probably won't be many users. It won't be shipped with your Redhat Subscription Service. But it will still have a place, namely with those that think choice is the first attribute of freedom. And if it is free, then expect it to be widely used.

      Gcc will finally have competition. It might actualy spur GNU into action to improve their compiler. Most of you guys here are too new to remember the history of gcc. Only a few years ago gcc *sucked* at C++. The unwritten by very official stance policy of GNU was that C++ sucked so don't bother. There was little standards conformance. But someone in the GNU crowd did have a clue, and forked the compiler. Before you knew it, egcs was being used more than gcc. Eventually the two merged back together, but I hope GNU learned its lesson.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    11. Re:Oh man... by Billly+Gates · · Score: 2

      Linux users are not expected to pay for it. Its mainly being sold for coroporate customers which I believe would be willing to pay for it. Look at it from a corporate perspective since that is Borland's main customer base. There are many windows only programs compilied with borlands proprietary libraries. Microsoft has the advatange of VC and their MFC being heavily tied into windows and other Microsoft based products. THis means all of Microsoft apps are being integrated into one big .net application where a user selects each service he or she wants and rents it upon install. This would doom Borland and would costs corporations alot of money to run there own apps.

      Borland needs to give corporate customers some more room and a non microsoft alternative. Microsoft made NT popular by selling client/server solutions which integrate directly with all the desktops. It had nothing to do with stability or security of NT. As corporations looked at this as an advatange, unix and novell lost marketshare as NT servers started apearing everywhere.

      For Borland to survive they first must try to stop the microsoft only client/server model for a more open client/server model which supports more platforms. Linux is not ready as a corporate desktop yet so borland is making community releases just to wet our appetites so we can recommend them at work for servers. Borland's role in support for Solaris and Linux with jbuilder and I believe kylix(not to sure if there is a solaris port) and the upcomming cbuilder will help brake the microsoft stranglhold. This comes just as corporations are doubling there pay to microsoft to stay current with Microsoft. After this, borland will probably make client/server libraries available if they haven't already with Cbuilder which will not require NT/w2k as the backend. Corporations do not like the idea of paying microsoft every 18 months or else.... just to run there vb written client/server apps. Linux and Solaris may be a way out, if there is a real cross platform development tool to lure bussinesses.

      Oh ya, which tool do you think third party applications are written in? Borland, and VC is the anwser. WIth a linux port of cbuilder, expect more windows apps being ported to linux. We can all thank Borland after this happens for making this a reality. I also hope they support the mac. Remember that apple has at least a %5 share of the client market. If they do this then we can have apps written for mac, linux and Windows. This alone would make more corporate developers more weary of VC and more likely to use Cbuilder.

    12. Re:Oh man... by nusuth · · Score: 2
      I can assure you that our company would pay *right now* for a compiler that produces faster Linux code.

      Use Intel compiler then, it produces amazingly fast code for P4 and very fast code for everthing else. Borland's compilers never produce very fast code, they are OK but not "fast" except when compared to gcc. The main appeal of borland tools is the whole RAD environment, its integration, ease of use, very high productivity in gui design etc. Compiler's positive contribution to this is its compilation speed.

      --

      Gentlemen, you can't fight in here, this is the War Room!

  6. Re:Compile the kernel? by tongue · · Score: 2

    C++ isn't compatible with C, so to speak, meaning a straight C compiler will not compile your C++ classes. But C++ is by definition a superset of C, meaning that all valid C code will compile cleanly by a C++ compiler. In theory at least.

  7. This Is Very Good! by Lethyos · · Score: 4, Insightful

    Borland's IDEs (baring of licensing crap ;-) have always been exceptional. Current opensource IDEs are decent, but they are no where near the quality.

    It comes down to maturity. Borland has been making powerful IDEs for a very long time. Development for opensource IDEs however is a fairly new thing (KDEvelop is good, but it is still fairly unreliable and not as featured as I'd like).

    After years of tweaking, Borland's got it down pat.

    --
    Why bother.
    1. Re:This Is Very Good! by redcliffe · · Score: 2

      The problem I find with KDevelop is the lack of integration of GUI design and coding. This is a staple in all modern IDE's, and I'd like to see it in KDevelop. An interface like Borland's would be great for KDevelop.

  8. Competition is good by prisoner-of-enigma · · Score: 2

    If nothing else, it'll be nice to have an industrial strength competitor to GCC coming from a (former) heavyweight in the development community. I remember Pascal oh so fondly...

    And I'll be real interested to see if it will actually compile the kernel!

    --
    In the end they will lay their freedom at our feet and say to us, Make us your slaves, but feed us. - Fyodor Dostoyevsky
    1. Re:Competition is good by dvdeug · · Score: 2

      And I'll be real interested to see if it will actually compile the kernel!

      It would surprise the heck out of me if it does. A compiler practically has to be bug-compatible with the version of GCC Linux used to build his kernel to build it correctly. The kernel uses a lot of gcc-specific code, including undocumented properties.

  9. The next version of Kylix will probably have C++.. by frleong · · Score: 3, Interesting

    Kylix was supposed to be compiler independent. The current generations have only the Object Pascal compiler. IIRC, the next version of Kylix will support C++ too.

    --
    ¦ ©® ±
  10. You don't say... by Anonymous Coward · · Score: 2, Funny

    void main(void) {
    printf("Big deal\n");
    }

  11. open edition? I think not. by MathJMendl · · Score: 2
    I wonder if there will be an Open Edition?
    Yes, that would indeed be cool. Unfortunately, it's not gonna happen. If they open source it then people could recompile it for windows, and boom, there goes their whole suite for windows down the drain! But still, with GCC already out there, does it matter?
    --


    "I have not failed. I've simply found 10,000 ways that won't work." --Thomas Edison
    1. Re:open edition? I think not. by MathJMendl · · Score: 2

      Hmm. I didn't realize they already had open versions. I guess this makes sense from their point of views. I retract my previous statement. :P

      --


      "I have not failed. I've simply found 10,000 ways that won't work." --Thomas Edison
  12. great! by Jucius+Maximus · · Score: 2, Informative

    Then all we need is Textpad for Linux and then all well be well in the land of CS coding...

  13. XEmacs vs Borland C++ by Mongoose · · Score: 2

    Hhhhmmm... let's see I can use XEmacs with code generation, source templates, tags, class browser or I can use Borland's and not be able to use elisp.

    I'm sure MSVC++ kiddies new to unix development in general can enjoy it however. I just hope I don't see 'project files' all over the damn place a year from now in lieu of Makefiles and autoconf.

  14. I want this... by Bill+Henning · · Score: 2

    Don't get me wrong; GCC is greak - but C++ Builder is an impressive way to write GUI applications quickly.

    I'd immediately recompile MemTach for Linux :-)

    Best Regards,

    Bill

    --
    --------- Webmaster, http://www.cpureview.com and
    1. Re:I want this... by sql*kitten · · Score: 2

      Don't get me wrong; GCC is greak - but C++ Builder is an impressive way to write GUI applications quickly.

      Great? Weak? Greek? What?! ;0)

  15. Resume Item by kenneth_martens · · Score: 4, Insightful

    It's not clear (at least from the sketchy information in the article) if there will be an Open Source/free version, but I hope so, and here's why: currently my university requires us to use Windows in our computer science classes, mainly because Microsoft gives us a lot of expensive software for free (if Microsoft makes it, students probably have access to it--Visual Studio 6, Visual SourceSafe, SQL Server, Windows XP Pro, ...)

    That leaves people like me--who prefer to run Linux instead of Windows--at a disadvantage. I have to have a dual boot system, and I have to reboot to Windows every time I need to hack out some code for a class. Now, if Borland releases their C++ for Linux and makes it free, I know I could convince a couple of my professors to ditch the Microsoft stuff and use teach the class using Linux and Borland. That would enable me--and the rest of the university--to gain some practical experience coding on the Linux platform, and not just on Windows. Don't get me wrong, there isn't anything wrong with knowing how to code using Windows and Microsoft Visual Studio (in fact it's probably a good resume item), but I'd like to get familiar with some alternatives before I enter the workforce.

    1. Re:Resume Item by Cuthalion · · Score: 3, Insightful

      You know, there's nothing stopping you from using GCC and whatever editor you like (RHIDE, emacs, whatever) under linux. If you absolutely must make it work under windows too, all the better - now you're learning how to write portable code. Even neverminding that, using GCC is much more practical linux experience than using Borland C++ will ever be, in that most everyone doing linux development will not drop everything and migrate to Borland's tools immediately.

      --
      Trees can't go dancing
      So do them a big favor
      Pretend dancing stinks!
    2. Re:Resume Item by Pinball+Wizard · · Score: 2
      Based on Borland's past offerings, I'd say there will probably be a free C++ compiler(command line) but not C++ builder.


      I'm currently learning Java using their JBuilder6 Personal Edition, (a very good Java IDE, I might add). It's available for free on both Windows and Linux. Its got everything you need to learn Java, just not the enterprise stuff. So its possible they might do the same with C++ Builder. Its just in the past(for Windows) they made the base compiler free and charged you for the IDE.

      --

      No, Thursday's out. How about never - is never good for you?

    3. Re:Resume Item by Ronin+Developer · · Score: 4, Interesting

      Word has it from the 2000 Borland Developer's Conference, that Kylix was going to be Delphi on Linux. Next in the queue was going to be C++Builder on Linux. During that same conference, the core C++ compiler had been built and demonstrated compiling and running natively on Linux. That was two years ago.

      Since that time, we have seen Kylix and Kylix 2 released as well as Delphi 6 and a new C++Builder. The fundamental piece was the use of CLX to make the code cross platform between Windows and Linux. VCL code simply will not port. And, the VCL never worked cleanly between Delphi and Kylix. CLX was the answer to this.

      I expect that the upcoming release will be C++Builder on Linux. That means it will have the same look and feel as C++ Builder on Windows. Yes...a GUI oriented development tool with all the wizbang designers that many of us have come to love.

      I'd also like to point out that Borland made it clear that they were not out to replace GCC. Their aim (well, 2 years ago), was to make a development tool that enabled developers with a Windows background migrate to Linux and bring their application development skills to the Linux platform. There was alot of talk about whether the libraries would be link compatible with GCC. They didn't have an answer that most of us wanted to hear. But, like I said, that was two years ago.

      Borland is position themselves to enable developers to enter a new market. While the MS folks are concerned about pushing .NET out the door, Borland developers will already be developing Web services and database applications for both Linux and Windows and beating their competitors to the punch.

      Will these tools be an immediate big hit with Linux users? Doubt it. It takes a lot to effect a paradime shift of that magnitude. But, you will see Windows developers porting their code to Linux and opening up new markets. Eventually, the die hard people will see the advantages of using a tool like C++Builder or Kylix in a corporate setting. And, if we are really lucky, we'll see Borland making their .so's compatible with rest of the Linux community. The whole point of doing a C++ version is simply that the majority of Linux developers use that language. But, they ported Delphi over first (ala Kylix) because the majority of their customers are Delphi users.

      Guess we'll all have to wait and see, eh?

      RD

    4. Re:Resume Item by Kupek · · Score: 2

      You don't have the choice? For programs that were auto-graded, it was always on a Windows machine running VC++ 6.0, but once we got into programs that were demoed, we always had the Linux option. (I wasn't very initiated in the world of Unix at that point, and I gotta admit VC++ is a damned fine product.)

      Anyway, last semester in operating systems, we had to use Linux. If you haven't gotten into higher classes, you might find those give you the option of developing under some flavor of Unix, if it's not required.

    5. Re:Resume Item by Tim+C · · Score: 2

      Don't forget that as well as Kylix, JBuilder has been available for Linux since at least version 3. (Quitepossibly before that, too, but I came to it just as 3.5 was being released.)

      True, it's almost 100% Java, so there wouldn't have been that much work invovled, but it's still very welcome - it meant that I (and about half my colleagues) could finally ditch Windows entirely at work.

      Cheers,

      Tim

    6. Re:Resume Item by ahde · · Score: 2

      In my OOP class we started out writing an interface to Excel, moved on to animated MS Agents, Windows RPC, and GDI screensavers for fun. Which pretty much limits you to MSVC. Some projects wouldn't compile on the 5.0 I had bought the year before.

      While I appreciated the instructor trying to make it more "interesting", he was a couple years behind in what was cool. Several of us had started experimenting with Linux (1998) and once you've seen the flexibility of gcc, it's tough to go back.

      Not to mention how painful it is to unlearn the incompatibilities Microsoft teaches you.

    7. Re:Resume Item by Tim+C · · Score: 2

      Indeed, and some of my work colleagues use emacs or vim + either makefiles or ant to develop in Java, despite having plenty of JBuilder 4 Professional licences. It's what they're used to, and to be honest, JBuilder is a bit of a cow, performance wise (we only have 450MHz P3s, but that's a moan for another thread)

      I had never really used an IDE until I was persuaded to give JBuilder a go (other than relatively brief uses of Visual Interdev and VC++), and it's changed the way I work. If nothing else, being able to step through the code in the debugger, inspecting any variables I choose is wonderful, and a vast improvement on peppering the code with System.out.println()s.

      Of course, as I develop code in Java on a machine running Linux that's going to be deployed on a server running Linux, I don't have to worry about cross-platform issues. However, I can't imagine that there's anything stopping you from developing fully portable code using an IDE, either. You'd just have to know what you were doing, which is true in any case.

      Cheers,

      Tim

    8. Re:Resume Item by Tet · · Score: 2
      If nothing else, being able to step through the code in the debugger, inspecting any variables I choose is wonderful

      ...and of course, it has nothing whatsoever to do with using an IDE. Debuggers have been around as standalone products for a very long time in the Unix world. It's only the lack of decent standalone tools under DOS/Windows that has driven people to use the all in one approach that Borland and MS are selling.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    9. Re:Resume Item by Tim+C · · Score: 2

      True enough, but when you can fire up the debugger just by clicking that icon there, next to the one that you click to run the code normally, there's more of an incentive to start playing with it.

      If you have to go hunting around on freshmeat or google to find one in the fist place, or wade through dozens of pages of info/man pages to learn an obscure command line interface, printf()s or System.out.println()s start looking attractive. This is especially true when the bug has to be fixed now, so the client will stop shouting at the project manager, who in turn will stop breathing down your neck.

      Cheers,

      Tim

    10. Re:Resume Item by Tet · · Score: 3, Informative
      If you have to go hunting around on freshmeat or google to find one in the fist place, or wade through dozens of pages of info/man pages to learn an obscure command line interface, printf()s or System.out.println()s start looking attractive.

      Agreed, if that was the case. Fortunately, it isn't. DDD ships with most Linux distributions, and gives you the nice GUI interface you're used to, plus some extra goodies on top (the ability to visually see the state of data structures like linked lists or binary trees is an amazing debugging tool). And since this is Unix, naturally there are other choices if you don't like DDD: Code Crusader, mxdb, mxgdb, xxgdb etc.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    11. Re:Resume Item by ahde · · Score: 2

      So, did you protest, then?
      <br><br>
      No, we complained. It's much more effective, and doesn't take as much of your time. I wouldn't take the class again today, either, but then it was much more excusable for the instructor to be uninformed. Besides, working with the windows APIs helped me appreciated GTK+.
      <br><br>
      We knew what Microsoft was doing even then, and we may have opened the instructor's eyes a bit, although his kneejerk reaction was that we were just paranoid. Just to show how backwater my school was, I took a UNIX class at the same time, and the instructor talked the necessity of learning vi and sh because one day, someone might get stuck working on a legacy system.

      At the time, I was doing my homework on the server for a local ISP (my dad owned it.) Just log in at the console as root. I was glad I didn't have to copy the stupid practice logs (and poems!) from the text book. I just used awk, etc. on the syslogs.

  16. Re:Compile the kernel? by AYEq · · Score: 4, Interesting

    The kernel is not written in pure C, even though it's portability would make you think so. It is writen in C with a ton of GNU extentions. So the kernel is really tied to gcc. (which actually makes it more protable because gcc runs on a ton of machines)

  17. Borland C++ or Borland C++ Builder by fwankypoo · · Score: 3, Informative

    The blurb (linked to here mentions that Borland is going to announce C++Builder for Linux. Just a tasty little tidbit that needs to be adressed:P

    --
    The time of day is 29:33.
    1. Re:Borland C++ or Borland C++ Builder by Wizy · · Score: 2, Informative

      correct, this is going to be C++ Builder, the full IDE. Same as they made Delphi for linux (Kylix).

    2. Re:Borland C++ or Borland C++ Builder by blitzrage · · Score: 3, Informative

      "We are taking our C++ development solution to the Linux platform. We have seen a lot of Linux developers who used to be Unix developers," said Alison Deane, a senior director of product marketing at Borland, in Scotts Valley, Calif.

      She added that Borland plans to announce C++Builder for Windows next month, but declined to provide details.


      No they didn't. They just said they were going to announce C++ for Linux, and C++ Builder for Windows.

      --

      I have no signature
    3. Re:Borland C++ or Borland C++ Builder by nusuth · · Score: 2

      Well, you are correct, but if the architecture of the platform has not changed drastically from earl builder days, it takes a certain amount of dedication to port the compiler but not the whole builder. The builder envorinment is exactly same as delphi environment except for parser and object inspector (plus a few extra tools for interoperability with other C++ environments, but that is irrelevant.) The builder parser is able to parse both C++ and object pascal, while the delphi parser can only OP. The intermediate code generator is same, the code generator is same, the linker, debugger etc. tools are identical, the code of libraries are identical except for headers etc. (and this too is non-vital, builder can use delphi units just fine, without C++ headers.) The object inspector has to be aware of C++ bindings, but that too is trivial once you have C++ parser. While normally it is rather hard to produce C++ Builder like IDE with onlt a C++ compiler in hand, with Kylix working, producing C++ Builder just takes a new parser and some fiddling. Since a C++ compiler has to have a C++ parser, borland can release a single compiler only if they specifically want not to release Builder.

      --

      Gentlemen, you can't fight in here, this is the War Room!

  18. Re:Compile the kernel? by Anonymous Coward · · Score: 3, Informative

    The intel compiler uses the source file's extension to decide whether to compile with the C or C++ syntax

    C++

    D:\IntelC\Compiler50\ia32\bin>icl ft.cpp
    Intel(R) C++ Compiler for 32-bit applications, Version 5.0.1 Build 010525Z
    Copyright (C) 1985-2001 Intel Corporation. All rights reserved.
    ft.cpp
    ft.cpp(5): error: expected an identifier
    int new=3;
    ^

    ft.cpp(7): error: expected a type specifier
    return new;
    ^

    ft.cpp(7): warning #120: return value type does not match the function type
    return new;
    ^

    compilation aborted for ft.cpp (code 2)


    C

    D:\IntelC\Compiler50\ia32\bin>icl ft.c
    Intel(R) C++ Compiler for 32-bit applications, Version 5.0.1 Build 010525Z
    Copyright (C) 1985-2001 Intel Corporation. All rights reserved.
    ft.c
    Microsoft (R) Incremental Linker Version 6.00.8447
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

    -out:ft.exe
    ft.obj

  19. Ever heard of a const int? by Plasmic · · Score: 3, Funny

    Const defaults to int. You're doing a direct comparison of a floating point with an integer.

    I have a PhD in Visual C++. This is widely known among my graduate students.

    1. Re:Ever heard of a const int? by WasterDave · · Score: 2

      Const defaults to int. You're doing a direct comparison of a floating point with an integer.

      It's a shitty piece of coding because it's non-intuitive and a bastard to maintain. It should never pass a code review.

      I have a PhD in Visual C++.

      No you don't. You just failed to pass a BS review.

      Dave

      --
      I write a blog now, you should be afraid.
  20. Re:The next version of Kylix will probably have C+ by mz001b · · Score: 3, Informative

    intel has already release C and Fortran 90 compilers for Linux that are free for non-comercial use. These are very fast compilers when used on a Pentium IV.

  21. Wonderful by rice_burners_suck · · Score: 3, Interesting

    I applaud Borland for choosing to put more of their fine products on Linux. I have personally used Borland's products since version 3 of their Pascal compiler, which was a pretty long time ago. In conjunction with TurboPower's libraries, which were distributed with complete source code and no royalties, Borland's compilers, both for Pascal and C/C++, were always truly amazing products.

    Now, with the increasing popularity and acceptance of Linux, I believe that Borland's products have found a new home, better than on DOS and Windows. I strongly believe that if Borland continues to implement their fine software on Linux, some great applications, brand-name commercial as well as free, will show up on Linux, making it a strong and competitive alternative to the Windows family of operating systems.

    Perhaps someday, a couple of years down the road, Microsoft will begin implementing their software, such as a Microsoft Office for Linux package, just as some years ago, IBM sold native Windows versions of their OS/2 applications. Hopefully, this move by Borland will bring that a bit closer to reality.

    1. Re:Wonderful by ZxCv · · Score: 2

      Pleeeease. I have been using Borland products for about 6 or 7 years now and I would definitely chime in that they are wonderful tools. But I'm also not so disillusioned to think that the reason there haven't been tons of great commercial applications on Linux is because there hasn't been a development environment good enough to create them. It's simply because there isn't enough of a market for such products. And while having a tool that makes creating applications easier is always a good thing (look what VB did for Windows), Linux needs a lot more than a better development environment for it to better compete against Windows.

      --

      Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
  22. Re:They should open up their Windows products by Osty · · Score: 2, Insightful

    Quite a few people still buy Delphi. Delphi users moving to C++ often buy C++ Builder. Otherwise, most everybody else chooses Visual Studio. So, I could see a case made for opening C++ Builder, but not Delphi (which happens to fall under "their Windows products").

  23. Really stupid question... by kikta · · Score: 2

    I've done hardly any programming for Linux yet. Mostly I've just used a text editor. If Borland doesn't release a GUI for C++, what's another good one? I thought gcc was command-line only & didn't have an IDE. Is there something else? I always assumed there was but have never got around to checking into it. Thanks.

    1. Re:Really stupid question... by sweetooth · · Score: 3, Informative

      kdevelop
      KDE Studio Gold
      or just search through
      apps.kde.com

    2. Re:Really stupid question... by Anonymous+DWord · · Score: 3, Informative

      How about Scintilla and SciTE?

      --
      "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
    3. Re:Really stupid question... by gvr · · Score: 2, Informative

      You can also try the Codewarrior IDE.

      It supports a larger subset of c++ than gcc. *Ouch*

    4. Re:Really stupid question... by damiam · · Score: 2, Informative

      Anjuta is a nice IDE for GNOME.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
  24. Heve a look at XWPE by root_42 · · Score: 4, Informative

    And it even has been floating around for YEARS. Look at some screenshots of it here. I think it might be what you are looking for.

    --
    [--- PGP key and more on http://www.root42.de ---]
    1. Re:Heve a look at XWPE by micromoog · · Score: 2

      That's the worst-looking X application I've ever seen.

  25. How many people actually use Borland C++? by djohnsto · · Score: 4, Interesting
    I'm sure this will marked as troll, flamebait, lame, whatever, but I'm actually curious.

    How many people actually use Borland's C++ products currently? Of those that do, is this just brand loyalty from the Windows 3.1 days? I've been part of product teams (all using C/C++) developing on Windows, Mac, and various unices, and I've never seen Borland being used anywhere. The last Borland product I've seen used was Turbo Pascal for DOS back in high school.

    This isn't meant to start a flame war, I've just never actually seen a Borland C++ product being used, and am curious how big their market is. It may be that the Linux version would actually outsell the Windows version due to lack of competition. And it would totally rock if they released the Borland C++ builder IDE that supported not only the Borland compiler, but gcc and icc (intel) as well.

    Needless to say, if they do release the IDE, I'll be very interested to see how well it works. I've tried KDevelop, CodeWarrior (older version - 5.0?), Anjuta, a couple other gnome things, etc. And I'm sorry to say none of them allow me to be as productive as I am with VC++ (with the VisualAssist add-in). CodeWarrior was probably the worst (I hope for their sake 6.0 was better), and KDevelop the most mature. However, none of the open source efforts play nice with cross platform projects (damn it, I don't WANT the make files in the same directory as the source!!!), and are terrible when dealing with large projects. If Borland's product can deal with large cross-platform projects, I'll be a happy camper.

    --
    Dan
    1. Re:How many people actually use Borland C++? by banky · · Score: 3, Informative

      >How many people actually use Borland's C++ products currently?
      I can't quote actual statistics, but: we have a ton of C++ Builder boxes around the office, and we also make extensive use of JBuilder. The place where I used to work, were pretty much all Borland fanatics, and had their own NNTP server, made up of borland fans. A lot of them were "Team B", the Borland Users Group kinda thing.
      >Of those that do, is this just brand loyalty from the Windows 3.1 days?
      Kinda. From reading the documentation and talking to them, they tend to say the same things. 1, it was a better compiler for a LONG time when compared to Windows (arguable, of course). 2, it was more command-line friendly, if you didn't want to use the full-on IDE; this mattered because a lot of them were Unix expatriates having to get work in a PC world, and they wanted a PC compiler that acted like cc/gcc. This too is arguable; I'm just reporting, here. 3, many reported better standards compliance, and more functionality in doing things other than Windows (but on x86). For example, one person I knew did embedded x86 development and liked the Borland tools. The general consensus was Microsoft's tools were *Windows* compilers, whereas Borland's were more multifunction. Lastly, they all loved the IDE, considering it more mature and stable than VC++. The majority of them are excited about moving to Linux with BC++ and I expect a small but noticeable increase in Linux acceptance once this comes out. The glare of running cash registers may not light up the skies, but I can think of at least a dozen people off the top of my head who will be willing to spend moderately large money to get their hands on a Borland toolchain for Linux.

      --
      ZOMG I WOULD LOVE TO KNOW ABOUT YOUR FEELINGS ON MACINTOSH VERSUS WINDOWS, VI VERSUS EMACS, AND HOW YOU'RE NOT A DORK
    2. Re:How many people actually use Borland C++? by _egg · · Score: 2, Informative

      I used C++ Builder while I was working on game tools under win32 at LucasArts. Builder is amazing! I was a very competent programmer with NO win32 GUI experience. I needed artist-friendly game tools up *yesterday*... I flopped around with Microsoft's crappy GUI code-generating tools for a week and was tearing my hair out. Then I cracked open C++ Builder and had a working first cut of my tools in about a day!

      C++ Builder is almost entirely visual... You lay out your GUI, then fill in the C++ bits for events that are important to you. You could have working stuff up in seconds, then revamp the interface several times without changing a line of your C++ code. All of this while still providing you full access to the native API should you wish to do something their GUI code doesn't do normally. Large corporations eat this up... Programmer time is best spent on functionality, not GUIs. Builder enforces Model/View/Controller programming, which IMHO is the way all GUI programming (and web programming) should be done.

      Glade and friends on Linux are plainly inspired by Delphi and C++ Builder. I think Glade is great and getting better, but it doesn't compare to the polish and ease of Builder. I now provide command-line Linux tools to PS2 game developers, but would like to provide GUI versions of some. I'd like to do it in Qt so I can also support guys programming under windows, but I just don't have the time to go learn it. The GTK+ port to windows just isn't stable enough to trust, and requires cygwin underneath. But if C++ Builder existed for Linux, I'd be using it daily, as would my entire staff, and not looking back.

      This is one case where a commercial development package under Linux is completely worth it because it is *that* far ahead of the open source tools that are available. Let that inspire you to improve Glade and the GTK win32 port.

      Borland is making a good move because as their customers look to reduce their dependency on Microsoft, Borland makes the transition easier and tags along with them into the new space. Good luck Borland! You're doing everything right.

    3. Re:How many people actually use Borland C++? by geekoid · · Score: 2

      it was a better compiler for a LONG time when compared to Windows (arguable, of course).

      Not really, if it compiles faster/smaller code then its better.

      am not advocating one compiler over another, just staing that there is a way to tell which I a better compiler

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  26. Re:Compile the kernel? by grammar+fascist · · Score: 2

    Any reason this is moderated as a troll? The guy's not making up the output. You can't use new as an identifier in C++, since it's a reserved word.

    --
    I got my Linux laptop at System76.
  27. Re:Compile the kernel? by igrek · · Score: 2

    No, C++ is not 100% C compatible.
    However, it's irrelevant here. The Borland C++ compiler properly supports both C and C++ languages. By default, it depends on file extension, but you can also specify the language option (C or C++) explicitly.

  28. Let the flames begin by Vicegrip · · Score: 2

    Exchange:
    "I have a file I would like to share with you"
    IIS:
    "Please rape my server... please"
    MSVC:
    "We think we support the standards, wait, we don't... does that compile yet?"
    "Oh, you want that kind of template support. That'll be another 1000$ for our next version"
    Office:
    "Bug fixes? Have paperclip instead."
    BSOD:
    "IRQL LESS THAN OR EQUAL..... Reinstall computer"
    XP:
    "You can use your computer how and when we say you can."
    "Our new fancy QOS service now helpfully reserves 20% of network bandwith for itself. Have fun trying to find the right tool to change that"
    "What do you mean you don't like our sexy new menu delays?"

    --
    Do not spread "09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0" over the internet, thank you.
    1. Re:Let the flames begin by Vicegrip · · Score: 2

      KOffice: Pull out version 1.0 of MS Office and compare... I thought so.
      MSOffice:"Have you pet your paperclip lately?"

      " to let you type cp /dev/zero /dev/mem "
      Have you tried deleting the contents of your registry yet? NT is stupid enough to let you do that.

      BSOD: "It's the vendor's fault"... how typical.. mabye NT internals just suck.

      gcc: Works pretty good for me. At least it didn't cost me 1000$ to get standards support. Microsoft has been trying since verion 1.0 and msvc still isn't compliant.

      Lynx never hosed my coporate network.

      ftpd: Your machine got hosed? Thats too bad, maybe you should apply the free upgrade that fixes ALL the problems. No endless litany of hotfixes that may or may not fix one big gapping hole but not the other one.

      Retard? I'm just playing with a Troll.. here Troll.. good Troll.

      --
      Do not spread "09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0" over the internet, thank you.
  29. It'll probably have something like this by ahde · · Score: 2

    (picture a pretty gui)

    Tools->Options->Build

    Compiler: [] Borland C++ []gcc |path|

    Linker: [] Borland [] ld |path|

    Flags:

  30. GCC extensions by achurch · · Score: 3, Insightful

    The kernel . . . is writen in C with a ton of GNU extentions. So the kernel is really tied to gcc. (which actually makes it more protable because gcc runs on a ton of machines)

    Um, no. Using compiler-specific extensions does not make code more portable by any possible interpretation of the word. If it didn't use any extensions, then not only could GCC compile it, so could Intel's compiler, Sun's compiler, etc. That would be portable.

    While we're on the subject, though, it would be nice to see at least some of the GCC extensions make it into other compilers. I try to write code without them as much as possible, but in particular I've found the typeof() construct useful, as well as the ability to initialize arbitrary members of a union (yes, I know I could just turn them into structs, but that's a waste of memory). Does anyone know alternate ways of doing things like this in standard C, or whether the GCC folks are doing anything to try and get their extensions included in the standard?

  31. Linux is not only a x86 OS by chrysalis · · Score: 2, Insightful

    A really great thing with Linux (and NetBSD, and OpenBSD) is *portability* . These OS can run the same way on a variety of hardware.
    Something designed on Linux x86 can run on Linux PPC with almost no change.
    The master key to make it possible is GCC. Because GCC can compile (and even cross-compile) code for a lot of architectures.
    Projects using Borlanc C++ specific features will work on Intel Linux. Nowhere else. This is pity. An opensource Operating System should be open to everyone.


    --
    {{.sig}}
  32. Re:"compile the kernel"? by Tim+C · · Score: 2

    From the story:

    Looks like Borland is going to be releasing C++ for Linux

    How much more related to Linux do you want?

    Cheers,

    Tim

  33. GCC constructs that made it into the C99 standard by Carnage4Life · · Score: 2

    whether the GCC folks are doing anything to try and get their extensions included in the standard?

    A number of GCC-isms ended up in the C99 standard. Such as support for C++-style comments, inline functions and named initializations of structs.

    For more info on C99 differences from C89 try reading Are you Ready For C99? which appeared on Kuro5hin about a year ago.

  34. Broken telephone re BCB for Linux by StrawberryFrog · · Score: 2
    She added that Borland plans to announce C++Builder for Windows next month, but declined to provide details.

    That's got to be a journalist mangling the message. Borland has been selling C++ Builder for windows for several years already - why would they anounce it now?

    This could really mean that either there is a new version of BCB for win32 to be anounced, or that BCB for linux is coming out.

    Now it has been Borland's stated intent that the Kylix product line (or even the Kylix product) will support drag&drop C++ as well as Object-Pascal. I don't see why not - they share a compiler back end and a class library.

    So either
    - Borland has changed direction and not told anyone, and there will be no BCB for linux.
    - We are getting BCB for Linux now.
    - This is in fact only a commandline compiler, and is just a warmup for a later release of BCB for Linux.

    Place your bets.

    --

    My Karma: ran over your Dogma
    StrawberryFrog

  35. Re:Look, Linux sucks by ahde · · Score: 2

    there are only about a hundred case studies where all that ultra complex exchange functionality has been recreated in a webapp with php or something in like a day.

    No, it isn't built into the email client, but WTF is intuitive about launching the email program to schedule a meeting, or look up someone's phone number. A simple calendar program, connected to finger and an MTA and viola!

  36. Re:Broken telephone re BCB for Linux soon by StrawberryFrog · · Score: 2
    Oops, just read further, seeing as borland says "We are taking our C++ development solution to the Linux platform." said Alison Deane

    Now "development solution" doesn't sound like just a commndline compiler to me.

    I expect that option 2 (BCB for linux now) is most likely, and option 1 (No BCB for linux ever) is right out.

    There will likely also be a new version of bcb for win32. That's what happened on the Object-Pascal front: Kylix 1 rapidly followed by Delphi6.

    --

    My Karma: ran over your Dogma
    StrawberryFrog

  37. Not necessarily.... by Micah · · Score: 5, Insightful

    Actually this was discussed on the borland.kylix.non-technical newsgroup a while ago. The aim is apparently to be able to compile ANY C/C++ Linux application, in fact the complete system, including the kernel. Thus it will need to emulate gcc's extensions.

    We'll see if this turns out or not. That's just what I recall reading in discussions.

    But if so it would be pretty sweet, assuming you're not a Free Software zealot (which I am, kind of, but I can see some coolness factor in this). If the pull it off, someone will be able to build an ENTIRE Linux distribution with their optimized compiler. Everything could run faster.

    1. Re:Not necessarily.... by BlueWonder · · Score: 2, Interesting

      The aim is apparently to be able to compile ANY C/C++ Linux application, in fact the complete system, including the kernel. Thus it will need to emulate gcc's extensions. [...] But if so it would be pretty sweet, assuming you're not a Free Software zealot.

      Even though I am a Free Software zealot (i.e., I wouldn't use a proprietary compiler even if it was both technically better and available at no cost :-)), I think this would be a good thing. The more compilers support gcc's extentions, the easier it'll be to have them included in the next versions of the language standards.

  38. This is not what Linux needs. by Otis_INF · · Score: 2

    What Linux needs is a kick ass developer environment like Visual Studio.NET, not another C++ compiler: the way software is written, the time it takes to cook up great reusable code, THAT's important. The compiler is just the end station of what's produced.

    If you are fortunate to be able to take a look at the Visual Studio.NET releases, you know what I mean. I hope for Linux Borland will come with a toolset that gives the Linux developer the same productivity tools as Visual Studio.NET gives you. But I fear it will be only the v5.5 C++ compiler.

    --
    Never underestimate the relief of true separation of Religion and State.
  39. Borland text mode IDE clones by MarkusQ · · Score: 2
    What I miss most is the old text-based Borland IDE. That was the most productive development environment ever. RHIDE is close, but wasn't stable on Linux when last I checked.

    Try SETEDIT; it's pretty darn close.

    -- MarkusQ

  40. Commercial compilers on Linux = Good by Lurks · · Score: 3, Interesting
    Quite a lot of this ground has been discussed in the story I submitted Does Linux Need Another Commercial Compiler?. That being about my company's consideration of porting VectorC {PC} to Linux. It'll just be provided with the Windows version.

    The upshot of that discussion was that VectorC {PC:Linux} is sheduled for release in April this year. That being based on our 2.0 engine so with C++ compatibility (currently VectorC is C only). While there was (unsurprisingly) a load of anti closed-source rhetoric in public, we did recieve a good number of serious private enquiries from people looking for a compiler such as ours on the Linux platform. It was enough to form a view that the platform is viable for us.

    Ultimately I can't see any serious argument against having development tools such as these (Borland C++ and VectorC) on Linux. While it's likely of less interest to the open source/free evangelists wanting everything for free, there's definately demand where Linux is increasingly being used as an industrial platform.

    Codeplay looks forward to competing with Borland on Linux.

    Mat Bettinson - Codeplay Ltd.

  41. Visual Development in Linux by Pedrito · · Score: 2

    Personally, I could care less about what the actual compiler is. For our product, we use MS VC++ for development and the Intel compiler for release builds (it's a better compiler).

    All I ask from Linux is a similar or better IDE. I want to be able to write code, edit resources (dialogs), and do it all from one environment. I want a class wizard (again, I'm a VC++ user). Give me that, and I'll develop software for Linux in all my spare time.

    Everyone talks about the advantages of Open Source. Give me this one simple thing, and I as user, will become an open source developer.

    Don't make me deal with configure and manual makefiles and all that garbage. Forget it, I'm spoiled. I won't go back to that. It's like going back to the old DOS days. Give me a true IDE environment for development, and you've got me hooked. Throw on top of that a really good C++ class library for dealing with X, and you're done. So, who's doing this?

    1. Re:Visual Development in Linux by Pedrito · · Score: 2

      IDE Let me ephasize "Integrated." Put it all in one place, and that works for me. Thats's what works for a number of other developers. I'm not against Linux. I want to see it grow and proliferatate. This is what I need to make it happen for me as a developer.

      I know there are good tools out their for Liinux. What I want to see is MSDEV with MFC on top of it, and then you'll have me as a developer. Point me to the SINGLE download for this, and you have another Linux developer.

    2. Re:Visual Development in Linux by mangu · · Score: 2
      What I want to see is MSDEV with MFC on top of it


      I used to think like that. Then I learned about Qt. Now I'm migrating everything I have ever done in MFC to Qt. The turning point was when I was writing a program that showed a picture in a window. In MFC I had to worry about things like creating palettes and converting image color depth. In Qt, I just do it like this:

      QPixmap img("bullock02.jpg");


      Another thing about MFC and VC++ was the doc/view model which was never really compatible with code generated by the project wizard. For some trickier things, the only way out seems to consult Eugene Kain's "MFC Answer Book", a great FAQ-like reference for the most frequent and difficult quirks in MFC.

    3. Re:Visual Development in Linux by TheAwfulTruth · · Score: 2

      Too bad qt costs a FORTUNE to liscence even for $5 software :( TrollTech's liscencing is crap. I would LOVE to use qt for development of my shareware but not until they unfuck themselves a little bit more and stop shitting on the small developer.

      --
      Contrary to popular belief, coding is not all free blow-jobs and beer. Those things cost MONEY!
    4. Re:Visual Development in Linux by spitzak · · Score: 2
      Actually an "IDE" that produced a simple, readable, and editable file would probably do everything you can do with Makefiles. This is because it would be easy to write programs that could find all the source code and thus run doxygen and the other stuff you are mentioning.

      Unfortunately most people are familiar with and copying VC++ and the horrid and huge "project" files it creates, that cannot be edited. I would use and IDE in a second if I could copy those files and I could edit them in a text editor to quickly add, remove, and rename source files. But just because MicroSoft software is written by morons does not mean you cannot make an IDE that is usable by real engineers.

    5. Re:Visual Development in Linux by elflord · · Score: 2
      I know there are good tools out their for Liinux. What I want to see is MSDEV with MFC on top of it, and then you'll have me as a developer. Point me to the SINGLE download for this, and you have another Linux developer.

      You don't even need to download if your distribution is up to date -- KDevelop should come with the distribution. I suggest you invest a couple of dollars in a CD of the latest release of a decent distribution. Alternatively, you could download the ISOs

    6. Re:Visual Development in Linux by elflord · · Score: 2
      Actually an "IDE" that produced a simple, readable, and editable file would probably do everything you can do with Makefiles. This is because it would be easy to write programs that could find all the source code and thus run doxygen and the other stuff you are mentioning.

      KDevelop uses automake and autoconf at the back end. You can certainly edit the files, though you need to take care that you don't edit it in a way that lets it get overwritten

  42. Re:GREAT for us poor schmucks.... by JimPooley · · Score: 2

    Also I already have problems getting Windows development jobs because I've refused to touch "Visual" C++.

    And who's fault is that? That would be yours, wouldn't it now.
    Maybe you should stop complaining that people won't employ you and learn Visual C++. Nobody likes a stuck up programmer.

    --

    "Information wants to be paid"
  43. Still Free software? by PEdelman · · Score: 2, Interesting

    So, if I compile Free code with a non-Free compiler, would people regard it still Free software? This is meant serious, not as a troll.

    As for me, it would not matter very much if with which compiler a program is compiled. But maybe someone has a good opinion on this.

    --
    Like science? Comics? Wicked...
    Funny By Nature
    1. Re:Still Free software? by Micah · · Score: 2

      I *think* so. The code itself is what matters. You can distribute it under any Open Source license you want.

      Of course, if it depends on a proprietary compiler, it can't be part of a Totally Free(tm) system. But that doesn't mean the code itself is non-Free.

    2. Re:Still Free software? by An+Ominous+Coward · · Score: 2

      Yes, it is still free software. According to Borland's license, any code you write, and code that is automatically generated by the compiler for your projects, belongs to you and can used / licensed however you like.

  44. GCC 2.95 vs. Borland C++ 5.5 by Per+Abrahamsen · · Score: 3, Informative

    I get twice as fast an executable when compiling my application with GCC 2.95.2 under Cygwin, compared to Borland C++ 5.5 under C++Builder, both with full optimization.

    1. Re:GCC 2.95 vs. Borland C++ 5.5 by DarkEdgeX · · Score: 2

      That's pretty damn vague-- what, precisely, is your application? Depending upon what you're doing, Borland's compiler could be faster/better than the alternatives (VC++ or GCC).

      --
      All I know about Bush is I had a good job when Clinton was president.
    2. Re:GCC 2.95 vs. Borland C++ 5.5 by Per+Abrahamsen · · Score: 2

      A numerical simulation, however I suspect the problem is with the iostream implementation. It makes no sense that BC++ 5.5 should be that bad for numeric code, especially as BC++ 5.0 produced almost as good code as GCC. Visual C++ 6.0 also give results in the same range as BC++ 5.0, slightly worse than GCC.

  45. Re:Compile the kernel? by DarkEdgeX · · Score: 2

    I guess the lesson here is not to use reserved words in your C code if you might compile it under C++, hm? Older code should stick out like a sore thumb as well-- the C++ compiler will knock out the specific line and column position that the error was seen at, making it simple work to rename variables that have improper names, or remove improper comments (as another example in this thread showed).

    --
    All I know about Bush is I had a good job when Clinton was president.
  46. Re:Compile the kernel? by erikdalen · · Score: 2, Informative
    ISO C is not compatible with ISO C++.
    This page lists some of the incompatibilities.

    /Erik

    --
    Erik Dalén
  47. Twice Shy by NReitzel · · Score: 3, Interesting

    Well, Borland is going to 'support' Linux.

    Whoooopie. I'm so excited I could just lift a finger in celebration. The "next article" finger to be exact.

    Borland was a Godsend back in DOS days, when the Microsoft platform was unreliable and probably the least compatible C compiler ever invented. Those of us who were doing development work on MouseyDos spent our hard earned dollars on Turbo C, Borland C, release after release.

    Then along came Windows and competing products from other vendors. Borland provided us with an extensible object framework better than anything that Microsoft had to offer. And then, something happened. All of a sudden, Borland was in bed with Microsoft, and those of us who worked with ObjectWindows, or (horrors) that "other" platform were abandoned like poor relatives at a party.

    I personally give Borland a share of the blame for the extension of the Microsoft monopoly and the eradication of that "other" platform.

    And now, they're going to bring out a product for Linux.

    Well, friends, I won't spend a single cent on a Borland platform for Linux. Linux already has a mature tool chain available (more than one, actually) and in my humble opinion, Borland's products are unreliable. They are unreliable for the same reason every other proprietary product is unreliable; one never knows if tomorrow that product will even exist. If I find serious errors with the product, will Borland fix them, or will they once again decide that politics or bribery rule, and abandon their product (and me) to their own interests?

    No, friend. I greet Borland's announcement of Linux support with all the enthusiasm of Borland's last six years of announcements. After spending thousands of dollars on their products only to be left standing in the rain, I will never, ever, buy another Borland product again.

    Not ever.

    --

    Don't take life too seriously; it isn't permanent.

    1. Re:Twice Shy by Micah · · Score: 2

      In a way I agree and in a way I don't.

      I have Kylix 1 and have been following the kylix newsgroups for a while. I'd love to be able to write some cool end user software in Linux with Kylix, but haven't had much opportunity yet (started a couple cool things though).

      Problem with Kylix (and much proprietary software) is that Borland hasn't really responded acceptably to reasonable gripes. Back in AUGUST it was made fairly clear that some K1 patches would be coming out that would fix the IDE, debugger, upgrade the MySQL drivers (they shipped only supporting the old 3.22 version!) and presumably other things. Then the Borland folks teased us again in October by saying that we'd see a K1 patch before K2 shipped. Then a ***BETA*** patch came out and they say "oh yeah, we only mean beta". Now, only about a week ago did the final patch come out, and all it is is a debugger fix for the 2.4 kernel and a MySQL upgrade. That couldn't possibly have been that hard to fix. How in the name of all that's good and holy did it take them this long to put it out? Any self-respecting Free Software project would have had fixes for that kind of thing LONG ago!

      So that solidifies my position that one should use only Free Software tools to develop something that is truly important or mission critical. Proprietary vendors simply can't be trusted. If something is wrong with the compiler and they won't fix it, YOU'RE SCREWED!

      Having said that, however, Kylix is a great tool for the most part. It is far and away the easiest way to build end user GUI applications for Linux, especially if they involve database access. So I will probably use Kylix in that way in the future -- AS LONG AS the project isn't a super critical one where loss of support from the tool vendor would be a disaster. In that case, I'd probably use Python and wxPython, or perhaps C++ if it was performance critical.

  48. I do, but not for much longer... by Per+Abrahamsen · · Score: 2, Informative
    We originally choose Borland C++ 5.0 for creating MS Windows binaries because Delphi was popular at our department.

    Since that is getting ancient (I want to use more modern C++ features), I have been looking into an upgrade. The compiler must be cheap and easy to install, as Ph.D. students (who have never heard of Unix) will want to compile the application, and I don't want to come in a situation where I have to provide technical support for the compiler.

    C++Builder is the obvious choice for a succecor, but the IDE is the worst I have ever encountered, is is slow bordering to unusable, and produce (for my application) ridiculous bad code.

    Cygwin was the second choice, since I already use GCC on unix. It is also the recommended way to get CVS, and I can reuse the Makefile. However, the Unix environment is too weird for some of the users, and getting -no-cygwin to work for C++ is non-trivial. So I need a more conventional solution as well.

    Visual C++ is what most people use. It has en excellent IDE, produce OK code, and mediocre C++ support. I have found work arounds for the limitations in the C++ support, so that is going to be the replacement for Borland C++.

  49. Eclipse by Ratbert42 · · Score: 2

    Borland is a member of the eclipse.org Consortium. Perhaps their new IDE is Eclipse. I hope so. The more I work with Eclipse, the more I like it. There's room for improvement, but those improvements are being made. Eclipse is the only open-source software my company has committed to. It's becoming a core part of our flagship product. No other open-source product can say that.

  50. EULA by blkros · · Score: 3, Interesting

    Out of over 200 comments, so far, there have only been a couple of mentions of the license agreement fiasco. Why is this? Does the Slashdot community forget so soon? This was a really big thing less than 2 weeks ago, and now everyone's happy because Borland is releasing a C++ compiler for linux, hmmm. This seems hypocritical to me. Borland never really apologized for their EULA, they just excused it as a mistake made by their lawyers.See this. There enterprise agreement is not industry standard, it is ridiculous. I guess that it doesn't matter what a company does, as long as it's not Microsoft. It's hard to replace an OS, but not so hard to replace an app--I, personally, would use someting a little less polished, rather than support a company that claims to support a community, but, really, doesn't.
    I'm really not trying to be a troll here, I just thought that this needed to be brought up, and, discussed.

    --
    Damnit, Jim, I'm an anarchist, not a F@#$!^& doctor!
  51. Re:GREAT for us poor schmucks.... by JimPooley · · Score: 2

    Exactly. You haven't got the experience employers are looking for because you consider getting that experience to be a waste of time.
    Pretty much confirms my point.

    --

    "Information wants to be paid"
  52. I hope it's better than... by ameoba · · Score: 2

    I hope it's better than the version of Metrowerks Codewarrior for Linux. The Linux version of Metroworks' product is nothing more than an IDE wrapping the standare GNU tools.

    I expect better from Borland.

    --
    my sig's at the bottom of the page.
  53. Re:Better 'quality' kernel code? by mccalli · · Score: 2
    /*Damn the snobs who scorn ifdef*/

    Names changed to protect the guilty, but a product I worked on in a previous company used a contractor to write some of the code. The contractor and the guy that ordered it really didn't get on, mainly because the manager was a fool who was rubbish at paying the contractor on time.

    After yet another silly dictact, the line #ifdef JOHN_SMITHS_PAPAL_DECREE started creeping into the code...

    Cheers,
    Ian

  54. More info on C++Builder for Linux by Anonymous Coward · · Score: 2, Informative

    I'm one of the compiler team members working on the Linux port right now, so I can offer a few more pieces of information.

    What will be released is the full GUI environment, not just the command-line compiler.

    bcc has not been tried on the kernel sources, and I'm doubtful it would work. We implemented enough gcc compatibility to use glibc, but some things, like inline assembly, just didn't make it on the schedule for this release. Expect code that uses lots of gcc trickery to fail.

    Compared to gcc it compiles code almost twice as fast. bcc is meant to complement our GUI tool, not compete with gcc standalone. Since the GUI tool focuses on "rapid application development", having fast turnaround times is a big plus.

    Probably the nicest item for command-line buffs will be our incremental linker. It should be usable in standalone projects, whether or not you use bcc (will have to do some checking to make sure..). Relinking after a single object change typically takes just a few milliseconds. First-time links are still faster than ld.

    There will also be no STABS or DWARF this release. Sorry gdb users. :( The IDE has a rich debugger in it, but we would like to see a command-line alternative at some point. Some things just weren't possible for 1.0.

  55. XEmacs tricks (naze nani!) by Mongoose · · Score: 2

    Heh, well silly! You been using it for 3 years and haven't tried any of the nice features?

    It's simple http://www.xemacs.org should be able to point you in the right direction. XEmacs/emacs has a ton to '3rd party' things like class browsers and code generators. You can also get more links to sites from google, and even install packages right from XEmacs menu. =)

  56. Bad as in slow... by Per+Abrahamsen · · Score: 2

    My applications works fine compiled with C++Builder (5.0, with BCC 5.5), it just run half the speed I get with GCC 2.95, Visual C++ 6.0 and even BCC 5.0.

  57. Visibility of Borland RAD tools by fm6 · · Score: 3, Informative
    How many people actually use Borland's C++ products currently? Of those that do, is this just brand loyalty from the Windows 3.1 days? I've been part of product teams (all using C/C++) developing on Windows, Mac, and various unices, and I've never seen Borland being used anywhere. The last Borland product I've seen used was Turbo Pascal for DOS back in high school.
    Here's an irony: I work at Borland, and I'm currently working on the documentation for this product. (Do not ask me for product details. Must go through Official Channels.) The ironic part is that before I took this job, I had the same misperception. I applied for a job in the Enterprise software unit, thinking the developer tools unit must be in Legacy Support mode.

    Not even close to true. A lot of developers are absolutely passionate about Delphi and C++ Builder. I think they'd riot in the streets if either product were discontinued. Not that there's any danger of this. Even in Borland's darkest days, these products were making money, and never stopped being under active development.

    There are lots of reasons for this lack of visibility. The most obvious one is the reluctance of managers to commit to non-Microsoft tools, despite rabid lobbying from their engineers. And there always seem to be rumors of Borland's imminent meltdown -- even as we turn a profit and scramble to house the new hires.

    One way to measure the penetration of Borland RAD products is to download and run the VCL Scanner, which uncovers installed Windows programs that use Borland libraries. First time I used it, I was shocked to discover how many of these there were. Some of them were basic system utilities that I had used for years.

  58. What is beneficial? To Whom? by HiThere · · Score: 3, Insightful

    Borland is entering a tough market. The Linux system already comes with C++ compilers and IDEs. Perhaps not as good, but free (GPL). This makes any sale dubious. Their products may well be better, but how large a market is there for better products against already established free products?

    One place where they have a big edge is in dialog building. Kylix already builds dialogs under Linux, so they know how.

    Perhaps what their goal is, is to get people using their products on Linux to be cross-platform, but to make their pile selling compilers for the Windows versions? Sounds chancy to me, but it would let them sell the Linux system at around cost, and still make SOMETHING. I'm dubious about proprietary libraries, but I believe that the GPL (NOT LGPL!) version of the library is available at sourceforge. And that Borland holds sole rights, so they can license it commercially if you pay them.

    This means that you can use Borland libraries in GPL software without cost, but if you want to sell the product, Borland gets a share. (Sounds fair to me. Viable? I don't know.)

    Given this evaluation, past comments, etc., and what I expect is that this C product will be the C++ companion product to Kylix. And it will probably be available on the same basis.

    As to what they'll call it, companies are unpredictable, but what I think they should call it is:
    Kylix C++, a C++ environment for the Kylix family.
    Then they could follow it up with:
    Kylix Python, a Python environment for the Kylix family.
    Kylix Java, a Java environment for the Kylix family.
    etc.
    The kicker would be that all of the various pieces could work together in a relatively seamless way. (This takes a bit of work, but SuperCede Java did this between Java, C, and C++ on the PC side years ago. They finally got bought out by someone who raised the price to $10,000 per copy, but it worked pretty well when it was affordable.) And, of course, gcc has always worked this way.
    .

    --

    I think we've pushed this "anyone can grow up to be president" thing too far.
  59. Re:"compile the kernel"? by TheAwfulTruth · · Score: 2

    And the answer to that is probably "No" since gcc has been hacked repeatedly to allow for the writing of "optimized" code in the kernel. A deplorable practice at best. c has been embraced and extended in gcc just for the (Linux) kernels sake.

    --
    Contrary to popular belief, coding is not all free blow-jobs and beer. Those things cost MONEY!
  60. Remember, the kernel started out in Borland C. by Kaz+Kylheku · · Score: 3, Informative

    Linus used a Borland compiler to bootstrap the development of Linux, because Minix was compiled with that. (Then when the system was good enough to host GCC, and serve as its own development platform, that compiler was abandoned).

  61. unsigned i; long j; legal? by yerricde · · Score: 2

    However, you're missing something. ANSI C++ forbids declaration of i with no type.

    I understand that declaring a variable with a type made of only qualifiers (const, volatile, etc.) is illegal in C++, but what about unsigned i; or long j;? Are tokens such as "unsigned" and "long" considered qualifiers or part of the basic type?

    --
    Will I retire or break 10K?
  62. Borland C++ for OS/2 - a warning! by DrXym · · Score: 3, Informative
    I hope Borland learns from past mistakes.


    About 8 years ago I got into OS/2 in a big way and wanted to start developing for it. CSet from IBM was very expensive so I was ecstatic when Borland C++ came out for OS/2. Version 1.0 was pretty damned good - a powerful IDE, a decent set of helper classes (no GUI ones though) and a syntax highlighting editor in an age when IBM CSet++ shipped with no editor whatsoever. All was good or so I thought and I put aside concerns about the few bugs because it worked dammit and 1.01 would iron out the remaining problems.


    Version 1.01 came and had some fixes for the existing problems but overall had *more* bugs than 1.0. The classes didn't work as designed, the debugger more frequently hung your machine than worked and worst of all the IDE crashed - randomly. All was getting decidely iffy but I knew that 1.5 was out so I still held out hope.


    Version 1.5 and all hope flew out the window and emigrated to Australia. I had never seen a buggy piece of shit in life! The all new improved version may as well had alpha written all over it. It was unusable and I gave up after discovering threading was completely broken - a feature I had used up until then.


    Soon after I switched to IBM CSet++. Now that was a compiler. It might have had a totally stinky UI (none at all), but the command line tools were excellent and it came with some pretty good classes too.

  63. The 10 outweighs the 2 by yerricde · · Score: 2

    I think the speed at which Borland's compilers execute is evidence that they can generate fast code.

    Not necessarily. If Borland's compiler is ten times less complex than GCC, but GCC produces code that's twice as fast, Borland's compiler compiled with itself will still feel five times as fast as GCC compiled with itself.

    --
    Will I retire or break 10K?
  64. Re:What is beneficial? To Whom? by MikeBabcock · · Score: 2

    Large companies wanting to port their software to Linux may well be much more comfortable buying a copy of Borland C++ (I know some of my coworkers would be) than using gcc.

    --
    - Michael T. Babcock (Yes, I blog)
  65. You can always tell by Vicegrip · · Score: 2

    who has lost an argument by looking to see who is swearing first.

    bye bye Troll

    --
    Do not spread "09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0" over the internet, thank you.
  66. I used C++Builder 5.0 by Per+Abrahamsen · · Score: 2

    The compiler contained in C++Builder 5.0 identifies itself Borland C++ 5.5. I have never used the free Borland C++ compiler.

    I'm surprised to hear that the free C++ 5.5 is six years old, as the Borland commercial product back then was called C++ 5.0.

    The GCC of the same timeframe (six years ago) was 2.7.x. Version 0.9 (the initial beta) was from 1987, 15 years ago.