Does Linux Need Another Commercial Compiler? 261
Lurks asks: "My company, Codeplay, is set up to develop new and innovative compiler technology for the games industry. Our C compiler, VectorC, is a
cutting edge vectorizing compiler aimed at games and multimedia
applications that demand high performance generally through hand-optimized assembly. I'm writing to ask the
burning question on our minds, is it worth porting VectorC to Linux?
In fact, we're already targeting Linux as part of the PlayStation 2
version albeit not generating x86 code of course. A Linux port would see us converge this work with our Win32 compiler and such an
undertaking would certainly be popular with our Linux loving techies!
One caveat worth mentioning now is that the current version of VectorC is plain C only. 2.0 with full C++ compatibility is due early next year."
"Of course, commercial realities will rear their ugly head and we must consider that Linux isn't perhaps an obvious choice for a compiler aimed at games and multimedia applications. Given the certain degree of hostility towards commercial closed-source products of this nature, perhaps the idea should be consigned to the pet-project back burner for the future rather than rolled out as a commercial product?"
Well.. can you clarify some things? (Score:4, Insightful)
IF it's a playstation/games developmetn compiler.... then the only reason to port it to linux is if you want to offer linux as a development environment for playstation games. Is it? What's the benefit?
Re:Well.. can you clarify some things? (Score:2, Informative)
Re:Well.. can you clarify some things? (Score:1)
Scientific apps (was Re:Well.. can you clarify...) (Score:2, Informative)
Scientific applications usually need more than single-precision arithmetic, while the vector instructions available in 3D-Now! and SSE are only single-precision. SSE2 has double-precision as well, so it may be more useful on the Pentium4 for scientific applications
Games generally aren't so picky about the precision, and so more can be done to optimize without breaking the code.
Re:Scientific apps (Score:2, Informative)
Re:Scientific apps (was Re:Well.. can you clarify. (Score:3, Insightful)
You're obviously quite right. We get a surprising amount of interest from the scientific/academic community. High tech compilers that vectorize are nothing new in this area, but generally they're Fortran compilers for mainframes etc.
I'm guessing that with the power of desktops these days and the prevalence of C/C++, micro based scientific computing is looking more attractive.
It's quite spooky to see all these high energy research labs (Eek!) in our web logs. I wonder how many of these people understand the precision issues with most vector units out there.
Perhaps the Pentium 4 will become a standard choice for scientific computing because of the double precision cable vector unit. Just as well we put a lot of effort into SSE2.
Mat 'Lurks' Bettinson, Codeplay Ltd.
Re:Scientific apps (was Re:Well.. can you clarify. (Score:3, Interesting)
Re:Scientific apps (was Re:Well.. can you clarify. (Score:2, Interesting)
I can't comment on what you're talking about without knowing what you're doing. Suffice to say those results aren't indicative of our performance.
So yes, you do have to say more or at least I'd like you to. Drop a mail to support@codeplay.com and we'll work out what's going on.
BTW we released 1.2 last week which is a substantial upgrade from 1.1. In particular Pentium 4 support in 1.1 was very limited.
Mat 'Lurks' Bettinson, Codeplay Ltd.
Re:Scientific apps (was Re:Well.. can you clarify. (Score:2, Interesting)
Re:Scientific apps (was Re:Well.. can you clarify. (Score:2, Informative)
Lackluster? umm, not exactly. (Score:2, Interesting)
What's needed (Score:2, Interesting)
Kernel? (was Re:What's needed) (Score:2, Interesting)
If the gcc-compatibility is up to par, then it should be possible at some time in the future to compile the Linux kernel with VectorC. However, remember that there are currently _no_ compilers other than GCC which can do this (please correct me if I am wrong), as the kernel source uses a number of GCC-specific extensions to C.
It will already compile some other large pieces of software; I myself have used it to compile MAME, and it gave a significant speedup on most games over compiling it with Cygwin GCC (all on Win32, obviously).
Linux != x86 (Score:2, Insightful)
You also need to understand that the Linux community is very diverse. The hostility to commercial products that you have seen comes from people who don't represent the majority: no one does that (except perhaps Linus).
Re:Linux != x86 (Score:2)
And Commercial != Not Open Source (Score:2)
<b>Commercial is not the opposite of Open Source</b>. Never has been, never will. I don't pay for Red Hat Linux, but parts of it (such as the installer) are produced with commercial benefit in mind, similar to free to ait television. Red hat Linux is (IMHO anyway) a good commercial Open Source app. There are many others - Zope, large chunks of Zend, etc.
The opposite of Open Source / Free Software is
* proprietary
*closed source
* non free
etc etc etc.
<b>Assuming that all Open Source projects are inherintly non commercial is not only false but very rude to the companis that produce Open Source software with their own financial gain in mind, but which also benefits the community</b>
Goddamn! More Ad Slashdot! (Score:2, Funny)
Intended Audience (Score:3, Informative)
Anyway, I can see this not going down hugely well on Linux. Apart from the commercial thing, which is a big turnoff to many of the free-as-in-beer users
Anyway, its a good compiler, if you need it. Just think about whether you do or not...
It may be one of it's selling points, but... (Score:2)
Wrong assumptions lead to wrong conclusions.
Re:Intended Audience (Score:2)
...and the fact that they've invested in a large computing cluster means they'd be willing to spend good money on a compiler IF it provides a significant performance improvement.
Think about the embedded market. (Score:2)
Now why isn't purify ported to Linux...
Purify For Linux? (Score:2)
No, but Insure++ is available for it... (Score:2)
So is Purify... (Score:2)
The top-end tools cost that much no matter WHO you talk to- and that's what we're talking about here. Insure++ tells you what blocks of code got ran to see if you might have missed something in normal execution that might come back to bite you down the line.
While it's pricey and places itself out of the reach of normal (i.e. Small business and open source/free software) developers, it's a must if you need to ensure reliability. We're buying at least one license for it at CoolLogic in the very near future...
Re:Purify For Linux? (Score:2)
(From elsewhere on the page: IA-64 Linux support is more likely?)
I don't know what a vanilla Unix Purify license goes for (my employer has a negotiated lower rate), but it's less than $10K US. It is several thousand dollars per user, floating across hosts (and maybe Unix platforms) but not floating across users; expensive.
Purify alternatives were recently discussed here [slashdot.org].
Limited Asm Optimization (Score:1)
Re:Limited Asm Optimization (Score:1)
Re:Limited Asm Optimization (Score:1)
Err, I don't know how you got that impression. The benchmark code is in C. Just click on the tests on the left. If you click on the RIGHT you see the output assembly from the major compilers on Win32 platform.
And you're right, we haven't benchmarked against GCC because it's not a contender on Win32. Also your point on seeing benchmarks on large 'production quality program' is well taken and we're working on that. We've got some real-world games/engines compiling nicely but since we can't release the source for those it's of dubious use wouldn't you say?
Quake 1 is what a lot of people like to test us with, compiling it themselves.
Mat 'Lurks' Bettinson, Codeplay Ltd.
Re:Limited Asm Optimization (Score:2, Informative)
Re:Limited Asm Optimization (Score:1)
There is no market for commercial compilers on Linux period.
You'll need to do the thinking.. (Score:5, Informative)
Now - the next big compiler that will come out (commercially) is from Borland. Early reports from various testers suggest their C/C++ compiler is kicking both ICC and GCC in the ass, but again - I belive it when I see the numbers, although Borland got a reputation of isssuing quite fast compilers..
So - if you decide to release a compiler, you'll need to think about 3 points:
1. GCC compatible - you'll need it if you want to be used by open source users OR to allow developers to move their apps which used GCC to your compiler.
2. A free version (free as a beer) - in order to be really accepted and widely used by Linux users, you'll need to issue a free version for the developers to use. Intel learned this quite since the beginning that if they want their compiler to be accepted by the Linux users - they'll need to release a free version. Borland is rumored to release a free version also with their upcoming C/C++ compiler (command line version, not the GUI)
3. Competition - well, not much to say here, but you got companies like: Borland, Intel, and the GNU GCC, along with the Portland group's compiler, code warrior (Metrowerks) - plenty of competition. do you really want to get in?
Re:You'll need to do the thinking.. (Score:1)
Yes, that's the idea. We accept broad compatibility is a requirement and we've done a lot of work on that sort of thing on several platforms.
That's a possibility. However VectorC is something other than a general compiler, although that's ultimately the goal. My current thinking is that if you want a free general purpose compiler than there's nothing wrong with GCC. If you have a need to write high performance code, you're probably doing this because you have a serious application in mind. You're faced with hand coding assembly or... VectorC. If you don't enjoy hand-coding assembly then VectorC starts to look attractive (we hope).
Then again, plenty of programmers enjoy that, I don't quote understand them myself :)
Of course, otherwise Codeplay never would have started! To be honest, our focus is still games and in that area (specifically vectorization) compiler technology hasn't really moved forward.
Mat 'Lurks' Bettinson, Codeplay Ltd.
Re:You'll need to do the thinking.. (Score:1)
There is no money to be made in Linux market.
Just take a look at Loki problems.
What we have here is a single (yeah, with almost 100% market) Linux game developer unable to make money here and you are trying to sell compiler directed at game developers ?
It simply doesn't make any sense.
Re:You'll need to do the thinking.. (Score:1)
We're aware the Linux games market is non existant. Fortunately VectorC is still useful for multimedia processing (which is basically what games are!) and there's a bit of that going on under Linux, right?
Mat 'Lurks' Bettinson, Codeplay Ltd.
Which is why you shouldn't listen to them... (Score:2)
Multimedia comes to mind.
Serious number crunching comes to mind.
While gaming's "nonexistent" (I won't bore you with what I know about all of this- suffice it to say that the malaise for Linux gaming is less due to a lack of a market and more due to a lack of a channel to sell and in some cases hardware (i.e. 3D cards...) to run it on.) it's about to have an upturn. It would be NICE for a company that is using your compiler to make their game go be able to make the Linux version run as fast if they so chose to do it.
GCC's ok at either. There ARE better compilers for some things, though.
Depending on the price of the compiler and when it offers C++ support, I might be very interested in purchasing a license to it.
Re:You'll need to do the thinking.. (Score:1)
If there is no free (as in beer) version then how can one decide if the performance benefits are worth the $$$ ?
Re:You'll need to do the thinking.. (Score:1)
Sorry but that is just stupid.
It is compiler what are we talking about here, a tool used exclusively by developers.
There is no "Linux users acceptance" here, if developers get to have it for free, that is it, you just killed your entire market here.
"do you really want to get in? "
I don't think they want to get in, for the simple reason that there is almost no money to be made in Linux market selling compilers.
Re:You'll need to do the thinking.. (Score:2)
I'll counter your psuedopoints.
There is no money to be made in Linux market.
First, just because there isn't a large Linux game market right now doesn't mean there will not be in the distant future. Since this compiler is only at version 2.0, now is the PERFECT time to get into Linux. That way, this compiler can grow with the Linux gaming market.
There is no "Linux users acceptance" here, if developers get to have it for free, that is it, you just killed your entire market here.
There are all kinds of free liscensing schemes which could apply to the free version. "Free for non-commercial use, etc. etc." Budding game developers might want to try the free version. Professional developers would almost certainly be willing to fork out the cost for the commercial version. After all, those are small expenses compared to the cost of developing a video game now days.
I don't think they want to get in, for the simple reason that there is almost no money to be made in Linux market selling compilers.
Sure they want to get in. They want to get in if the future of Linux gaming is bright. Sure, that's questionable. But then most business ventures are questionable. Some just make more clear business sense than other. If the Linux game market really sees a boom in the next five years then having their feet in the game-centric compiler door before the boom hits will have been an excellent decision. It's a risk, but I'd be willing to say it's a worthwhile risk. It's like gambling on fair odds with a high payout.
I think the real question here isn't so much if THEY want to invest the time in a Linux version, but rather, if the Linux community really wants to see Linux move in that direction.
It's partially my opinion that Linux users actually don't WANT Linux to become so mainstream that a large portion of the software for it is commercial, and only binary distributions exist. That sort of market is generally what happens to a mainstream OS, and it goes somewhat against the grain of Linux.
I personally think a game-centric compiler for Linux is a great idea. It's certainly no worse of an idea than SDL [libsdl.org], and SDL is definately coming along nicely. The future of Linux gaming looks a whole lot better today than I would have thought it would a few years back. There's still along way to go, though.
Re:You'll need to do the thinking.. (Score:3, Informative)
Re:You'll need to do the thinking.. (Score:2, Interesting)
Re:You'll need to do the thinking.. (Score:2)
>>>>>>
GNU software tends to. GLIBC uses them as does the Linux kernel. Without good GCC compatibility, a compiler is of limited usefulness as a general purpose compiler on Linux.
Sounds like a neat product.. (Score:2)
Check out their home page if you want the executive summary of what their compiler does. (Unless 'vectorizing' is a term you're familar with).
But like another poster said, what do they mean by porting to Linux? Their compiler generates code that runs on Linux, or their compiler runs on Linux generating code for something else? (Or both)
Merge it into GCC (Score:1)
Re:Merge it into GCC (Score:1)
porting to linux (Score:4, Interesting)
(side note- the lokisoft page is down, i dunno if that is a fluke, if i have the wrong URL, or if they've packed up and left)
The problem is that if you target corp.'s like loki, you may not be able to sell enough units, or whatever, to justify the cost of porting. These linux gaming companies seem to fold faster than omlettes at waffle house.
If on the other hand, you just ported it and released it at random into the linux/OSS community, you would be doing the community a favor, and independant cells of programmers could attempt to port/write games for linux.
The problem with this solution is also the cost: If you release it open source for linux, you would be somewhat of a hero, or philanthropist, to the OSS community; however, you may not be able to justify the cost of porting it, if your idea is to make money by porting to linux.
I guess it depends on what time frame you think you can port it to linux in - if it would take you and your team an extra two days of programming, it may be worth it, as both a PR move and a gift to the OSS community. However, if it will take extra months of coding, just bear in mind that philanthropy doesn't pay bills.
Don't mean to be cynical, but you have to consider each decision as it relates to the almighty dollar.
It sounds as if you're doing fantastic work, though, keep it up.
Re:porting to linux (Score:1)
if that is a fluke, if i have the wrong URL, or if they've packed up and left)
Perhaps you are thinking of the Loki games company?
In that case their URL www.lokigames.com [lokigames.com] is alive
and well.
It's not "lokisoft"... (Score:2)
Re:porting to linux (Score:2)
You basically said what I was going to say, except I'll put it a little differently: Why are you [compiler dude] asking Slashdot? Why don't you do some market research on your potential customers and see what the market size is?
It's not complicated. If the return on investment is greater than the return on things you can otherwise use your time or resources on, then do it. Otherwise, don't.
Any plans for a PPC / AltiVec version? (Score:1)
Re:Any plans for a PPC / AltiVec version? (Score:1)
We'd love to! Alti-Vec is seriously cool if you're in the business of getting excited about CPU vector units like we are.
We went to Apple and said "Guys, we'd really love to do a Mac version and you could really do with having a compiler that uses the cool bits in your CPUs. Wanna sling us a bit of cash?" The phones been strangely quiet. Oh well.
On the bright side, there's a games platform with a PPC processor. It doesn't have Alti-Vec (boo!) but it does have a basic vector unit. You can bet we're working on that pretty hard. So that'll have ramifications of moving to other platforms later on down the line when we have PPC code-generation going sweet.
Mat 'Lurks' Bettinson, Codeplay Ltd.
There's a market for it on PPC... (Score:2)
If you're talking multimedia procesing, etc. like you did in an earlier comment, you're going to want to talk to the Yellow Dog Linux people- that's some of the markets they're going to with their small clusters of G4 computers (as in as many as 8 top-end G4's in the same space as Apple's tower...). IBM would be interested for the same reasons.
Re:There's a market for it on PPC... (Score:3, Interesting)
Well, it's a bit more complex than that isn't it. Us porting to a platform involves the following kind of issues;
If we're not doing well in the above, then we'd not consider the platform a priority. Unless, of course, someone wants to give us money to do it. That's not out of the question where it's a proprietary platform such as a games console or, to an extent, the Apple Mac.
Apple is a good target on one level because the vector unit in the G4 is the best vector unit in any consumer CPU. There's also games development and, more importantly on that platform, there's a lot of performance-sensitive multimedia application development. Apple like to crow about how good their CPU is, so one would have thought they'd like a tool on their platform to prove it.
Regarding your other suggestions,maybe down the line we'll be looking at more business orientated high performance computing but that's not why Codeplay started up. From experience we have our work cut out talking to the various corporate players coming from an unknown company with 'play' in their name and 'games' on their web site. I think to be successful there we'd have to spin-off some high performance computing company or something. And definately no chins on the web site :)
Linux is a special case. For all other platforms, we take a straight business viewpoint based on the numbers. To be frank, we've got a LOT of work/platforms on our plate as it is without finding new platforms unless they were going to pay.
The Playstation 2 tools will pay the bills. Linux would just be 'cool', so long as it didn't cost us significant money and didn't generate bad PR. That's my view at the minute.
Mat 'Lurks' Bettinson, Codeplay Ltd.
Linux has a strange market (Score:1)
I don't know what the business performance of Borland is with for example "Kylix", but for now, I haven't seen any free software yet, which was made with Kylix (does not mean it doesn't exist) but it makes me believe that their Kylix project was lesser success than intentionally expected.
Before Borland/Inprise started the Kylix project, they published a survey on their site, to investigate market demand. Maybe I'm mistaken, but I think that the enthousiasm in the survey results has not had the expected ROI for Borland. With the dot-bomb and the new economy collapse, investments in the Linux OS has gone down as well, except for those who chose Linux to be a strategic weapon against their competitors (IBM vs Microsoft).
Still, the point I want to make is, you need to determine your audience, but be cautious in your investigation methods and don't forget to do the general market watch.
Borland - Kylix and Borland C Builder (Score:2)
Anyway, to drift back onto topic, it is worth remembering that Kylix 2.0, if when it ships (and I hope Borland is taking a long-term view on this one and keeps plugging at it), will include Borland C++ Builder. Yup Borland C++ On linux will be another C++ option.
Why VectorC anyway? (Score:1)
It seems like the alternative with VectorC is for me to implement my own vector libraries anyway and then hope your compiler is both clever enough to figure out how to optimize my code, and robust enough not to break on other constructs.
I'm not trying to be hostile, just curious. Perhaps there are tons more programs besides graphics / games that benefit from VectorC's optimization? Otherwise, it looks like you've implemented an entire C compiler to get a few features you could add to an existing one otherwise.
VectorC would be Awesome on Linux (Score:2, Interesting)
Linux yields an indirect ROI (Score:2, Insightful)
Another area where Linux would be a boon is as compile farms. If a Linux version of your compiler came out that could target not just Linux but every other platform you support then companies could set up cheap compile farms to compile large programs in the background while a developers work stations\ remain free for development or testing. The beauty of it is that the compiler itself can be targeted to Linux and not specifically to an architecture like x86 and compiled to work on any Linux platform (which is almost any platform out there). With the PS2 running Linux a bunch of these boxes could be set up for this.
If game companies could target any platform they wish without having to invest it makes them happy. The game industry is fickle. One year this is the platform to target, the next it is completely different. Having Linux as a target may not cause a developer to start pumping out Linux games but what it does do is leave the option open if the industry should shift that way. It makes developers sleep easier at night knowing their code will not become obsolete by the time they wake up.
Compatiblity is a big issue (Score:2)
MMmm. (Score:4, Insightful)
But I have a small warning for you: If your compiler really does produce awesomely better code in that particular area, then if that area becomes popular with the GCC crowd, you are going to see alot of work spent on optimization. In other words, your product may be a spur to make GCC competitive with VectorC.
And I would also point out that I think that if VectorC, available for Linux/someArch, does NOT stir the GCC developers to improve, then your specific market doesn't exist on Linux.
Really sucks: Either you eventually face competition with GCC, or your product bombs on Linux.
I have a question too (Score:5, Funny)
not cynical, reread your submission^H^Hcommercial (Score:2)
If that's not a commercial, I don't know what is.
Remember, this IS /. (Score:2)
Linux WOULD be nice- I could see some uses for your compiler in the embedded space (which is one place Linux is definitely taking off in...) depending on the embedded application. Your benchmark info doesn't seem to show how big the executables were- how much bigger/smaller is your code compared to the other compilers?
Actually, it depends on the embedded device... (Score:2)
I know, I'm working in that area of embedded design. If it were for Linux on x86 and PPC I'd convince my employer we needed it for at least part of our product offerings right now.
VectorC vs. code bloat (Score:2, Insightful)
Sounds like an excellent way to reduce code bloat. I suppose it's too much to hope that they take the "better C than C" parts of C++ and leave it at that.
I'm actually half serious here. I've worked on large projects in both C and C++, and the ones which were most successful were the ones where people didn't get carried away, trying to use every new, buggy, inefficient, feature of C++ in an attempt to prove that they could.
I'm all in favour of a compiler which restricts its features to those it does well instead of providing half-baked implementations of C++'isms just to bump up the feature list.
Don't bother. (Score:2)
Wrong question asked (Score:4, Interesting)
I do high-performance computing, and I'd love to be able to try out Vector-C on some of our P-4 and Alpha Linux clusters, if I could. Right now, we use Intel's icc or gcc on x86 and Compaq's ccc or gcc on alpha, respectively. Pretty soon we are going to be looking at Itanium as well. Some of the time we are hand-hacking assembly just like the game programmers are, which is kind of sad; we would rather be compiling C. What Mat Bettinson said is definitely the case: "micro based scientific computing is looking more attractive."
Despite what some ppl here are saying, it's not an issue if it can't compile the kernel, or if it's not 100% gcc compatible, because most of the things the high-performance computing applications I've seen don't need to spend a whole lot of time in the kernel. However, you do have to make it work with both 2.1 and 2.2 glibc (please please please). The hacks we came up with to make icc work on our glibc-2.2 RH7 boxes are ugly and fragile.
Language issues: C++ is almost never a big deal in HPC, but C/FORTRAN support is great. Having at least partial C99 support is best because then you get float *restrict foo, et al. Also, remember that not all HPC codes are fp. Some of us write integer intensive codes and/or memory intensive codes.
It's not an issue if it's not free-beer or free-software, because research grants will probably be happy to pay reasonable amounts for it -- maybe a couple hundred bucks, say -- but you have to remember that Intel is giving icc betas away for basically nothing, so you can't charge too much. This is not a troll, just trying to be realistic here.
Disclaimer: I am not speaking for my employers. I am not a person who gets to decide how grant money is spent (yet). These are just my opinions.
C++ support schedule is too optimistic (Score:2)
Even if Codeplay was to use the Edison Design Group C++ front end [edg.com] -- highly likely, as it's famous throughout the industry as an extraordinarily compliant, high quality front end, and seemingly a perfect match to the existing VectorC back end -- I'm highly skeptical this schedule could be met.
On the other hand, a lot of performance-minded projects stick with plain C. (I'm not commenting on whether or not that's the right decision; I'm observing what decisions are made in the industry.)
Re:C++ support schedule is too optimistic (Score:3, Interesting)
Implementing C++ properly natively is a requirement so that we can attempt to do the sorts of things VectorC does which no other compiler does. Simply put, if we used someone else's translator - we'd have C++ capability but almost certainly would be no faster than other C++ compilers.
I assure you, we are. The work is almost complete, what remains is the significant internal testing and bug fixing which we estimate will require the rest of the year.
We have a fridge full of Redbull, believe me we can do it. :)
Mat 'Lurks' Bettinson, Codeplay Ltd.
Would I buy it? (Score:2, Interesting)
Speaking as a game developer, who codes primarily on Linux for Linux, I would certainly buy a copy once C++ support is available, if the code produced was fast.
I have lost touch with the ammount of time I have spent going over code again and again to make it a bit more efficient, and removing bottlenecks. I would gladly pay for a product which would enable me to ship binaries that were faster.
The question of ABI compatability on C++ is very tricky though. A C++ compiler would be of limited use if it did not use the same ABI as g++, though with the release of gcc 3, this ABI has at least stabilised.
It's a matter of restrictions (Score:3, Interesting)
I think there are aspects that of the Linux Universe that would benifit from a well done multimedia compiler. DVD players, or general Home Theater Computer enviroments, Linux Set Top boxes. etc. Games of course would welcome this too.
But the real problem of course is how to you balance making a comcerial distro for Linux that is okay from the Opensource,and GNU communities perspective.
There are a couple ways to go. You can go the QT way, and have a free and comercial version. The hope being that the various projects will use your libs and compiler, and thus it would be popular for comercial aspects that would actually pay you.
Second would be binary only distro. Not as popular mind you because the person who puts together the Binary Distro (Which I assume would be a person who bought the package) may bit off more than they wanted to chew keeping things up to date. In order for this to work in opensource you'd need a lot of compiler directives. The idea being you could compile the project with GCC, it just wouldn't be as efficiant.
Third would be a hybrid method. Some sort pre-compile on the closed stuff, and an included client compiler that would bring everything system dependent together. Perhaps even making the compiler and libs free to distro, but the development enviroment closed.
My person preference would be number one. Anyone know how well QT does?
Re:It's a matter of restrictions (Score:2, Informative)
That's not really our philosophy. We want to provide a high performance compiler which you plug into the development environment of your choice. We're not an IDE developer, we a compiler developer.
Mat 'Lurks' Bettinson, Codeplay Ltd.
How to best license it (Score:3, Interesting)
That means making the source code available under a GPL-like license.
However, you can still protect your market at the same time. Just make it a requirement that anything compiled with the libre version of VectorC, or a derivative, also be licensed under the GPL or any of the similar licenses recognized by the OSI [opensource.org].
Then dual-license the compiler so that anyone who pays for the commercial license is free to do whatever they want with the resultant binaries, no licensing restrictions.
That way you can contribute to the community by providing a libre compiler, benefit from the community who will likely contribute bug-fixes and enhancements, and still make money from the people who would be willing to pay in the first place.
Free and open not needed. Looks like good product (Score:2)
That depends on how you define success.
This will never displace gcc as the compiler used by most people - because gcc is good enough, open, and free.
But it has a fine niche market as a "pay extra, get better performance" option for people with serious crunch to do - graphic games, scientific, financial modeling, etc. It will continue to hold this niche unless/until gcc or some other free&open compiler achieves comparable performance AND cross-platform ability to all game platforms, or some commercial competitor outdoes it - at which point the product's market would be in jepoarday regardless of whether it had been ported to Linux.
At a minimum it should be able to produce code to RUN on Linux. Otherwise it's not supporting the game authors who want to release a Linux version of their product.
But I think that a version that runs ON Linux, if not overpriced (or as an extra-cost extra on an existing non-Linux release) should pay for the port and make a tidy profit. At a minimum some game designers will want to work directly on the Linux platform rather than being limited to cross-platform development.
Benchmark concerns. (Score:2)
http://www.aceshardware.com/Spades/read_news.php?
Very substantial performance gains were claimed. However, there was some concern about how well the benchmarks were set up:
http://www.aceshardware.com/board/general/read.ph
http://www.aceshardware.com/board/general/read.ph
In short, I'd take a very careful look at the benchmark code and methods of compiling before making conclusions about VectorC's performance. It might still be great; however, past benchmarks that have been floated have been questioned.
DISCLAIMER: I have not used VectorC, or directly examined the test code or assembly code generated for any of the tests. I have no direct assessment of the benchmarks - I'm pointing to others' assessments in response to another article about the compiler.
Why only games ? (Score:2, Interesting)
Couldn't it be targeted also at scientific computing?
A lot of these code are in Fortran, but C is also used..
I doubt very much that targetting games developer on Linux will get you very far, but multimedia processing could be interesting though.
But there is competition of course, from other compilers of course, but also from libraries: a good hand-optimised library can get you quite interesting performances..
Yes, competition is good (Score:2)
gcc isn't too shabby though and it is getting better all the time. It's not an easy market to enter and dominate.
Another Compiler (Score:3, Interesting)
The real strength, however, is CodeWarrior's optimization and code generation.
I'm biased, though, as I'm a compiler engineer (PowerPC) for Metrowerks, so take all of this with a grain of salt.
--Doug
Editor : Adam Barker
Yes, I can't spell so I need one of those editor types.
Re:Another Compiler (Score:2)
Maybe, but... (Score:4, Informative)
...when I spoke to your sales rep at GDC and Siggraph, he indicated that C++ wasn't ready, as you said. He also didn't think your symbol information would be compatible with VTune or the other standard Windows profilers and couldn't tell me of any test suites that your compiler had passed, though he named a couple which were "close." I wouldn't use a compiler which doesn't pass basic conformance testing, and I certainly wouldn't take on a new compiler if I don't know that I can profile its output to prove that its working.
When I tried creating some simple code and looking at the disassembly on the sample machine at Siggraph, the compiler choked on some valid code (it seemed confused by the critical 'volatile' keyword), and the assembly generated was extremely naive about cache use and couldn't even hoist redundant operations out of loop operations.
So far as I can see, I'm supposed to dump my compiler for something that lets me use half a dozen instructions I can get with inline assembly or Intel's _free_ compiler, where Windows is concerned.
Shouldn't you finish your tools and make them work on one platform before you go trying to pitch them on others? Have your tools really advanced so far in the last few months that you're ready to split resources?
Re:Maybe, but... (Score:3, Informative)
That is not correct, you can use VTune just fine. That's exactly how we see people using VectorC today. Your points on conformance testing are well taken. That is being done with the C++ version and obviously well announce results when we release that compiler.
Quite possible you ran into a 1.0 bug. There's a dramatic difference with the recent 1.2 release. VectorC can now compile entire games and middleware engines and demonstrate a boost in performance in many cases. That's not something I would have said at the beginning of this year.
Well clearly I can't agree with your viewpoint on what a proper vectorizing compiler is capable of doing. Now if you're prepared to go do all the inline assembly for the various SIMD implementations on x86 CPUs then indeed, you have no use for VectorC. However that's pretty rare for game developers working to deadlines in my experience.
VectorC works marvellously on Win32 and is already being used by game and middleware developers to good effect. However I like your tone, you think you could come over and whip me with an apple in my mouth? :)
GCC ABI matters and competition (Score:2)
Intel has compilers for IA32 and IA64
ARM has compilers for ARM arch
IBM has optimised GCC for PowerPC (smart move for IBM)
MIPS pays for optimisations + support to GCC (algorithmics)
the difference is that you will never be able compile the kernel with anything other than GCC because it changes so often and in terms of support kernel hackers will tell you to jump if you try reporting bugs that are solely compiler related and not GCC
Compiling for (running on) linux is a matter of sticking to the standards (like ELF) and the ABI all are documented
(they don't change all that often although they changed this year for GCC 3.x )
Really you have to have someone signed up because most people have tried this and then gone back to GCC because its easy and the performance is not all that different !
(people end up inline assembly anyway if they only have one target which is much better than a compiler can do because it does not know what it does at run time while the developer can at least guess)
fun to see that the big vendors are split MIPS + IBM do GCC after trying out comerial compilers while Intel & ARM adopts a dual policy of funding GCC work and also have a closed version
no single silicon vendor ignores GCC
it is one of the backbones to *BSD, Linux HP-UX (kernel compiled with GCC) VX-works (you receive hefty manuals about GCC and GDB when fork out for wind dev suite) and lots more
users include NASA, ESA, Chinese Government, WHO and many more
(people lives depend on GCC every second)
if you want to do research then GCC is a good place to start
we all owe a great deal to people who have put their time and effort into the projects and people who demanded to use it in projects
regards
john jones
Benchmark questions (Score:3, Insightful)
Yeah, this'll probably require doing much of the porting work before determining whether there's a market for it. It's called R&D, and it does sometimes lead to dead-ends. Deal.
My opinion (Score:2)
Secondly I'd like to say that Slashdot isn't the best place to ask about commercial software. :)
I can tell you this, we each have to support Linux in our own way. Ever since I was a kid coding in BASIC on an Atari 600XL I've dreamt of having a software company, I'm not going to give up on that dream because I've taken a liking to open source. Of course I'll continue to release open source projects, much in the way Loki has. But if you like Linux enough to bring a product over you should do it. You are just as much a part of the community as the people you are asking, and therefore have just as much right to shape the community.
Also one quick comment about everyone saying how Loki failed so you have no audience. You people are missing the point. Loki "failed" (if we must put the nail in it's coffin) because it was linux ONLY. Presumably game developers could use VectorC to create games for Linux AND Windows (any Mac OS X version?). I certainly don't expect to sell a whole heck of alot of copies for Linux, or really even to be well recieved, at least until I can afford to do some of the bigger projects that I want to do. But at this point Linux isn't meant to be the big moneymaker. I just use Linux almost exclusively, and I'm sure there are others that do, who might want to play my game. They shouldn't have to boot Windows to do that.
So yeah, I'd say that you have a good chance with VectorC, it would provide cross-platform options for the developers that use it, and if you promote a library like SDL then that will give them even more reason to compile for Linux as well (and thus buy the Linux version) by lowering the amount of work involved in moving the code from Windows.
Please, no more C! (Score:2)
It's time to move on from C and C++. (Take a look at the sans top 20 list of exploits, and tell me how many of those items would be there if we used modern, safe languages!) Security, portability, and code reuse are vital for building robust large systems. Please, no more C compilers, and no more C!
Re:Please, no more C! (Score:2)
I said it's time to move on from C *and* C++, not from C *to* C++.
I don't think Java is the best choice out there, but it is orders of magnitude better than C++. (As for speed, see http://www.bagley.org/~doug/shootout/craps.shtml) It may not actually be as fast as C++ or C, but I say that's fast enough.
not fond of special compilers (Score:2)
There is, of course, some market for C/C++ compilers that promise to do much better, as there is a market for a lot of things that promise "to make life easier". So, someone may buy this, but I wouldn't hold my breath.
I also note that your benchmarks don't show any comparisons with GNU C/C++.
You can sell on Linux, try the scientific comm'ty (Score:3, Insightful)
A few months later, TotalView was released for Linux x86 [etnus.com]. Guess which is one of our biggest sellers?
I went to SC2000 (the supercomputing tradeshow) last year. Almost everybody I talked was running MPI on Linux on PCs. Linux has made huge inroads in the scientific community working on ahem, clusters, of Linux boxes. It's actually quite amazing, consider the Linux market in this segment was close to nil a few years ago. Something about cash-strapped institutions not having to pay high OS licensing fees...
Anyway, it goes to show you that even though there is a free alternative (gdb/ddd) you can sell tools for Linux if you do things the free things can't, or do it better.
Re:There's Only So Much It Can Do (Score:2, Informative)
Re:There's Only So Much It Can Do (Score:2)
He just wants to stir some shit. he quite obviously has no clue what he's talking about anyway.
stick to reading the posts & not participating in that guy's method of having fun.
--
jeremiah();
Re:There's Only So Much It Can Do (Score:2)
*smacks forehead* (Score:1, Flamebait)
Visit CmdrTaco's home page! [goatse.cx]
Re:Sounds good (Score:1)
If there was a torrent of 'How dare you!' type posts then that'd be telling us not to bother. :)
Mat 'Lurks' Bettinson, Codeplay Ltd.
Re:Sounds good (Score:1, Interesting)
posts - what you will see is a good number of
"Yawn - why do we need this?" and "I wouldn't
buy it - but I think you should port it anyway".
The fact is that even the very best optimising
compiler is only going to buy you about the same
performance increase as waiting six months and
letting Moores law do the work.
Anyone who is developing OpenSourced software had
better be sure that they'll get the needed speed
from vanilla GCC because their users will only
be using GCC. Hence your market is probably
limited to commercial closed-source software
that *needs* that small additional speed boost.
Hence only commercial games companies who support
Linux. That's a VERY small audience. I don't see
how you could ever recoup your costs. Maybe you
should give it away for free and hope to get a
huge wave of enthusiasm for the product that
would spill over into sales for the Windoze
version?
Re:Sounds good (Score:1, Interesting)
Re:Sounds good (Score:1)
Linux users seem to be in general pretty much opposed to paying for anything.
Only partially true. I think you're right that Linux hobbyists are reluctant to pay for anything, just as a hobbyist is more likely to be running a warez version of Windows 2000 Server.
A commercial enterprise is going to spend the money where they have to. Else how do you explain DB/2, Oracle and Notes server for Linux?
Now, asking how many companies are really using Linux in planned, approved production (as opposed to techies setting up some rogue server) is a legitimate question...
Re:Sounds good (Score:2)
Codifex
Re:Keep Linux products OPEN Source (Score:1)
ugh, how wrong you are.
Is it so hard to understand that some applications will not come into existence through Open Source efforts? Specialty stuff like this compiler will never exist for Linux if you insist on 100% adherence to doctrine.
Re:Keep Linux products OPEN Source (Score:3, Insightful)
IF Linux ever gains the popularity we all hope it will, it will stop being the land of all open source. Games will not be open sourced and other really good products that people worked hard enough to earn money from won't be either. Realize that. It's already happening. People need to feed their families, so they sell their hard work.
This guy here is selling a product on Win32. I assume they are making money. The question is simply, if we provide Linux users the option to use our software on that platform, will anyone buy it? They are doing a good thing here. They are taking an application that presumably gives the Win32 platform some advantage and offering to make it available to Linux users. I hate to say this, but if MS Office was ported to Linux, not only would it sell, but the platfom would become more popular. Just because you as an individual flee from closed source, does not mean that a company should not market a closed source product to the Linux platform.
Depends... (Score:2)
If you're talking to the games development companies, it'd be a plus, not a minus. If they use VectorC, they can expect to target two differing PC OS platforms as well as gaming consoles (As you probably well know, while C is portable, most compilers don't behave consistently- it's always better to use the same compiler for all target environments...)- if you do the MacOS X version/PPC Linux version, that would make for two more platforms as well.
It's all in who you're really trying to sell to.
Link to their prices... (Score:2)
$750 for the professional edition and $80 for the standard. That's more than reasonable a cost for the product. I'd at least buy the standard edition for Linux if it were available for both x86 and PPC.