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."
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
Isn't the kernel written in pure c? is c++ 100% compatible with c?
I wonder if it will be able to compile the kernel?
And, if so, I wonder if it will have a kernel debugger.
It's nice to see more commercial development packages coming to Linux. I would imagine that every step like this brings more developers to consider Linux developing as less and less it's own world. It's some good news to balance off the Loki happening.
It's not like anyone BUYS them...
It'd be nice to have a C++ Builder for Linux though.
that the writer of the article didn't know what they were writing about. Oh well I cant wait for the Windows version of C++ Builder
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.
... but an IDE would be even sweeter.
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
healyourchurchwebsite.com - WWJB?
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.
If it isn't visual, it won't be long before it is. They'll probably incorporate the same toolkit that Kylix has.
--------
Bleah! Heh heh heh... BLEAH BLEAH!!! Ha ha ha ha...
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.
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.
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
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.
¦ ©® ±
I hope that it comes with the same IDE as Turbo C++ 3.0....I've always liked the text-mode interface. :)
man tunefs | grep fish
Does this mean that code will be cross-platform if developed in a Builder environment?
void main(void) {
printf("Big deal\n");
}
"I have not failed. I've simply found 10,000 ways that won't work." --Thomas Edison
Then all we need is Textpad for Linux and then all well be well in the land of CS coding...
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.
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
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.
Heh, Visual C++ is not ANSI compliant.
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.
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.
Also, I'm an MCSE.
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.
Mod this up!
Myself, being a bit of a platform freak, I see this all the time.
GCC is way too lenient. Heck, I've even found cases where MSVC++ catches more things.
I've also used the Sun Workshop compiler, IBM's xlc, and SGI's MIPSpro.
IBM xlc has this neat thing where error messages not only indicate line number, but also where exactly in the line it found the error.
BTW, MIPSpro is my favorate so far. It's error messages are actually quite informative. Also, if you happen to be on an SMP box, add the "-apo" compiler flag and it auto-parallelizes your program. Has anyone else seen a compiler that can make your plain single-threaded app take advantage of multiple CPUs?
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.
Lots of my classes ask for submissions written on a particular platform (linux, windows, heck even irix sometimes). My goal has always been to write my assignments in a different platform. It's helped me learn a lot about cross platform coding and lets me experience different operating systems.
$45 per U Colocation Special
I would love to see C++Builder for Linux though. It is incredibly good product. I use it for Windows, and love it.
Yes! This is great news for Linux comunity.
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.
... will probably not be able to compile the kernel. The Linux kernel is notorious for using GNU extensions to the C language.
I think that is a step in the right direction for Borland and I applaud them.
Perhaps after discovering the anger of the programmers over the unreasonable terms of the their misguided Borland Kylix/JBuilder license, they are perhaps trying to make peace with the growing multitude of linux programmers which would be their customers if treated with respect.
I think Borland has a pretty good track record for being a friend to the community. I do appreciate Borland showing their support for linux.
"Congress shall make no law... abridging the freedom of speech, or of the press"
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 ---]
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
I'm familiar with XWPE, and I tried it out a long time ago (6 years?) but I never liked it as an X application.
However, I hadn't seen WPE before, so I might try that out; thanks!
FYI, RHIDE is another TurboVision IDE clone, which is also very good, but not that stable under Linux.
pb Reply or e-mail; don't vaguely moderate.
What kernel? Or is everything automatically related to Linux?
Graham
Hey cool, can we use BGI to do graphics in Linux too?
If so, Intel's compiler for linux is nice and makes things run alot faster. If you haven't check it out and are looking to make a program run faster it will help.
I heard libDSP now compiles with icc, but I know the kernel doesn't yet.
It was dark and I didn't have my contacts...
The Watcom Power++ IDE was the best-designed GUI for C++ developers, but it crashed every time you scratched. Borland is way ahead of MS on ease of use, but the MS optimizations are much better than Borland's. So, it's a fair product, but not without some problems. Meanwhile, it looks like it will be a long time until we can tell if gcc is improving slowly or very slowly. It gives the patient an unequaled opportunity to display their patience. What do you expect? There's not a lot of money in compilers.
Must consult someone experienced.
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.
(picture a pretty gui)
Tools->Options->Build
Compiler: [] Borland C++ []gcc |path|
Linker: [] Borland [] ld |path|
Flags:
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?
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}}
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.
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
but I think vc++ handles templates much better than gcc, but thats just my opinion.
That's interesting, because it's widely known that VC++ has TERRIBLE support for templates.
// TODO: Insert Cool Sig
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!
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
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.
Yes, GCC makes the kernel and all of the other parts of the OS work on lots of different platforms. But let's face it, the OS alone is not enough. Linux has fought a long, hard, uphill battle for the desktop. Why is that? Because developping GUI apps for Linux is more difficult than it is for Windows. Tools like C++ Builder and Delphi make it possible to spin out high-quality apps in a lot less time - and it also GREATLY widens the number of programmers (and programs!) that can very easily switch over to Linux!
So, this isn't going to make the kernel any more portable, and it might not make life any better for those running Linux on an Alpha - but for the great, vast majority of people who use Linux as a desktop, this has the potential to be VERY useful!
steve
Oh, you're not stuck, you're just unable to let go of the onion rings.
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.
Try SETEDIT; it's pretty darn close.
-- MarkusQ
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.
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?
who have used C++ Builder under Windows for YEARS and miss the ease and speed of putting together quick, fast and powerful C++ apps when moving to Linux. Somehow though even though Builder is my tool of choice I doubt I would use it that much if it doesnt act as a direct replacement for gcc. Also I already have problems getting Windows development jobs because I've refused to touch "Visual" C++. The last thing I'd want to find is the same situation cropping up under Linux because I happened to state that Builder was my compiler of choice.
Does CLX still require the borlandc C++ extensions?
One problem with VCL is that it has "properties" which are a borland only extension which means that you can't build code that uses VCL headers with any other compiler.
-- Thorin sits down and starts singing about gold.
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
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.
Geeeees!
... now I can officially forget Visually Impaired C++ from my resume ... after all Borland is portable. Well maybe not ... kids still gotta eat.
... absolutely wunderful fellas (and fella-ettes). So easy to do things. Not perfect but pretty damn good.
Tears of joy
I used C++ Builder on a contract recently
Bitter and proud of it.
Personally, I find the number of warnings that scroll past whilst compiling kernel code to be quite worrying - particularly simple ones such as unused variables or casting errors.
It would be nice if people made the effort to write code that would compile in all environments (GCC/Borland/anyone else out there), and to try and make that code warning free. Having another compiler about might help people to check that.
Cheers,
Ian
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.
But what I *really* want to see is a Linux version of Sidekick. I can see no way of getting multiple apps running on the console at once. Besides, a "pop-up" text editor is sorely lacking on Linux. And yet people continue to slam DOS.
In all seriousness, they make super tools, and this is great news.
I don't think they will be making the C++ builder. Probably just the compiler. Why? The article in InfoWorld quotes Borland saying they want their Unix users to migrate to Linux. Borland has no unix C++ builder.
Minesweeper Consultant Solitare Expert
"why use borland when there is gcc?" seems to be the resounding question going around right now. this is the same as saying: "why use l00nix instead of windows?" maybe this will start another flame war, but hopefully /. crowd is too smart for that.
either way, the reason it was released is to release their OWN product on l00nix, and maybe SOMEONE will use it. and even if EVERYone is still using gcc, its competition. there is nothing competing with gcc. IF borland makes a kick ass compiler (address this later) and adds stuff that say, gcc, doesnt have, be it good ide (not for me, but w/e), or features, or good checking stuff like lint, etc....you get the point: its competition.
QED
BSD is for people who love UNIX. Linux is for those who hate Microsoft.
Let me emphasize this before someone acuses me of being on crack: I don't know the internals of kylix, I don't know about the internals of lastest C++ Builder releaser. The above argument might not apply. It is based on structure of Delphi 3, C++ Builder 1.0 and C++ Builder 3.
Gentlemen, you can't fight in here, this is the War Room!
I'm glad Visual C++ isn't ANSI compliant! It means I can do dumb stuff like pass function pointers to functions requiring a void*.
Most of c++ is bondage and discipline stuff that we're better off without.
You know I'm right. You know you're right. The compiler won't let you. The compiler is your friend.
graspee
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++.
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.
Having a new commonly used compiler for Linux would be a good thing. It would force GCC to better comply with the ANSI standards. As it stands, there are a number of 'minor' embrace-extend features of GCC that many coders aren't even aware of. Having to write their code to compile on multiple compilers shakes some of that kind of stuff out.
I can see how many linux users would not want to get an expensive program that might be better than their free one. But what if a group like Debian got one, and used it to compile their .deb's? Wouldn't that be able to produce better code for a whole junkload of people from one liscence?
The masses are the crack whores of religion.
I know alot of pointy-headed IM/IT managers will gobble this up like hot semen, but Borland (read; Inprise) is still a big hulking piece of marketing. Their products _used_ to rock, but a few years ago (starting with BC++ 5.0) they just caved in and started producing expensive unfinished crap.
Yes, this compiler will probably produce better code than gcc and it will surely be much faster, but remember this is Borland. They're trying to 'Embrace the Linux platform', just like they tried to do with Kylix, and I have yet to see any serious Kylix-made projects in widespread use, probably because of their unfriendly license for free users.
Is BC++/Linux a piece of shit ? Not really. Is it going to be useful to most of us ? Not really.
-Billco, Fnarg.com
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!
C++Builder 5 may look pretty, but it makes C++ in to Visual Basic, with all its bindings to VCL (written in Object Pascal!), this is a BAD thing, trying to strip all that crap from a default project takes an uneccessary amount of time, and even then you still have all the ide crap hanging around, i just want to get in to stright coding, not drawing my program, if i wanted that i'd use Visual Basic. All said and done, the compiler itself is a marvel and the default c++ and windows libraries that come with it are great (with the exculsion of all the borland specific stuff), now if only that had binary compatibility with visual c++, they'd get there market share back because then microsoft couldn't force us in to using there compiler (anyone using the directx 8.1 sdk knows what i mean)
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.
If this is BCB for Linux, I dearly hope they make it cross platform. If I can create an app in the Linux version and have it compile in the Windows version, I will BUY it the minute it comes out. Actually, whats stopping them from releasing a version that runs on both Windows and Linux? They would only have to create the IDE for Linux as they have the Windows one done and working... come to think of it, Kylix has the same interface, I wonder if they are just using that and just interfacing it for C/C++ ?? On another note, the GUI controls (VCL) are created in Delphi under the windows version of BCB so I guess they could use the Kylix versions for the Linux BCB.... All they need is a compiler for linux and they have everything else done!
An optimist believes we live in the best world possible; a pessimist fears this is true.
>I wonder how it will compare to gcc?
If I were a betting man, I'd guess that it will probably be geared towards squeezing the last bit of horsepower from that floundering line of Intel processors.
/AMD fan
I seriously doubt that Borland wants to compete with gcc. (gcc is of course my favorite, as it should be for any true geek, especially you Linux/BSD guys :-)
However, it might help gcc improve itself. Gcc is far too forgiving in allowing non-ANSI constructs, and also allows mixing of C and C++ code. (Like virtual members of a C structure.) Running some typical Gnuish code such as Glib and Gtk through the Borland compiler is a good method of evaluating code quality.
Maybe Borland will open the source and put it under the BSD license, and we'll finally have a compiler with a FREE license. I doubt it, but it'd be nice.
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.
:( 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.
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 NeverWinter Nights DM Module Editor MIGHT be released for Linux after all!!!! Yahoo!!!!
They wrote the toolset in Borland C++. A release of it for Linux, they said, would depend on whether Borland would release a C++ compiler.
Three cheers for Borland! Three cheers for that Canuck company, Bioware!
Sure, it's good to have competition in the IDE space.
But last time I checked (5-6 months ago?) KDevelop didn't have anything to match Borland's VCL for RAD development. It's a good IDE, but Borland are just way ahead in terms of Visual Development.
The price is pretty negligible in TCO terms - it's well worth shelling out a few grand for even the most expensive Borland development tools if it can knock just 5% off your development time, and the speed of the compiler alone could well do that...
Don't get me wrong, I look forward to the day when open source tools are better than any commercial equivalent. My point is that we just aren't there yet.
If their price is anything like their Kylix software, I won't buy it. Borland is just trying to capitalize on what we already have and try to draw more people to them. It won't work with that pricing scheme.
-- DuckWing
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. =)
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.
Why buy gnu-pro gcc? If it's based on gcc, their custom gcc source code must be available.
Not necessarily. The copyright holder (in this case, FSF) can choose to license the software under any license, including a "no copy, no reverse engineer, all your firstborn are belong to us" type EULA.
Will I retire or break 10K?
Sure it might work on Linux, but does it just compile for x86? I don't recall Borland ever making a compiler for other processors (although I really don't know). That in itself could be sort of annoying in that you could use borland's compiler to develop applications, but then be tied completely to x86.
Presumably this is Linux on i86? Yes, I'm on a PC too, right now, but if trends are to be believed Linux is going to be high-volume on ARM and other chips.
All attempts to target 'the Linux platform' for mainstream app development are therefore doomed unless the platform includes a VM (as in Java VM). Why can't Borland support Parrot or Mono rather than contributing to this proliferation of non-portable "electronic concrete"?
(Related post here).
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.
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.
LCC : http://www.cs.princeton.edu/software/lcc/
c 50/linux/
GCC : http://gcc.gnu.org/
Comeau C++ : http://www.comeaucomputing.com/
Intel C++ : http://www.intel.com/software/products/compilers/
KAI C++ : http://developer.intel.com/software/products/kcc/
CodeWarrior : http://www.metrowerks.com/products/linux/
SGI Pro64 : http://oss.sgi.com/projects/Pro64/
TenDRA : http://www.cse.unsw.edu.au/~patrykz/TenDRA/
And yeah, there will be a Vector C++ for Linux as well. http://www.codeplay.com
If you feel like it, you could take projects like SableCC and SUIF into account as well.
Good luck, Borland.
I am a student and my CS classes all focus on the use of M$ Visual Studio. I have been trying to wing myself away from M$ but I do find that it can be difficult to leave when you get used to a particular format. I love it when Im booted in Linux I love the feel of the desktop and the look, but I and others out there still feel a need to keep a dual boot machine because a lot of classes and people are not quite as linux friendly as others. I have to boot windows everytime I have to code something for my classes, because I have to say that the Beast in Redmond has produced an enviroment that I like to program in. I tried using gcc and emacs but I had a hard time learning how to get arounf in emacs. The fact Visual Studio is pretty and it works well for my classes. Now then if Borland does go through with this...then that would be a really great thing, becuase I would be able to have the enviroment that I had using VS, but with my OS of choice...LINUX :) I love linux and I want it in the homes of more people, so I see this as "A good Thing."
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).
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?
ever tried raising the warning level? MSVC catches _much_ more errors that way.
<grammar-national-socialist> First of all, "many" not "much" to agree with plural "errors." </grammar-national-socialist>
More to the point, it's not a warning; even with a warning setting on minimum, GCC will still report errors.
test.cpp:3: ANSI C++ forbids...
That's an ERROR, not a warning. Note the lack of "warning" immediately after the line number; GCC uses this convention to distinguish errors from warnings.
Will I retire or break 10K?
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.
Really, the internal representations differ. No big deal. In reality, you should never use == with floats.
My friend, what have you been smoking?
How do you think Borland became so big in the first place? Because they never really had anything bigger than their Pascal and C/C++ compilers. They started out with Sidekick and Turbo Pascal. Sidekick sold really well for a year, and then sank into the swamp. They either purchased or developed Quattro Pro. That sank into the swamp. They purchased FoxPro and improved it. That sold ok until Access took off, and then it sank into the swamp. they developed their own database engine, Paradox, and sold it. That burned down, fell over and sank into the swamp. But the compilers always kept them afloat.
Also, if your company is mid-sized, you can make quite a bit of money making compilers for embedded processors. Check out Hi-Tech for a 68000 C compiler - $1150 cha-ching or an 8051 compiler - $850 cha-ching or a Z80 compiler - $850 cha-ching.
And that's only the first company that came up in my google search for "embedded c compiler". There are dozens more. Not a dozen more, dozens.
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?
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)
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.
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.
Try it, maybe your last pot hasn't weared of yet.
Gentlemen, you can't fight in here, this is the War Room!
I know that dcc32 for builder is dcc32 for delphi+a new parser (at least that is what charlie calvert claims, and he is supposed to know.) So it is a C++ compiler that also has a Pascal parser, even but the temporal relation is backwards (the C++ parser is addon rather pascal parser.) The question is whether bcc32 is based on dcc32, my assumption is that, it is, as this quote from borland suggests: "The Free Borland C++Builder Compiler is the foundation for Borland's fully integrated C++ development environment - Borland C++Builder 5."
Gentlemen, you can't fight in here, this is the War Room!