Slashdot Mirror


Compiling Under Wine

now3djp writes "Interesting article over on CodingStyle that demonstrates how I successfully eliminated wasted time maintaining an MS-Windows computer when I could build natively from my GNU computer! /. has followed other cross compilers in the past. This article is different because I used MS's own compiler! This allowed me to get on with real games porting; with only a proportional increase in compile time. Wine has really come a long way in supporting simple apps, let us hope it reaches a 1.0 soon."

322 comments

  1. wow by Anonymous Coward · · Score: 0

    Now this is impressive. Things like this are what WINE should be all about. Amazing.

    1. Re:wow by crath · · Score: 4, Interesting

      Now this is impressive. Things like this are what WINE should be all about. Amazing.

      I disagree, it's depressing not impressive:

      • The author first asserts that the process of moving files between the systems causes the upper/lower caseness of the filenames to be munged; however, the text later talks about how his personal preference for file casenames is all lower and so he changes them. There is nothing in his "transfer between Linux & Windows" scenario that causes the case names to be wrong. The real issue is simply that his personal preference for filenames differs from that of the original author of the source code.
      • The author displays no knowledge of the network mounting of filesystems using SAMBA (CIFS) or NFS. This would have been a far better method and while it too would have slowed down compiles on the machine mounting the filesystem he states that he is not unhappy with such a slowdown.
      • Why isn't the source code checked into a configuration management tool, like CVS? What the article should have been describing was the process he followed checking the application into CVS, making his personal preference changes, checking in those updates, and then checking it back out onto both platforms and performing the compiles there---with no compile slowdowns.
      • As others have already noted elsewhere, he will still have to test on the target platform. Those who argue that VMWare is as good as a native boot-up for testing are simply displaying their ignorance and inexperience: display and network problems are often induced by a change in hardware platform, and VMWare is a distinct hardware platform from a testing perspective. While testing on VMWare is useful, it is not sufficient: a Windows application should be tested on several different hardware platforms as part of its formal QA.

      In summary, while the article probably accurately describes the author's actions, there is nothing in his account that others should be emulating. More experienced developers should be consulted in the search for best practices.

      I write this as someone who has done software development for almost 20 years; more than 20 if you count my high school years as a computer hobbiest.

    2. Re:wow by Anonymous Coward · · Score: 0

      Well, what if he's got one Borg-ship computer, to do development work on (compiling takes lots of memory and CPU if you want to do it quick), but the other one is a smaller machine?

      Rebuild on the slow pokey machine?
      Reboot the Borg-ship?
      Upgrade the slow machine?
      Compile the code, and copy the exe across?

      Guess....

    3. Re:wow by crath · · Score: 1

      Or,

      Compile under VMWare, or
      Still compile under Wine, or
      Dual boot the computer.

    4. Re:wow by msebast · · Score: 1

      Tord covered most of the things wrong with the parent but missed something about the testing.

      If you read the article (I know who would do that...)

      > Therefore, I can build the game from one
      > machine, then I only have to copy the final
      > chaos.exe to my MS-Windows machine to test.

      He is not doing his testing with Wine!

    5. Re:wow by now3djp · · Score: 1

      crath,

      You seem to have missed the point of my article. Tord also picked up on this in his reply to your msg.

      Basically I set out to save my time, the novel solution that I came up with used tools freely available and did not distract me too much from developing the video game port. Please re-read my motivations section, this is exactly what I set out to do.

      You mention SAMBA, NFS and CVS. Well I use these there great technologies every day. I my use of CVS was clearly visible from the end of the article where I mention the new Wine CVS version I tested (did you get that far?). Also, this was never intended to be a "how to copy files over the network" article. You mention I will still have to test, yes that is what I chose to do. Saves giving all those games testers compilers they will never need to use now! I never mentioned VMWare, and I do not intend to test with it. For my purpose it is not relevant, I achieved all I set out to. (build from one machine, avoid wasting time etc)

      Some people mentioned the possibility of using the entire msdev.exe IDE. Unfortunately this does not run with current CVS Wine, a few more dlls are required to even get it just to load. However, it crashes when build is selected.

      I have received lots of positive feedback, and if you are reading this considering this as an option for your self or company then I would definitely recommend you try it. Most of the Wine problems have been corrected since this article was released. They should be in the CVS version over the next few days I expect. Credit to the Wine team.

      Cheers

      J. Grant

  2. Awesome by Anonymous Coward · · Score: 3, Insightful

    I can't wait til we have a fully functioning windows emulator. Even if it will kill the need for native apps (read games).

    1. Re:Awesome by Anonymous Coward · · Score: 0, Insightful

      i fail to see why you don't just use windows. it seems to be what you're looking for.

      a) windows is, and will always be further along than wine. chasing an API puts you in second place, from the moment you start.

      b) vmware can run windows fine. it's not expensive, and it'll run most things better than wine ever will, if you want to actually get some work done (i used it for almost a year to do PCB design and circuit design using protel for uni, and this was on a celeron 366!)

      c) killing games is stupid. you're just going to make linux less attractive to developers (who won't give too hoots that we need to bend over backwards to use wine, let alone attempt to get a proper port), and what with added cheat detection, wine will probably get marked as a "cheat" more and more often.

      d) i doubt wine will ever be fully useful for newer games. you're better off just supporting openGL in the first place, simply because wine will need to provide an directx wrapper around openGL anyway. may as well go straight to the source.

      of course, you could just want to see linux fail. there's nothing *wrong* with that notion. i just don't see what's right about it. wine won't save you anything, except from RSI, since you won't be using it to do anything but watch games crash and run slowly.

      ashridah

    2. Re:Awesome by EvilSporkMan · · Score: 3, Informative

      Well, it won't be WINE, since WINE Is Not an Emulator, as we all know. =P

      --
      -insert a witty something-
    3. Re:Awesome by SCHecklerX · · Score: 4, Interesting
      Be careful what you wish for. It's excellent handling of Windoze apps is part of what killed OS/2. Developers: "Why port it when it can run the windoze version?"

      Not exactly the same, but it would be much better to have native apps, as opposed to having to emulate/VM that other OS.

    4. Re:Awesome by fredrik70 · · Score: 1

      for games maybe something like codeweavers is a better approach, focus on converting DirectX and let the rest (non-graphics part of the game) be up for porting. yeah, we all could use OpenGL, but it seems that more and more games companies starts to use DX instead, unfortunately.

      --
      if (!signature) { throw std::runtime_error("No sig!"); }
    5. Re:Awesome by fitten · · Score: 0, Redundant

      I was going to post the very same thing.

    6. Re:Awesome by harlows_monkeys · · Score: 5, Insightful
      Be careful what you wish for. It's excellent handling of Windoze apps is part of what killed OS/2. Developers: "Why port it when it can run the windoze version?"

      I don't believe that this is actually true. Win95 had excellent Win3.x compatibility, but developers nevertheless rushed to develop Win95 software. Why would Win3.x compatibility in OS/2 cause developers to forego native development, but not have the same effect on Win95?

      I believe that what really killed OS/2 was IBM's attitude toward developers. Microsoft made it trivial to get started in Win95 development. Hell, you could go into Egghead and buy an MSDN subscription and all the tools you needed.

      Compare to OS/2, where you had to apply to IBM for permission to develop, and buy an expensive development kit (at least, to officially develop).

      I believe it was Jerry Pournelle who wrote of his experiences at a trade show, where he went to the MS booth, and asked what he had to do to develop for the upcoming Win95, and they handed him, on the spot, a development kit. At the IBM booth, he asked what he had to do to develop for OS/2 (a system that was already for sale, unlike Win95, which was still in beta). Did they hand him a development kit? Nope. They handed an application. If they decided he was worthy, he'd be allowed to buy a development kit.

      I think that is the reason OS/2 development never took off.

      Note! I'm not saying for-pay developer programs necessarily kill a platform. Apple used to have a for-pay program, but it was a joy, because of the astounding support. You sent any question off to DTS, and they would quickly have a good engineer, with full access to the source and the developers, answer it. I was having trouble with interrupt handling in a device driver, and they send me the detailed comments from the ROM source code for the interrupt handler, which explained exactly what was going on.

      With Apple DTS, the feeling I had as a developer was that I was dealing with my peers at Apple, who wanted to cooperate with me to make something great. With IBM, I always felt like an insignificant pawn in whatever they were doing.

    7. Re:Awesome by flex0 · · Score: 3, Interesting
      a) windows is, and will always be further along than wine. chasing an API puts you in second place, from the moment you start.
      Sure. But developers don't use always the newest APIs with their untested buggy implementations.
      Otherwise their products wont run on old machines. There are still many win98 boxes out there.
      And MS still offers IE6 for win98.

      And the fact that their software runs fine in wine could aswell attract them to not use the newest apis in near future.

      b) vmware can run windows fine. it's not expensive, and it'll run most things better than wine ever will, if you want to actually get some work done (i used it for almost a year to do PCB design and circuit design using protel for uni, and this was on a celeron 366!)
      Yes but you actually need a windows copy. This might scare vendors from shipping desktop boxes with linux preinstalled.
      "Oh sure, you can run Windows apps, just buy it for $300"
      c) killing games is stupid. you're just going to make linux less attractive to developers (who won't give too hoots that we need to bend over backwards to use wine, let alone attempt to get a proper port), and what with added cheat detection, wine will probably get marked as a "cheat" more and more often.
      -> WineX?
      d) i doubt wine will ever be fully useful for newer games. you're better off just supporting openGL in the first place, simply because wine will need to provide an directx wrapper around openGL anyway.
      They already have one and it works. (WineX has got a better one tho)
      i just don't see what's right about it. wine won't save you anything, except from RSI, since you won't be using it to do anything but watch games crash and run slowly.
      Oh well, right now I'm down and uploading some stuff with eMule without any native dlls ... works flawless for me.

      And this "slowly" is a myth.
      Right now it might be a lil bit slower due to not optimized implementations but after all - Wine Is not aN Emulator.
    8. Re:Awesome by Anonymous Coward · · Score: 0

      Hey asshat, it's "Wine Is Not an Emulator".

    9. Re:Awesome by Losat · · Score: 5, Interesting

      I think you are refering to IBM's Developer Connection, which was a bit like MSDN. This was fee-based but may have been free if you met certain criteria. It seems like they also had a developer partner program, though I can't remember for sure.
      However, there were certainly compilers and development kits just anyone could buy and use (no application to fill out, just buy the box).
      Exmamples: IBM's own excellent C-Set/2 (C/C++ compiler) (later Visual Age C++); Watcom's excellent C/C++ compiler; Borland's C++ for OS/2; Two (yes two!) distributions of gcc (gcc2 and emx). There were also two "Turboish" Pascal compilers and three "Visual" Rexx packages (somewhat Visual Basic like but using the Rexx language).
      Still, I do agree that IBM could have been more friendly to developers, and IBM certainly did enough things wrong with the marketing.

      --
      I'm not a lawyer, but I play one on Slashdot.
    10. Re:Awesome by Anonymous Coward · · Score: 2, Informative

      Speaking from experience, there was a definite Kiss-The-Ring culture surrounding OS/2.

      Back then, most IBM stuff could not be purchased retail and had to be procured through the sales channel (who was only interested in you if you were buying mainframes). Meanwhile, Microsoft was spamming CDs like crazy, figuring they would get paid eventually.

    11. Re:Awesome by Anonymous Coward · · Score: 0

      It's excellent handling of Windoze apps is part of what killed OS/2.

      At it's peak, OS/2 had ~5% desktop marketshare -- 10x the current size of Linux's base.

      They wouldn't have had that if it wasn't for Windows compatibilty -- 99% of OS/2 users relied on it. The most popular office suite on OS/2 was Microsoft Office.

      So it might have killed OS/2, but it was also one of the few reasons OS/2 was as successful as it was.

    12. Re:Awesome by Anonymous Coward · · Score: 0

      Right -- Windows does Unix far better than Unix does Windows.

      The original poster would have a better time building his Linux port on SFU/Interix than trying to do the Windows port on Wine.

    13. Re:Awesome by Feztaa · · Score: 1, Interesting

      they handed him, on the spot, a development kit

      You mean his development kit didn't come with the operating system itself?

      I think your argument is flawed...

      IBM restricts development kits of OS/2, OS/2 dies. MS readily gives anybody a copy of the development kit for Win95, and Win95 takes off. But the development kits for linux come with linux, nevermind "being given the development kit upon request".

      So why hasn't Linux taken off yet?

    14. Re:Awesome by Qzukk · · Score: 3, Interesting

      Oddly enough, BSD still lives despite the Linux binary compatibility.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    15. Re:Awesome by Anonymous Coward · · Score: 1, Funny

      SFU? Why don't YOU STFU!

    16. Re:Awesome by AvitarX · · Score: 4, Insightful

      Ummm, it has.

      Linux has far surpassed where OS/2 was, and is growing in use. Linux's total openness is a part of it's success (another part being it's freeness).

      Linux has a large share of web servers. A large share of new super computer instellations. A large share new renderfarm instellations. A large share of scientific workstation instalations. A growing share in educational desktop installations. And a growing share in governmental type settings.

      Linux is seriously taking off in a big way. It is HUGE and has far surpassed OS/2.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    17. Re:Awesome by vistas · · Score: 2, Interesting

      Back in '84, I was the first person at the University of Georgia to get a Mac (I was one of the two campus-wide "microcomputer resources" at the time). For the two weeks that I had it (before a big-wig commandeered it) I BEGGED Apple for a development kit, compiler or *anything*.

      "3000 smackers please" was the only comment I got out of Cuppertino.

      So I kept playing on the PC with my $49 copy of Turbo Pascal, and my ~$200 copy of Lattice C. When MS dropped their Windows SDK from $900 to $300 in '88, I bit and basically never looked back.

    18. Re:Awesome by marcovje · · Score: 1

      > I don't believe that this is actually true. Win95 had excellent Win3.x compatibility, but developers nevertheless rushed to develop Win95 software. Why would Win3.x compatibility in OS/2 cause developers to forego native development, but not have the same effect on Win95?

      Euuh, Microsoft had declared Win3.1x dead?

      I don't think Microsoft will declare Windows dead to boost application development for Linux.

    19. Re:Awesome by Anonymous Coward · · Score: 0, Funny

      say it with me now:

      Developers! Developers! Developers! Developers!
      Developers! Developers! Developers! Developers!

    20. Re:Awesome by rseuhs · · Score: 4, Insightful
      It's excellent handling of Windoze apps is part of what killed OS/2.

      Nonsense, OS/2 was killed because PC-makers didn't want to use an OS from a competitor.

      "Why port it when it can run the windoze version?"

      Great, so you would rather have them ask "Why port it at all when 100% of our customers use Windows?"

      Not exactly the same, but it would be much better to have native apps,

      Sure, but we have to get a significant amount of users first, then can we expect native apps.

      Wine helps building that userbase.

      Instead of developers asking "Why port it when it can run the windoze version?" we have to have users asking "Why use Windows when Linux can run Windows and Linux apps?".

    21. Re:Awesome by rseuhs · · Score: 2, Insightful
      a) windows is, and will always be further along than wine. chasing an API puts you in second place, from the moment you start.

      Wrong. An API is by definition a fixed implementation that does not change at a later time. Of course there are additions, but those are not used until most of the userbase supports that extensions (which gives Wine a lot of time to incorporate those extensions).
      Almost all Win32 software runs on Windows 98 (5 years old), most runs even on Windows95 (8 years).

      b) vmware can run windows fine. it's not expensive, and it'll run most things better than wine ever will, if you want to actually get some work done (i used it for almost a year to do PCB design and circuit design using protel for uni, and this was on a celeron 366!)

      Well, it *is* expensive. More expensive than Windows. And you still need Windows, too. And I did not even start to talk about the speed problems.

      Also, it can't be incorporated with distributions, therefore distributions can't run Win32-apps "out of the box", but with a good Wine, they can.

      c) killing games is stupid. you're just going to make linux less attractive to developers (who won't give too hoots that we need to bend over backwards to use wine, let alone attempt to get a proper port), and what with added cheat detection, wine will probably get marked as a "cheat" more and more often.

      We have to build a userbase before expecting any native games. Without Wine, there will not be a gaming userbase, period. So Wine is the only way to make Linux a gaming platform.

    22. Re:Awesome by SN74S181 · · Score: 1

      At a National Press Club function that I heard over the radio (NPR) back in that era (I think it was probably in 1985 or 6) Steve Jobs boasted of how the Macintosh was 'hacker proof.' A sealed box 'for the rest of us' whoever that means...

      I'm sure there's no record of that speech anywhere that we'll ever find it, of course.

    23. Re:Awesome by rseuhs · · Score: 1
      Even if it will kill the need for native apps (read games).

      This is not insightful, that's nonsense.

      Currently, there is no real need for native Linux games, simply because there are not many Linux gamers.

      Wine is the ONLY realistic way to attract gamers (and create - not kill - the need for native apps).

    24. Re:Awesome by rseuhs · · Score: 1, Informative
      So why hasn't Linux taken off yet?

      Stop the FUD.

      Linux is already the most popular webserver, second most popular general purpose server, most popular cluster, most popular embedded system and soon most popular 3d-modelling desktop.

    25. Re:Awesome by andrewski · · Score: 2, Insightful

      I would assert that there are more programs for Linux , or more accurately that can be compiled for it and that the api / libs /etc that it requires are supported, than there are for Windows. I would also assert that more innovation and research occurs for Linux than any other platform. I personally think it has in most ways that count surpassed Windows.

      You can roll and smoke that.

    26. Re:Awesome by afidel · · Score: 3, Insightful

      Wrong. An API is by definition a fixed implementation that does not change at a later time.

      Try to tell that to the folks in Redmond. MS has done a great diservice to the idea of object re-use, they often fail to follow one of the most basic ideas of OO, that is you can extend but never change an interface. Almost every single service pack changes the interfaces to dozens and dozens of parts of the windows api. This is why we have "dll hell". If MS followed basic principals it wouldn't be a problem because rather than reworking the interface they would simply add new additions to the interface and depricate the old ones (leaving the origional interface and associated code so that programs would still get the behaviour they expect).

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    27. Re:Awesome by Afrosheen · · Score: 1

      I find it really ironic that Jobs took this stance eventually, considering the hackerish roots of Jobs and Wozniak.

      Woz was a badass hardware wizard (probably still is) and had some good coders around to build decent software. It didn't take much to compete in those days since the microcomputer had basically just berthed itself from Woz's hands (and others globally). I guess it was a nodal point in history when individuals thought it'd be cool to have something like that to play with and eventually work with.

      3k for a dev kit. Ridiculous.

    28. Re:Awesome by Anonymous Coward · · Score: 0

      Exceptions are not portable across all architectures and compilers yet, so please refrain from using them until they are.

    29. Re:Awesome by fredrik70 · · Score: 1

      I figure something out with setjmp/longjmp then

      }

      --
      if (!signature) { throw std::runtime_error("No sig!"); }
    30. Re:Awesome by Anonymous Coward · · Score: 0

      I can't wait for perpetual motion machines!

    31. Re:Awesome by Anonymous Coward · · Score: 0

      Sure. But developers don't use always the newest APIs with their untested buggy implementations.
      Otherwise their products wont run on old machines. There are still many win98 boxes out there.
      And MS still offers IE6 for win98.


      Huh? On something like turbotax maybe, but play any games within the last 6 or 7 years?

      Game developers are constantly trying to use the latest and greatest. Nvidia has built its business on the fact that we'll buy a new video card for more frames in unreal2 or command and conquer generals.
      Game companies will continue to make games with big hardware requirements using the latest pixel-shading-bump-mapping-bell-and-whistle APIs. And guess what? Consumers eat it up and upgrade their hardware.

      WineX?

      Yeah, that's a solution. Whatever. Go look at the "progress" over at transgaming.com they're still working on wrapping directX 8 with openGL. That's real nice and they've even gotten some games to be playable. However, MS is on directX 9 and people are starting to use it.

      I might be somewhat sympathetic to the winex guys' cause if they weren't so anti native porting.
      Go take a look at the game list, they've got stuff on there that have native ports already that can be still be purchased at retailers like tuxgames.com.


      And this "slowly" is a myth.
      Right now it might be a lil bit slower due to not optimized implementations but after all - Wine Is not aN Emulator.


      You obviously haven't tried the product you're touting.

      Ok, the windows requirement for Starcraft is a pentium 90. Yet Its unplayably slow on my 1.7 GHz machine under winex. Guess its not optimized.

      Jedi Knight 2 is playable through winex on my Geforce 4. Think it has anything to do with the fact that its an openGL game already?

      So what is the solution?
      Simple: SDL, OpenGL, OpenAL.
      Support game companies that write crossplatform code and make linux binaries.
      Ask game companies where their linux support is. Especially companies that use game engines that already have native ports like Epic's and Id's.

    32. Re:Awesome by mwood · · Score: 1

      "It's excellent handling of Windoze apps is part of what killed OS/2."

      Huh? IBM is *still selling* OS/2 Warp 4.

    33. Re:Awesome by Anonymous Coward · · Score: 0

      Be careful what you wish for. It's excellent handling of Windoze apps is part of what killed OS/2. Developers: "Why port it when it can run the windoze version?"

      "...especially when the platform licenses for anything, including the damn OS itself, costs more than ten times more than any other vendor's."

      that is what killed OS/2. By the time they got to 3.0, it was way way too late.

    34. Re:Awesome by scrytch · · Score: 2, Insightful

      So why hasn't Linux taken off yet?

      Because good sized chunks of the development kit does not come with linux. Go browse the MSDN library CD, or browse it online. Check out the support for an object model that guarantees that any language the major compiler vendors put out, as well as a plethora of scripting languages, will be able to interface with it. I can script my mail app with everything from VB to python to C++. I am buried in more voluminous documentation than I will ever have time to read.

      To say for a Linux dev environment "some assembly required" is to grievously understate the problem. The only thing a Linux environment has going for it in terms of documentation is a much bigger base of sample code.

      It costs real money to put together a good development kit. But just ask Carmack why he prefers to develop on NT.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    35. Re:Awesome by fymidos · · Score: 1

      if you need to atract gamers, a playstation emulator sounds much better.

      But linux does not need to attract gamers. They can stick to windows, nobody cares. I have played so many games i can't count them, i never gave a shit what OS i was using. But i need linux to get my WORK done.

      Wine is good for nothing propably but it's a really nice project from an educational point of view.

      --
      Washington bullets will simply be known as the "Bulle
    36. Re:Awesome by rseuhs · · Score: 1
      if you need to atract gamers, a playstation emulator sounds much better.

      Playstation emulator = illegal = not included in distro = awkard to use = not suitable for masses.

      But linux does not need to attract gamers. They can stick to windows, nobody cares. I have played so many games i can't count them, i never gave a shit what OS i was using. But i need linux to get my WORK done.

      I can't get PDF files on my treo (PalmOS) because the PDF-preparation program from Adobe only runs on Windows.

      ONLY WIDESPREAD DESKTOP USE can make those vendors make Linux versions. And games are a prerequesite.

      So, you are completely wrong that nobody cares. I do care and everybody else who uses Linux seriously cares.

      Wine is good for nothing propably but it's a really nice project from an educational point of view.

      Yeah and Samba is also "good for nothing probably".

      Heck, Samba is already beating Windows in speed and stability. Why shouldn't Wine be able to do the same?

    37. Re:Awesome by tunah · · Score: 1

      Oh, you don't browse at -1?

      --
      Free Java games for your phone: Tontie, Sokoban
    38. Re:Awesome by Anonymous Coward · · Score: 0
      Sure, but we have to get a significant amount of users first, then can we expect native apps.

      Wine helps building that userbase.

      Sure, but now you're tlaking about building a user base which thinks that the only way to get Linux applications is by importing them from Windows. Doesn't help the native application.

      Think about it this way -- one can make one jump to native, or two jumps, one to emulated, and a second to native. Either way, the effort works out to be roughly the same, but if you take the second scenario you're seriously flirting with the users going back to Windows instead of taking a second shift.

    39. Re:Awesome by Feztaa · · Score: 1

      Ummm, it has.

      Then why do we keep hearing statistics like "Linux has 3% of the desktop market"? I'd hardly call 3% a great amount of success.

      Sure, we've surpassed OS/2. That's because OS/2 is dead and gone. When will we surpass Windows?

    40. Re:Awesome by bitfoam · · Score: 1
      Almost every single service pack changes the interfaces to dozens and dozens of parts of the windows api.

      It is intentional part of the strategy: to make the Win32 API a "moving target", precisely to foil efforts to make a Windows clone or workalike.

      Digital Research's DR-DOS was gaining a reputation ("a better DOS than DOS") and starting to make some inroads when MS decided to get serious about Windows... and they weren't about to make the same mistake twice.

    41. Re:Awesome by fymidos · · Score: 1

      My point is that there are enough native apps for linux (except games) now so I don't need it. Maybe others do though, thats why i said propably.

      Samba on the other hand is good by itself, you can use it for a linux network, in several occasions it has helped me more than NFS. I NEVER used a win desktop app instead of a linux app through wine though.

      Games a prerequésite ? well, that's my point: it isn't.

      --
      Washington bullets will simply be known as the "Bulle
  3. ads by ldspartan · · Score: 3, Funny

    I find it entertaining that when I went to read the comments, I got to see an article for Visual Studio .NET :).

    --
    lds

    1. Re:ads by ldspartan · · Score: 1

      and by "article" I mean "advertisement"...

      way to go, brain.

    2. Re:ads by Anonymous Coward · · Score: 0

      redundant!

    3. Re:ads by pizzarobot · · Score: 1

      Well all games are programmed for windows...

    4. Re:ads by Anonymous Coward · · Score: 0

      Codingstyle doesn't HAVE any ads, so I call bullshit.

    5. Re:ads by Anonymous Coward · · Score: 0

      in the comments you fucking moron, not the article

    6. Re:ads by Anonymous Coward · · Score: 0

      There are no ads in the comments section of codingstyle either, so go fuck yourself. Go see for yourself: http://codingstyle.com/ See any banner ads? Click on the story comments. Any banner ads? I still call bullshit.

    7. Re:ads by Anonymous Coward · · Score: 0

      Wow, I've seen stupidity, but... well, wow.

      This fucking page you imbecile. On slashdot...slashdot.org...the comments.

      Have I been trolled? I sincerely hope so.

    8. Re:ads by Anonymous Coward · · Score: 0

      If Slashdot is what you meant, you should have fucking said so in the first place, fuckwad. If you're going to be successful in whatever career you have chosen for yourself (and I suspect retail, in your case), you are going to have to learn how to elucidate and express yourself with clarity. And, by the way, yes, you have been trolled. :-D Most successfully, I might add.

  4. It is not recommended by YellowSnow · · Score: 5, Funny

    that you compile under the influence of any type of alcahol

    1. Re:It is not recommended by Anonymous Coward · · Score: 1

      it's still better than compiling under any type of framed glass.

    2. Re:It is not recommended by eclectro · · Score: 5, Funny


      that you compile under the influence of any type of alcahol

      but it's ok to post on slashdot???

      --
      Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
    3. Re:It is not recommended by Anonymous Coward · · Score: 0

      please elucidate

    4. Re:It is not recommended by Thalias · · Score: 1

      but its okay to write code under the influence, right?

    5. Re:It is not recommended by Anonymous Coward · · Score: 0

      Oh, I get it now. Framed glass = Windows. Heh. That is pretty amazingly non-humorous.

    6. Re:It is not recommended by Pseudonym · · Score: 4, Funny

      Don't drink and derive?

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    7. Re:It is not recommended by powerlinekid · · Score: 3, Funny

      I don't know... I've written some good code while piss drunk. I think the key is that while sober you sometimes get bogged down in doing it The Right Way (tm) where a simple ugly block of code would be better. My code may not be readable the next day but it works :).

      --

      can't sleep slashdot will eat me
    8. Re:It is not recommended by JohnFluxx · · Score: 2, Funny

      Agreed! Otherwise you might write a game that looks really good and you think is working... until you sober up the next morning..not that I've ever done that.

    9. Re:It is not recommended by Negatyfus · · Score: 1

      Well, it's not as if anybody would see the difference.

    10. Re:It is not recommended by XNormal · · Score: 1

      I am not under the alcafluence of incahol, some thinkle peop I am. It's just the drunker I sit, the longer I get.

      --
      Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
    11. Re:It is not recommended by scrawny · · Score: 1

      Just one night of drunken interfacing can lead you to years and years of support.

    12. Re:It is not recommended by Anonymous Coward · · Score: 0

      Stoned (on weed) or coming down from an Acid trip have worked well for me in the past.

    13. Re:It is not recommended by powerlinekid · · Score: 1

      Haha. I could understand this if that coding session accidentally spawned a child process.

      --

      can't sleep slashdot will eat me
  5. Irony by Pharmboy · · Score: 0, Funny

    Its ironic to go to read an article on how to rid your self of a Windows computer by compiling under GNU/Linux/Wine and the giant advertisement that pops up is for Microsoft Visual Studio .Net.

    --
    Tequila: It's not just for breakfast anymore!
  6. which begs the question by b17bmbr · · Score: 2, Funny

    does microsoft compile windows under wine?

    --
    My problem? I was perfectly gruntled, until some numbnuts came by and dissed me.
    1. Re:which begs the question by arcadum · · Score: 0
      YES

      THey have been for years.

    2. Re:which begs the question by bstadil · · Score: 3, Informative
      Begging the question does not mean what you think it means.

      It means :

      "to assume something that hasn't been proven as a basis of one's argument,"

      "Wine is not good because it is open source", or "Microsoft's compilers are bad because it is closed source", are examples of Begging the question.

      --
      Help fight continental drift.
    3. Re:which begs the question by Anonymous Coward · · Score: 1, Interesting

      You know what? It's got a new meaning now, and it doesn't matter what the older correct version is. The meaning has changed, and this is the common usage. That's the evolution of language.

    4. Re:which begs the question by Anonymous Coward · · Score: 0, Troll

      No, that's the evolution of dumbasses who can't be bothered learning how to use English properly.

    5. Re:which begs the question by Anonymous Coward · · Score: 2, Funny

      Linux now has a new meaning. Linux is now the name of the entire operating system, not just the kernel. This is common usage. It doesn't matter what the older correct version is.

    6. Re:which begs the question by fredrik70 · · Score: 5, Informative

      VC++ isn't a bad compiler at all, really. They got a quite shitty implementation of the STL lib though(might have changed now - I use VC++ 6). Also isn't properly following the C++ ANSI standard. for example the scope whenyou declare vars in for loops is broken. MS is aware but they can't really fix it easily now, since *lots* of old MFC code would break if they fix it. Yuo can set a flag though to enforce ANSI but it not on by default. Compiler makes quite good code though. If you want a more 'proper' closed source compiler go for Borland's - the command line version is even free on their website! (after a rather hefty registration proc though)

      --
      if (!signature) { throw std::runtime_error("No sig!"); }
    7. Re:which begs the question by Pseudonym · · Score: 1

      I agree. Back to pre-Chaucer English for everyone!

      (Someone with more knowledge of Old English than I is probably going to make a terribly funny joke about Beowulf clusters now. I just want to get in first.)

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    8. Re:which begs the question by Anonymous Coward · · Score: 0

      Even if that's true, it doesn't mean using that "new meaning" won't make you look stupid. Every time you use it, those of us who know better will think "gosh, what a moron."

    9. Re:which begs the question by critter_hunter · · Score: 2, Insightful

      Don't like their STL? Use STLPort! Bonus points if you can compile it under Windows using their incredibly sucky installation instructions, which sorta ... stop in the middle of the process.

      --
      Karma: Could be worse (could be raining)
    10. Re:which begs the question by Anonymous Coward · · Score: 0

      There are better instructions in the INSTALL file which comes with the distribution.

    11. Re:which begs the question by jpmorgan · · Score: 1
      If memory serves me correctly, VC++ 6.0 came out before the C++ Standard was released. 7.0 (aka, VC++ .NET) is far more standards compliant. Of course, it's not perfect... most of the issues are in the STL (which you can replace with a more standards compliant version, stlport).

      If you need total standards compliant though, Comeau C++ is the tool for you.

    12. Re:which begs the question by GauteL · · Score: 1

      "Begging the question does not mean what you think it means."

      Actually I think you are wrong. I do not for one second doubt that your interpretation was the original meaning, but when almost everyone uses it to mean what the original poster did, then "begging the question" has taken a new meaning. It really DOES mean what the original poster used it to mean.

      Besides, this new meaning is much more obvious than the old one.

    13. Re:which begs the question by Textbook+Error · · Score: 1

      but when almost everyone uses it to mean what the original poster did, then "begging the question" has taken a new meaning

      Except that we're thankfully not at that stage yet - this usage is common amongst North Americans (as are errors such as using "loose" when they mean "lose"), but is not widespread elsewhere.

      --

      Nae bother
    14. Re:which begs the question by Daengbo · · Score: 2, Interesting

      I'm not going to argue with you about whether it really means what you say or not, because those above have done that already, but I will say that he CAN NOT be using it incorrectly, for the following reason: your usage is idiomatic, while his is not. Translation -- your meaning is not the sum of the parts, while beg (ask for) a question, certainly holds to the literal meaning. Whatever the idiom means or has come to mean, it can not displace the literal meaning. A good example would be "give a hoot," (my girlfriend recommends it), as in "I don't give a hoot what you think." It can certainly mean to literally shout, if I care to make it that. Fantastically, unbelievably, and amazingly, while not idioms, can be used in the literal meanings of those words, despite the fact that common usage dictates otherwise.
      Regarding the use of loose and lose referred to above, they are not a common American problem, and mispellings such as these almost certainly spring from a lack of daily reading.

    15. Re:which begs the question by awol · · Score: 2, Informative

      VC7 is just broken. Wait for the first service pack. We had to rearrange header files _and_ install the unreleased patch from MS just to get some code to compile (code that compiled find under, g++ (HP-UX, Linux, SunOS), aCC (HP-UX), CC (SunOS) and VC6).

      --
      "The first thing to do when you find yourself in a hole is stop digging."
    16. Re:which begs the question by tkg · · Score: 1

      ...and mispellings such as these almost certainly spring from a lack of daily reading.

      Unless, of course, your daily reading is slashdot. ;o)

    17. Re:which begs the question by scrytch · · Score: 1

      "Wine is not good because it is open source", or "Microsoft's compilers are bad because it is closed source", are examples of Begging the question.

      Nonsense. Let's compare:

      Proposition 1:
      Open Source is not good
      Wine is Open Source
      therefore, Wine is not good

      Closed source is bad
      MSVC is closed source
      therefore, MSVC is bad

      These are perfectly valid arguments. They may not necessarily be sound, since the truth of the propositions is questionable, but their validity is not in question.

      Here's begging the question:

      Steve Ballmer is a big bald mean strongman.
      Steve Ballmer stands intimidatingly over people.
      therefore, Steve Ballmer is a brute.

      The conclusion is just the first proposition in different words. Petito Principi is a formal fallacy, i.e. a fallacy of form. Often you can substitute a different truthful proposition in place of the first and get a sound argument, so arguing against form alone is a pretty weak argument (it puts forth no rebuttals) and a good way to get rope-a-doped in a debate.

      BTW, to "beg the question" is a way of saying "demand the question", and to beg a question is to force it to be asked. The fallacy is when you beg your original question, i.e. one of your propositions (and satisfy the demand). The phrase "beg the question" to mean "an obvious question must be asked" quite probably predates the naming of the fallacy -- where do you think the colloquialism for the fallacy came from in the first place?

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    18. Re:which begs the question by hawkstone · · Score: 1
      You can set a flag though to enforce ANSI

      Out of curiosity, does that flag fix the for loop scope? If so, what the f*** is it?

      (The reason I ask is that their KB says to define "for" as "if (0) ; else for" to fix the problem, and that is reeeaaally annoying.)
    19. Re:which begs the question by fredrik70 · · Score: 1

      check out the /Ze flag There are some more info regarding VC++ ans ansi there. Also bear in mind that many of MS headers only work with MS extensions (/Ze) on, so if you're using them you're in a bit of trouble.

      --
      if (!signature) { throw std::runtime_error("No sig!"); }
    20. Re:which begs the question by fredrik70 · · Score: 1

      Ah sorry, typo from me, what you're looking for is the /Za flag, same link though...

      --
      if (!signature) { throw std::runtime_error("No sig!"); }
    21. Re:which begs the question by Daengbo · · Score: 1

      You're right. I should have said daily reading of quality material. Comic books obviously don't qualify, either. :)

    22. Re:which begs the question by bstadil · · Score: 1
      Whatever the idiom means or has come to mean, it can not displace the literal meaning.

      Sure it can.

      His initial offer was a red herring!

      If he were indeed offering a colored fish of the genus Clupea it would have been stated differently.

      Interesing enough the literal meaning of Begging the question you are talking about came after the idiom.

      --
      Help fight continental drift.
    23. Re:which begs the question by alexpage · · Score: 1

      I thought that mixing "loose" and "lose" and related typographical no-nos were just common amongst /. editors?

    24. Re:which begs the question by hawkstone · · Score: 1

      Ah, yes, I now remember.... and I know why I forgot about it. It's very hard to avoid using MS headers, so I've never been able to use the flag without breaking stuff.

      Thanks again for the info!

  7. Big deal! by Anonymous Coward · · Score: 2, Funny

    Let me tell you something, I've compiled not only under wine, but on vodka, whiskey, shit even ACID. And when I was on acid, my monitor tried to eat me...

    1. Re:Big deal! by Anonymous Coward · · Score: 0

      Let me tell you something, I've compiled not only under wine, but on vodka, whiskey, shit ...

      Ewwwww...

  8. compiling? by Anonymous Coward · · Score: 5, Insightful

    It's not so interesting to me that he managed to compile using VC++ under WINE. VC++ doesn't call any of the APIs you code, it just puts machine code into the file saying you can call them if you want. It's all well and good to have VC++ compile DX9_CreateSurface() (or whatever) into a bunch of PUSHs, POPs and a JMP instruction, but that doesn't help if WINE can't actually call that function when you're testing. It makes more sense to me to use Bochs or VMWare to test your application if you're developing on multiple platforms. Anything less would be short-changing your Windows clients.

    1. Re:compiling? by Anonymous Coward · · Score: 0

      Actually, MS Visual Studio is a pretty sophisticated application. Particularly the GUI Widgets and graphical elements that are non-standard widgets. If you've ever looked at some of the GUI elements in VS and tried to code them in your own app, you would come to appreciate this.

    2. Re:compiling? by Anonymous Coward · · Score: 0

      The thing was, the guy was just compiling using the command-line compiler :-/

    3. Re:compiling? by Anonymous Coward · · Score: 0

      A "JMP" instruction? What decade are you living in? All x86 processors support a CALL instruction.

  9. GNU/translation by phoebe · · Score: 2, Funny

    GNU/Build GNU/natively GNU/on GNU/a GNU/computer GNU/using GNU/a MS-Windows/compiler GNU/without GNU/a MS-Windows/computer!

    1. Re:GNU/translation by Pharmboy · · Score: 1

      GNU/Build GNU/natively GNU/on GNU/a GNU/computer GNU/using GNU/a MS-Windows/compiler GNU/without GNU/a MS-Windows/computer!

      Oh, should have read the article I guess, but I figured since no one else does....

      --
      Tequila: It's not just for breakfast anymore!
    2. Re:GNU/translation by kfg · · Score: 2, Funny

      I know my cat likes to sleep on my keyboard. I'm just trying to figure out how she managed to post to Slashdot.

      And better than some of mine too.

      Funny thing is that I don't recall giving her a user account, so she's either stolen my password or rooted my box. And she looks so innocent sleeping over the sofa.

      Guess my momma was right when she warned me felines were devious little fuzzballs.

      (No, she's not named after the Friends character. She's named after Phoebe Snow. No, not the singer, the "train babe." Sheesh.)

      KFG

  10. Actually.... by miketang16 · · Score: 1

    I prefer to use Beer. I find that it compiles much nicer, and it's cheaper too. =)

    --
    -------
    "In times of universal deceit, telling the truth becomes a revolutionary act."
    -- George Orwell
    1. Re:Actually.... by frankmanowar · · Score: 1

      It's too true. Beer IS the best compiler out there. This will never change.

      --

      "Other bands play, but Manowar KILLS"
  11. The Jump-Thru-Your-Butt Computing Model by Anonymous Coward · · Score: 0

    Pretty soon it'll only be an order of magnitude harder to pretend that Linux is an equal competitor in this Wintel world. Then Linux can capture a full ten percent of Apple's desktop space! We'll be kings! No, gods!

  12. such a deal by frankmanowar · · Score: 1, Interesting

    You know (shaking the finger of logic and wisdom), if they (MS) sold such a product for the GNU environment for a couple hundred bucks...I would buy it. And I know a few other developers who would to. Providing, of course, it didn't totally suck!

    --

    "Other bands play, but Manowar KILLS"
    1. Re:such a deal by chunkwhite86 · · Score: 2, Funny

      You know (shaking the finger of logic and wisdom), if they (MS) sold such a product for the GNU environment for a couple hundred bucks...I would buy it.

      Too bad it'll never happen. I'm sure if such a project began within MS, Bill (or some exec) would scream "Heresy!". Remember, a win for GNU = a loss for MS in most cirsumstances.

      Providing, of course, it didn't totally suck!

      MS Sales Rep: "Well Sir, "doesn't suck" wasn't listed as one of your product requirements... Sorry, no refunds!"

      --
      I'd rather be a conservative nutjob than a liberal with no nuts and no job.
    2. Re:such a deal by Anonymous Coward · · Score: 0

      yeah, too bad it'll never happen. oh well.

    3. Re:such a deal by Anonymous Coward · · Score: 0

      Dumass! This is a product in direct competition with GNU! Grow a brain dammit!

    4. Re:such a deal by Anonymous Coward · · Score: 0

      double dumbass on you... it IS GNU. you can EVEN download it for free... But for 99 bucks you get a nice shiny cd. But you actually looked at it right?

  13. Compiling under wine eh? by trotski · · Score: 2, Funny

    Last time I tryed to compile something under the influence of (way too much) wine, I ended up on the floor infront of my computer. All I remember was waking up to a formatted hard drive; compiling under the influence of wine sucks!

    --

    "Entropy is the bad-guy, and he is everywhere"
    1. Re:Compiling under wine eh? by delta407 · · Score: 2, Funny
      All I remember was waking up to a formatted hard drive
      Would you prefer to wake up to an unformatted hard drive?
    2. Re:Compiling under wine eh? by jsse · · Score: 1

      I ended up on the floor infront of my computer. All I remember was waking up to a formatted hard drive;

      You fsck'd it! You bastard!

  14. So now can i expect.. by OmniVector · · Score: 1

    wine compiling cygwin compiling wine compiling cygwin compiling....

    --
    - tristan
    1. Re:So now can i expect.. by Anonymous Coward · · Score: 0

      Actually this has been done a while back. There was a /. post on it but I don't feal like searching for it.

    2. Re:So now can i expect.. by pizzarobot · · Score: 1

      The article is here.

  15. Using Wine to produce COMPATIBLE windows apps? by Anonymous Coward · · Score: 0

    Does this work 99 percent of the time?

    What I'm curious about is whether you can make apps that run in Wine but crash or fail in Windows.

    I'm completely clueless, so if this is a stupid question, then I appologize.

    1. Re:Using Wine to produce COMPATIBLE windows apps? by Anonymous Coward · · Score: 0

      Your question isn't stupid, just unintelligible.

    2. Re:Using Wine to produce COMPATIBLE windows apps? by fodi · · Score: 0

      Hehe... that'd be great. Software that offers the look and accessibility of Windows software (that everone is familiar with), but that can't be run under Windows. The ultimate stab in the back.

      Kinda like the rumours that MS put bad code into Win95/98 so that Netscape wouldn't work properly...

  16. WRONG! by www.sorehands.com · · Score: 4, Insightful
    It may eliminate the need for a reasonably fast machine to develop on, but you always need a target machine for testing! But, the test machine should be slow so that one can find performance bottlenecks and see the program operate under non-optimal conditions.


    If the people are forced to test applications on slow machines, we may not have word processors that need 40MB of ram and a 933MHZ pentium III to run.

    1. Re:WRONG! by chunkwhite86 · · Score: 1

      but you always need a target machine for testing!

      Either that or VMware...

      --
      I'd rather be a conservative nutjob than a liberal with no nuts and no job.
    2. Re:WRONG! by burns210 · · Score: 1
      "...but you always need a target machine for testing!"

      If i understand you right, you are saying that even with visual studio under WINE, the developer still needs a windows box to make sure the darn thing works? Well, if Visual Studio runs under WINE(as does office) then most of the average programs will to. But in an extreme case, there is always Bochs.

      As for the part about testing on a slow computer, I agree. Having rediculously high minnimum requirements for some programs just seems like sloppy programming. Again, if you are using Bochs, then your slow machine is covered, since it is emulating the x86(thought version 2.0 is much faster than previous version).

    3. Re:WRONG! by Anonymous Coward · · Score: 0

      That's a harsh title. Do you need some love?

    4. Re:WRONG! by spinkham · · Score: 4, Informative

      He was testing on a seperate machine, just wanted to avoid the hassle of transfering all the sources every time he wanted to compile.
      Quote from article:

      The transfer of source to an MS-Windows machine and the correction of filenames and text format issues have been avoided. Therefore, I can build the game from one machine, then I only have to copy the final chaos.exe to my MS-Windows machine to test.

      --
      Blessed are the pessimists, for they have made backups.
    5. Re:WRONG! by Jah-Wren+Ryel · · Score: 4, Funny

      Duh! If it compiles it must be fine! What kind of newbie developer are you?

      --
      When information is power, privacy is freedom.
    6. Re:WRONG! by Ryan+Amos · · Score: 1

      Do you work for Microsoft? :)

    7. Re:WRONG! by Anonymous Coward · · Score: 0

      Yeah but his reasoning is bullshit. If you name your files correctly and keep them in unix format, the windows compiler will recognize and compile them just fine.

      And if you use Vim to edit your files under Windows the fileformat will remain Unix.

    8. Re:WRONG! by Tony-A · · Score: 1

      I don't think even Microsoft is that stupid.
      (But I could be wrong;-)

    9. Re:WRONG! by radish · · Score: 1

      Yeah, it's not as if Samba does all that for you or anything. I move files back and forth via a samba share all the time and there are zero issues with names, line termination or anything else. There maybe other valid reasons he wants to compile under vmware, but that's a crappy one.

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    10. Re:WRONG! by AnyoneEB · · Score: 1

      You can do that under Windows too, just nest enough copies of cygwin and wine until your computer is sufficently slowed down.

      --
      Centralization breaks the internet.
    11. Re:WRONG! by Anonymous Coward · · Score: 0

      word runs just fine on just about any 'box' so i guess you are talking about one of those half-assed linux ms word ripoffs

    12. Re:WRONG! by crath · · Score: 1

      He was testing on a seperate machine, just wanted to avoid the hassle of transfering all the sources every time he wanted to compile.

      Too bad he's never heard of SAMBA or NFS. Mounting file systems and maintaining one source tree is a far better method than the hack the article describes; although maintaining a CVS tree and checking the code in and out over the network would have been even better.

    13. Re:WRONG! by Jorrit · · Score: 1

      SAMBA and NFS only work if the two computers are on the same network. That's not always the case.

      Greetings,

      --
      Project Manager of Crystal Space (http://www.crystalspace3d.org). Support CS at http://tinyurl.com/cb3x4
    14. Re:WRONG! by bluGill · · Score: 2, Informative

      It does not require a slow machine to find performance bottlenecks, it requires a fast machine! Anyone who wants to improve the preformance of code needs a profiler to find those places, but profilers slow down your code themselves, so you need a faster machine to get the same speed. In theory you can find the slow spots on a slow machine, but you are wasting a lot of time, a fast machine can find the slow areas in the code faster.

      That isn't to say you never run on a slow machine, but if you determin it isn't fast enough on a slow machine you need the fast machine to find those slow areas.

      If you try to improve performance without a profiler you waste your time optimising parts of code that are plenty fast, while often ignoring the part of code that is the problem.

      One man I know optimised every line in his program that was too slow, and got a 1% speed improvement. After that he used a profiler and discovered his program was spending 60% of its time doing arctangents, which is done in the library and was optimised by smarter people than him. Excpet they assumed you would build a bridge with their function so they used newton's mythod to get about 15 decimal places of accuracy. His program didn't need that much acuracy, in fact the first thing it did after getting the arctangent was chop off everything after the decimal place. By implimenting his own arctanget he was about to get his program to spend 2% of the time doing arctangent, and the program ran twice as fast. However without a profiler he could never have discovered the problem.

    15. Re:WRONG! by GlassHeart · · Score: 1
      Anyone who wants to improve the preformance of code needs a profiler to find those places, but profilers slow down your code themselves, so you need a faster machine to get the same speed.

      No, that is almost completely mistaken.

      A Pentium 4 is not simply a faster version of the 80386! The fast CPU may have extra execution units, different pipelining, more (visible or hidden) registers, more cache, better memory or I/O bandwidth, etc. Any of these improvements can completely change the location of the bottleneck, or even show no obvious bottleneck at all.

      Just to take an example, a common cause of slowness is that a tight loop doesn't fit in the cache. The correct fix is to make that code small enough to fit. If profiled on a machine with a bigger L1 cache, you may not even notice the problem, and will waste your time fixing something else.

      In theory you can find the slow spots on a slow machine, but you are wasting a lot of time

      Which is why you can either analytically predict some suspects, or use a fast machine to help predict the suspects, and then profile only those suspects and not the entire executable. In any case, it can't be stressed enough that architectural differences on the fast machine cannot be overlooked.

      Your point about the absolute necessity of a profiler is well placed, however.

    16. Re:WRONG! by jelle · · Score: 1

      But that test machine should be a plain windows install without the compiler environment installed on it, because your project might just work only with those special msvc++ dlls...

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    17. Re:WRONG! by jelle · · Score: 1

      Yes you are right, testing has to be done on slow AND fast machines. In a multithreaded application, an example of an annoying performance bottleneck is a deadlock where all threads end up waiting for another, which may only occur in particular environment (CPU, memory, network speed/latency).

      Testing must be done on as many configuration variations as possible, and of course, experience helps too.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
  17. Visual C++ under WINE by kruetz · · Score: 5, Interesting

    Wine has really come a long way to facilitate running major applications such as Visual C++. Features that "just work" often do not get mentioned because there is nothing to say. Wine has many excellent features like this. However, I have expressed the problems with Wine currently and I expect that in a potential follow up article many of these will be resolved. Wine has been in development for over a decade now. As it is finally nearing a 1.0 release, I see how much better it was than the 1.0 release of MS Windows.

    Using Visual C++ on GNU/Wine gives me all the benefits of being able to develop a 100% compatible MS-Windows version of the game, while saving me the time of maintaining another Win2k machine version of the source and moving to that machine to compile. It has been a great time saver for me and I strongly expect this information will be very useful to myself and others in the future.

    Okay, so you can use Visual C++ compiler under WINE. Is that terribly surprising when WINE can run MS-Office for the most part? The compiler takes the source files and libraries and produces an executable or library. I don't know for sure, but I wouldn't think that too much of this would involve heavy usage of the Win32API, much less the lesser-used and less-tested-under-WINE parts. For the most part, the compiler would be doing tokenising, parsing, translation and optimisation, which would in all likelihood use no external libraries or anything.

    I don't mean to rubbish this article, I'm just saying that I don't see it as being terribly surprising. On the other hand, I think this is a great use of WINE and is definitely more innovative that anythin I would use WINE for. And as he says in the article, there was a lot of fiddling around with command line arguments and environment variables. But if you're compiling from the command-line under Windows, it's just as bad (no, really).

    A much greater "victory" for WINE would be to have the whole VisualStudio ensemble running. But I'm not sure if this is feasible, especially in the short-term. By "victory" I don't mean something along the lines of "Linux now allows you to run a quality IDE", because KDevelop and Eclipse are great IDEs. Instead, VisualStudio and Office are probably the most complicated pieces of software written by MS (excluding Windows itself) and for WINE to be able to run them both as if they were running under Windows would be truly a fantastic achievement.

    --

    This sig intentionally left bla... dammit!
    Who's got the whiteout?
    1. Re:Visual C++ under WINE by Anonymous Coward · · Score: 0
      Okay, so you can use Visual C++ compiler under WINE. Is that terribly surprising
      Yes, it is. For a long time at my last job we wanted to run the command-line Visual C compiler under Wine (in particular, driven by cmake and the customs daemon) but msvc simply would not run in the Wine environment.
    2. Re:Visual C++ under WINE by SN74S181 · · Score: 1

      I was happy back in 1996 when I got DOSEMU under Linux to run my EPROM Programmer (a Needham PB-10, the one with an ISA card).

      I agree that it seems pretty trivial that a compiler works, as compilers mostly just push text and binaries around, they don't call much of the Win32 API.

    3. Re:Visual C++ under WINE by Anonymous Coward · · Score: 0

      I am running the MSVC++ 6.0 IDE and debugger on win 98 under win4lin under linux even as I type this post. I dont normally do windows development, so I had no real windows partitions available when I got sucked into the project I am working on now. I decided to try it, and it has been very workable. The only real problems I have had were related to the fact that windows 98 sucks, and doesn't return error messages from some API calls, &#%$&. Oh, and also sometimes single stepping in the debugger doesnt work, so I have to set breakpoints. But it works.

    4. Re:Visual C++ under WINE by civilizedINTENSITY · · Score: 1

      Well I downloaded the latest GVIM for windows this evening and finally installed the ole for visual studio. Not exactly VC++ under linux, but a little vi in the VC sure is sweet! I might even actually play with it now.

    5. Re:Visual C++ under WINE by HopeOS · · Score: 1
      Okay, so you can use Visual C++ compiler under WINE. Is that terribly surprising when WINE can run MS-Office for the most part?
      At first glance, you might think so, but it's more complicated than that. The Microsoft compiler CL.EXE has many peculiar dependencies that were not addressed immediately simply because the functionality was not in MS-Office. If they've gotten this running, it's an improvement over the last couple months. Compiling MS apps on Linux will be my primary use of Wine, so if this is working now, it's news, good news in fact, to me.

      -Hope
  18. flamebait by frankmanowar · · Score: 0, Offtopic

    Holy crap, if this isn't flame bait, I don't know what is!!!

    --

    "Other bands play, but Manowar KILLS"
  19. Re:ads - I dont see em :) by jgaynor · · Score: 2, Offtopic

    I don't see me - just set ads.doubleclick.net to 127.0.0.1 in your hosts file. Granted thats not the only host you have to add, but there are regularly maintained lists out there of good people to block :).

  20. uh by frankmanowar · · Score: 0, Offtopic

    that is...i meant the NEAT article by Old Ike, but somehow my post ended up over here...

    --

    "Other bands play, but Manowar KILLS"
  21. Windows Compliant / Posix Compliant Drivers by PetoskeyGuy · · Score: 3, Interesting

    I'm a programmer for a Supplier of Software to the US Government and we are actively looking to port our products to Linux do to the strong interest from our clients. Specific Offices decide what products they want to implement and how to do it. We are investigating Emulating Windows as an one solution.

    I look forward to the days when any program that is Windows Compliant runs on any platform that supports the Windows API.

    That being said, the real problem I have is DRIVERS for my hardware working under Linux. If someone could emulate Windows enough to use standard Windows Drivers, there would be no more reason to use Windows at all. I truly commend those braves souls and companies who write drivers for Linux.

    Now if there was a Proxy that accepted Microsoft SQL requests and sent them to a PostgreSQL backend transparently we would be free of the beast and save the Tax Payers lots of money paying my paycheck, plus blow our competiters out of the water. :o)

    1. Re:Windows Compliant / Posix Compliant Drivers by hazman · · Score: 2, Funny

      Hey, you know, if there is anybody who could pull off this Hardware Abstraction Emulation stuff, it'd be those sharp critters over at Connectix.....what's that, they were acquired by Microsoft?. Never mind.

    2. Re:Windows Compliant / Posix Compliant Drivers by MateIn4 · · Score: 1

      If you are reponsible for the drivers, then port them over to Linux. Try http://www.jungo.com/linux.html that might help you make drivers for both environments.

    3. Re:Windows Compliant / Posix Compliant Drivers by deviator · · Score: 1

      Novell had something similar to this (SQL proxy) a few years back called SQL Integrator - however, it looks like it has faded into oblivion due to poor sales. An open-source GNU solution would be pretty nifty. It would have to handle different feature sets & emulate certain commands... perhaps something with plugins to add support for different database types. (Novell does something similar with DirXML - a product that syncs different directory services databases with plugins that support each type of directory, such as ADS, NDS, LDAP, PeopleSoft, etc.)

    4. Re:Windows Compliant / Posix Compliant Drivers by gregfortune · · Score: 2, Informative

      Doesn't Postgres have an ODBC driver? Any reason why you aren't using it?

    5. Re:Windows Compliant / Posix Compliant Drivers by fizbin · · Score: 1

      Hrm. Is there really a sufficient market for this? I'd think that some of the work that the freetds folks have done would be relevant. (Of course, that's getting free clients to talk to MS SQL/Sybase servers, not the other way around)

    6. Re:Windows Compliant / Posix Compliant Drivers by PetoskeyGuy · · Score: 1

      I should be more specific. Our application has thousands of Stored Procedures - tablename_update, tablename_insert, tablename_select, etc, etc.


      ODBC would work to look at a different database, but the bigest thing we need is to use the same Stored Procedure Language.


      SQL specifies Data Manipulation, and Data Definition. If there was a standard Data Automation(?) section then we wouldn't be tied to the SQL server.



      We've looked at converting things over to Oracle due to client request, but with the time required it would be cheaper to buy the client an MSSQL server.
    7. Re:Windows Compliant / Posix Compliant Drivers by gregfortune · · Score: 1

      To my knowledge, nothing like this exists.. You might find it useful to place the "stored procedures" in a process resident on the server and in effect, invent you own cross database solution. It would almost certainly be slower than native stored procedures though...

  22. GNU! by Dunkalis · · Score: 3, Funny

    Wow! So RMS wants us to simply call it GNU now? Dropping the Linux part altogether? Sorta hypocritical to me ;).

    Or do you run Hurd? Which is technically the GNU OS.

    The above is meant to be funny.

    --
    Slashdot is a waste of time. I enjoy wasting time.
    1. Re:GNU! by absurdhero · · Score: 1

      For all we know, he is running a BSD kernel with GNU system software. The point is, it doesn't much matter what kernel he is using. We can't even tell. So why write it down?

    2. Re:GNU! by sfe_software · · Score: 1

      Wow! So RMS wants us to simply call it GNU now? Dropping the Linux part altogether? Sorta hypocritical to me ;).

      Or do you run Hurd? Which is technically the GNU OS.


      He does mention Linux -- Mandrake specifically. But I agree, calling it GNU is a bit confusing (he also calls XFree86 "X-Windows", and refers to Unix-style text files as being in "GNU format").

      As others have mentioned, running the command-line compiler isn't all that much of a feat. I was a bit disappointed that he "hand edited" all the #include directives to correct the case -- something that could be done with a Perl in-place edit...

      --
      NGWave - Fast Sound Editor for Windows
  23. Compiling under beer is better... by Dave21212 · · Score: 1

    ...a no nasty headaches from the sulfides.

    Try Maryland Wines, esp Bordy
    and Beer, esp Oliver Ale !

    --
    "Whoever would overthrow the liberty of a nation must begin by subduing the freeness of speech."--Benjamin Franklin
    1. Re:Compiling under beer is better... by jmb-d · · Score: 1

      That would be BOORDY.

      Hope this helps.

      Off-topic, yes, but still informative.

      --
      In walking, just walk. In sitting, just sit. Above all, don't wobble.
      -- Yun-Men
  24. GNU computer? by arvindn · · Score: 2, Funny

    Does this guy really use the HURD, or is it just that he's an RMS mega-fan?

    1. Re:GNU computer? by Arandir · · Score: 1

      I'm just wondering if I can use WINE to compile Windows apps under non-GNU systems. Like for instance FreeBSD, NetBSD or Linux...

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  25. Go west by Anonymous Coward · · Score: 0

    Go west, (You probably need to look it up)

  26. Use the Intel Compiler... by Duncan3 · · Score: 0, Flamebait

    The MSVC compiler generates code as bad as gcc does. Both suck.

    Use the Intel compilers, your code will be 50-300% faster.

    And yes, Intel has both Win32, Win64, and Linux compilers, which is why I can state the above becasue I've used them.

    GCC or MSVC are fine for development, due to fast compiling, but dont even think of releasing enduser versions with them.

    --
    - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
  27. CVS by YoJ · · Score: 5, Interesting

    The author describes the problem he originally solves as being the pain of moving code between Linux and Windows, losing attributes, case problems, etc. The approach I take is to keep all code in CVS on my file server. I do compiling and editing on my personal computer; both Linux and Windows can handle CVS. This way you have to reboot into Windows for the Windows compile, but never have to worry about copying files or case changes.

    1. Re:CVS by Anonymous Coward · · Score: 2, Interesting

      Yea, that was my thought. I never copy any source files between any computers, just 'cvs up'. From his article, it sounds like he doesn't use any source control, so my guess he's never worked on a project with other people or shipped any heavily used software. Both require the ability to co-ordinate source code changes and manage releases from a baseline...not to mention a single place to do backups.

      I've been coding Java for a while now, but back in my C/C++ days, I only used the M$ command line tools. They integrate pretty well with a unix-style command line build system. The reverse isn't true.

    2. Re:CVS by Minna+Kirai · · Score: 1

      That can cause problems: you'd often want to know that a change compiles+runs on both platforms before checking it into CVS.

      Using CVS as the main communication link between the two platforms means that linux developers can easily break the microsoft build, or vice versa.

    3. Re:CVS by ragnar · · Score: 1

      I suspect the cycle of check-in, check-out, compile is no worse that transfer-files, compile.

      I'm no cvs expert, but I quasi-admin the CVS setup at my workplace (small team of developers) and we operate by the rule of only checking in code that compiles and for the most part works right. In this way, all check-ins should be bug fixes or enhancements. This makes the log handy to see the evolution of the code.

      If the log was riddled with "testing on the windoze box" entries I think it would pollute the log. If I were this guy I would solve this by using Samba to mount a drive on the windows machine and operate on one location for the source. That wouldn't preclude CVS for its proper use.

      --
      -- Solaris Central - http://w
  28. moving source? by Daengbo · · Score: 1

    Can someone help me as to just why he needs to move his source back and forth between computers. I mean, I like that he's consolidated to one machine and all, but couldn't he just use a samba share or something to save the (apparently complicated) step of moving the source code from one machine to another. What's the real advantage here? (Real question, not a flame)

    1. Re:moving source? by Anonymous Coward · · Score: 0

      D00D! 17'5 480u7 N07 H4ND1NG C0N7R0L 0V3R 70 M1CR0S0F7! 7H47 M4K35 H1M 7074LLY 31337!!

    2. Re:moving source? by anonymous+cupboard · · Score: 1
      I wondered about that too, especially if a Windows system is running with rsh or ssh then it is very easy to have a single Windows system as a compile engine rceiving requests from other systems.

      Cygwin is great for this and even allows you to run your own makes and build scripts from Linux. The GPL restrictions only apply if you link to GPL code, which you won't if you are running Visual C.

      You lose the IDE though, but generally you just want to spend most of your time developing on one platform and just checking that you can compile on the second, leaving the debugging on that platform until later.

  29. I use Wine to compile but not for porting by Captain+Rotundo · · Score: 4, Insightful

    I use Microchip's pic assemler through wine, for a small piece of code I maintain that runs on a PIC that wasn't supported by any GNU/Linux assembler when I started. I also maintain a legacy version of a very specific proprietary MSDOS (actually we run DRDOS) program that was written with Borland C, hopefully I will be replacing the last running bit of that with a DJGPP compiled version soon, which of course can be cross compiled on GNU/Linux without the need for Wine and bcw.
    I know what your thinking, but when a piece of software has worked flawlessly (well almost!) for 15 or so years, and is 'mission critical' it is very hard to drop a platform and move on. I am hoping to try out a move to Linux some day in the near future so that I can take advantage of new features and things that just arent available for DOS. But unless I can convince everyone else of the benefits I may be supporting dos for quite some time (I am the only software person at this company).

    1. Re:I use Wine to compile but not for porting by SN74S181 · · Score: 1

      Shouldn't you be using DOSEMU instead of Wine? Wine seems like overkill for a PIC assembler.

    2. Re:I use Wine to compile but not for porting by Captain+Rotundo · · Score: 1

      Well geting WINE to work was a simple "apt-get install wine" - I have not had as much luck with DOSEMU, and havent tried since the wine system works fine.

  30. No! No! No! by www.sorehands.com · · Score: 0
    No, VMWARE is not Windows. There are bugs in Windows that VMWare may not duplicate.


    Cutomers will not be running it, so don't bother.

    1. Re:No! No! No! by njchick · · Score: 3, Informative
      There are bugs in Windows that VMWare may not duplicate.
      Care to give an example? I think if you run Windows under VMWare, you get all Windows bugs plus maybe some bugs from VMWare.

      That's quite different from Winelib, which is indeed a separate implementation of Win32 that may "lack" some Windows bugs.

    2. Re:No! No! No! by nyquil · · Score: 1

      dont you have to install windows under vmware? ive always been under the impression that thats how it works. vritual machine, not os emululator

    3. Re:No! No! No! by Anonymous Coward · · Score: 0

      dumbass, VMWare virtualizes the PC so you can run a COMPLETE OS on it, be it Windows, FreeBSD, Linux or whatever. It doesn't actually emulate the OS.

    4. Re:No! No! No! by Anonymous Coward · · Score: 0

      Video driver-related bugs.

    5. Re:No! No! No! by Jimithing+DMB · · Score: 0, Offtopic

      Yes, and in fact I can think of one right now.

      I recently ran into a problem where putting a grouped radio button (even if that group is one single button) as a sibling of a window with WS_EX_CONTROLPARENT style.

      When the Radio button is clicked, the Microsoft window procedure attempts to find the sibling radio buttons by cycling through in a way similar to the tab order. Unfortunately, it traverses through controls that are children of the control parent window (their nephews?) and at the end of that list it does not start at the very beginning but instead loops back to the beginning of the list.

      Because of this, the code enters an infinite loop looking for its siblings which it will never find. It never finds itself either!

      (Un)fortunately, Wine does not exactly duplicate this behavior.

      However, considering the behavior has never been fixed and exists in all Win32 implementations, it must be that way for some reason. Of course, unless anyone can come up with an example of an application that works worse under Wine because of it, it's not a bug.

    6. Re:No! No! No! by Tony-A · · Score: 2, Funny

      Seems like there have been some reports that Microsoft Windows is more stable under VMWare than on the bare metal. It does make sense that the virtualized system as presented by VMWare is more regular and less messy than the bare metal.


      Yes, but. The bugs taken individually won't show up. It's when they get together (and breed or something) that you get troubles.

    7. Re:No! No! No! by jonathanclark · · Score: 1

      I'm trying to reproduce a bug right now that does not occur in VMWare. This bug relates to thread creation/destruction, and it's very timing dependent. Because of VMWare's slow task switching mecanism, the bug never occurs when running on VMWare - but always occurs on a normal machine.

    8. Re:No! No! No! by njchick · · Score: 1

      Next time try to read the comment you are replying to.

  31. Re:ads - I dont see em :) by Anonymous Coward · · Score: 0

    I don't see you either...

  32. 1.0 ? by IanBevan · · Score: 4, Interesting

    I'm curious, what exactly will the "milestone" of version 1.0 of Wine actually mean ? I would doubt that it'll ever be 100% compatible with Windows 98/XP. So what feature list is the development team trying to complete before calling it 1.0 ?

    I think that pretty much any other product would have been deemed a failure if it had endured a 10 year development life and not reached version 1.0. Unless of course we're talking about Duke Nukem Forever...

    My experience of Wine is common to most people's I think; it looks like a great idea, but as soon as you try to run any non-trivial program, it simply locks up/doesn't work. I've looked at their website and looked at all the "passed" indicators on their test cases. That doesn't help me run my apps much though... do they need more test cases ? Are they simply too abstract ??

    Just my $0.02 worth

    1. Re:1.0 ? by Papineau · · Score: 4, Informative

      Before 1.0, let it reach 0.9 (0.8 was released circa 1994 or 1995). You can check the unofficial Wine 0.9 TODO for a list of features needed for the 0.9 milestone.

      About the long development life... don't forget it started with Windows 3.1 as it's first target. Then, Win95, Win NT 4.0, Win98, WinME, Win 2K, Win XP came out. We're talking 2 different architectures (for some kind of operations at least), and some new features to implement at each version.

      Also, the list of authors currently lists 557 different people (contributions vary from a one-liner to a complete architecture overhaul). The number of currently active developpers is of course way smaller, more along the lines of 30-50. Of those, the vast majority do it in their spare time. So a long development period is not an indication of a failure, since if it was nobody would work on it anymore.

      The test cases (called conformance tests) try to verify that what Wine implements reacts the same way in Windows. Depending on the purpose of a test, it can be trivial or not, implemented in Wine or not yet. A whole lot of dlls don't have any test written for them yet, so yes, we need more test cases.

    2. Re:1.0 ? by Anonymous Coward · · Score: 1, Funny

      Wine's not done until Lotus won't run?

    3. Re:1.0 ? by wolverine1999 · · Score: 2, Informative

      I managed to get Virtualdub to run but it did not work correctly. Hope they fix this. I hope they get some applications like Tmpgenc to work too.

    4. Re:1.0 ? by IamTheRealMike · · Score: 2, Informative
      I'm curious, what exactly will the "milestone" of version 1.0 of Wine actually mean ?

      It's mostly purely technical targets, for instance the wineserver protocol will be frozen, which means that (I think) you can build WineLib apps and upgrade Wine and they won't break. There are a few other targets, mostly esotoric.

      Wine 0.9 is far more interesting, and will hopefully come out in the last part of 2003. It's focussed on being easy to use and setup.

      A lot of problems people have with Wine are usually related to it being badly setup. Partly that's our fault, Wine isn't especially easy to setup right, and because it releases every month, distro packages are often out of date (and now redhat doesn't even ship it anymore). After being increasingly frustrated with Wine, I tried CrossOver (a slightly hacked up version of wine designed to be easy to use), and it worked so well I was blown away. Installing IE6 in Wine is a distinctly wierd experience :)

      Anyway, I've been using WineHQ wine for quite some time now, but hopefully along with proper setups (DON'T use your pre-existing windows installation etc) Wine will get a much better reputation.

  33. This is non-news. by Doomrat · · Score: 4, Insightful

    Visual C++ doesn't do anything weird regarding Windows API. The IDE is a normal affair, and the compiler could be run without a user interface. It's really not testing Wine to it's limitations and the irony of situation is barely worth commenting on. This is non-news, the only thing this article achieves is to make Slashdot look like the anti-MS geeks with limited social awareness. Some things just aren't worth giggling at.

    I don't even need to look at the poster to know that this is the work of micheal...

    1. Re:This is non-news. by IamTheRealMike · · Score: 1
      Visual C++ doesn't do anything weird regarding Windows API.

      I'm afraid a lot of programs, even seemingly trivial shareware apps, do wierd things regarding the Win32 API. It's not uncommon to find apps passing corrupted or bad data into the APIs, missing out vital calls, abusing COM/ActiveX etc.

      For instance, look at RhymBox, a simple free chat app for Windows. Looks fairly innocent doesn't it? But this program is an IE DHTML application embedded using the WebBrowser control into an ATL C++ container. Hmmm.

      In particular Microsoft apps have a greater tendancy than most to take shortcuts, or use badly defined behaviours of the API. Just because it looks simple, doesn't mean it actually is. When you've done some Wine debugging, maybe you'll rethink those assertions.

    2. Re:This is non-news. by JonK · · Score: 1
      Out of interest, how does component reuse come under the heading of "wierd things regarding the API". It looks to me like the developer of RhymBox (your example above) is doing precisely what he or she should: using pre-provided functionality rather than rolling his or her own DHTML renderer.

      Not that I'm denying that many developers write (or at least used to write) apps which play fast and loose with the Win32 API - hell, the amount of code which plain wouldn't run on NT is indicative enough of that - but I don't think your example's particularly relevant.

      (Disclaimer: I am in no way associated with anyone having anything to do with RhymBox, although I do use both COM and messaging applications :-))

      --
      Cheers

      Jon
    3. Re:This is non-news. by IamTheRealMike · · Score: 1
      Well, it looks just like a native app, so the fact that it uses IE to render its GUI is a tad unusual. OK, so "wierd" was the wrong word, perhaps "complex".

      As an aside, IE is the king of undocumented usages of the API, so it kind of filters through.

  34. Re:WHY A TROLL? by Anonymous Coward · · Score: 0

    I wrote the parent to this message, and i asked a serious question about the grandparent to this post, which was not me.

    Why why why do you dislike Russians?

  35. Where then... by Anonymous Coward · · Score: 0

    ...does this "gay faggot shit" belong?

    In your pr0n directory?

  36. Bullshit by 0x0d0a · · Score: 3, Informative

    Use the Intel compilers, your code will be 50-300% faster.

    50-300%? You're nuts. I've used both, and performance definitely varies...and if I had to choose one or the other as "generally producing faster code", I'd probably point at gcc.

    Take a look at these benchmarks.

    Gcc produces fastest code on 26 of the tests, icc on 9.

    Furthermore, not all the optimization flags for gcc were being used (no idea why -fexpensive-optimizations wasn't used).

    1. Re:Bullshit by Ramadog · · Score: 2, Informative
      Furthermore, not all the optimization flags for gcc were being used (no idea why -fexpensive-optimizations wasn't used).

      With gcc when using -O2 and up -fexpensive-optimzations is automatically turned on

      Try using gcc -v -Q -O2 a.c to see what options are turned on. The file a.c has to exist.

    2. Re:Bullshit by bm_luethke · · Score: 4, Interesting

      Not neccessarily the most fair test. First the test were ran on an athlon system. Intel compilers optimized mostly based on the Intel architecture.

      For example, we ran several benchmarks at work on three computers with gcc 3.1 and the intel compilers. Basically gcc and intel were fairly equal on the pIII xeons (intel had the edge). Gcc was somewhat faster on the athlon 700, and the intel compilers blew gcc away on our p4 2.4 ghz.

      So what conclusions can you make? neither intel or gcc are better than the other. As we expected it depends on several factors - one of the main is hardware (wow, who woulda thunk hardware affects optimization :) ). In fact on the P4's with multi-threaded floating point operations we saw well over 300%, none of the tests were worse than 100% faster. On the athlon Gcc was slightly better except in one case were it was signifigantly faster. Eventually we found that gcc 2.x or 3.x does not have good p4 optimization yet (we asked on the devel lists trying to get better numbers as we didn't want to pay for the intel compilers). Of course this was about 6-10 months ago so they could have gotten optimizations in by now.

      If I had to choose one or the other as "generally producing faster code" I would ask "what hardware are we talking about". And that GREATLY influences the answer.

      --
      ------- Sorry about the spelling, I suffer from two problems. Dyslexia makes it difficult to spell well, lazy makes it
    3. Re:Bullshit by 0x0d0a · · Score: 1

      Huh, you're right. Thanks. I'm pretty sure didn't at one point, since I remember writing test code and going through the assembly to see how smart gcc was. The following contruct needed -fexpensive-optimizations:

      if (a < 2)
      {
      if (a < 3) foo
      else bar;
      }
      baz;
      }

    4. Re:Bullshit by abdulla · · Score: 1

      The fact is that the safest bet would be to choose GCC, and this will probably be even more true as time goes on, the best thing for probably both Intel and AMD would be to dedicate engineers to GCC to target there platforms specifically, this could be said for many other CPU developers as well.

    5. Re:Bullshit by bm_luethke · · Score: 2, Interesting

      no, the safest bet is to optimize around intel. A large portion of machines are intel. The numbers show that a programed optimised for an intel run pretty good in athlon, athlon optimized run crappy on intel. Gcc will only optimize for PIII's and below well. P4 optimizations also run pretty good (that is close to the optimized veriosn for them) on pIII's and below and athlons. Thus the safest "bet" would be to optimize around the P4 (as pIII vs p4 optimizations may make only 5-10% on a pIII/athlon but 100-300% on a p4 this is even more true).

      Should the gcc people optimize well for the p4 (and they will) then I will say the bet goes back with them. Of course this is assuming that the only thing to worry about is speed of generated code (which in many cases is not the most important).

      --
      ------- Sorry about the spelling, I suffer from two problems. Dyslexia makes it difficult to spell well, lazy makes it
    6. Re:Bullshit by Anonymous Coward · · Score: 1, Interesting

      The GCC developers are on it already.

      Now, is it really surprising that a third party compiler is not as upto date as a compiler from the CPU manufacturer?

    7. Re:Bullshit by bm_luethke · · Score: 1

      hmm? no - it's not surprising. But OTOH I will not use an inferior product becuase "they are working on it" (and I also thought I was relativly clear I did not blame the developers of gcc, I said they will get it done in time and they will - they have a very good product that beats many of the commercial products out there). Nor will I pretend they have better performance than what they do. Nor will I allow a misinformed post to go unanswered. That is one of the great strengths of Open source - community feedback is used. Once they get it done - i realise it is not easy - I will be EXTREMELY happy to use it (and I have donated money to projects such as this from time to time). I think I made that clear with my posts - and if not, I do now.

      --
      ------- Sorry about the spelling, I suffer from two problems. Dyslexia makes it difficult to spell well, lazy makes it
  37. Here's some /. specific HOSTS entries by Anonymous Coward · · Score: 0, Offtopic

    ad.doubleclick.net
    ad2.doubleclick.net
    ln.double click.net
    m.doubleclick.net
    m2.doubleclick.net
    images.slashdot.org
    images2.slashdot.org
    pagead. googlesyndication.com

  38. Even a man who's pure of heart by YellowSnow · · Score: 5, Funny

    and uses the preview right
    can turn to a troll
    when the typos roll
    and the bottle is empty and light

  39. This sounds really lame. by NynexNinja · · Score: 2, Interesting

    Next you will have some moron compiling under vmware or bochs or plex86. If you don't care about the abstraction or the 60% degradation in performance, and the fact that you have to rewrite all your make files to use vc++ nmake, this is for you. Its a convoluted mess IMHO. Using cross gcc for win32 on linux is a much cleaner way of doing this.

    1. Re:This sounds really lame. by Anonymous Coward · · Score: 0

      haha, you're just plain wrong.

      I use VMware every day for doing cross platform work. Yes, I compile in Windows using the Microsoft IDE under VMware. Maybe you haven't actually used VMware, I don't know, but the performance is damn near what it is when running natively (especially when using a real Windows partition for the filesystem).

      And I can test my application under the environment where it will be used. I'm not limited to just Linux or a particular flavor of Windows either. I can test under any of the *BSD's, or Solaris for Intel, Win3.1, Win95/98, 2000, XP, and the rest.

      You can't do that cross-compiling from GCC under Linux (or whatever OS you're using). You will still need to test under the real environment where it will be run. Testing and cross-compiling is a PITA for non-trival applications (especially if you have a GUI to deal with).

      I find creating a new MSVC++ project much easier than creating makefiles (who uses makefiles anyway?). I often will create my project on a UNIX-like system first, then create the MS project later, it's very easy even with large projects. Makefiles suck, instead I usually use a cons-like system (SCONS) or, if I have to, the Jam stuff.

      VMware really is that good, maybe you should try it.

  40. Or if your using Gecko by bogie · · Score: 3, Informative

    usercontent.css

    *[src*='ads.'],
    *[src*='/ad/'] ,
    *[src*='/ads/'],
    *[src*='/Ads/'],
    *[src*='dou bleclick'],
    *[src*='us.a1.yimg.com'],
    *[src*='ad vertis'],
    img[src^='http://images.slashdot.org/ba nner/'] {
    display: none !important;
    }

    You can add whatever else you want there as well. Things like

    /* this hides the usual 468x60 Flash banner ads */
    embed[type="application/x-shockwave-flash"][wi dth="468"][height="60"] {
    display: none !important;
    visibility: hidden !important;
    }
    /* this hides the not so usual but very annoying 728x90 Flash banner ads */
    embed[type="application/x-shockwave-flash"][wi dth="728"][height="90"] {
    display: none !important;
    visibility: hidden !important;
    }

    --
    If you wanna get rich, you know that payback is a bitch
    1. Re:Or if your using Gecko by wolverine1999 · · Score: 1

      How do you use this with Phoenix (stripped down version of Mozilla)?

    2. Re:Or if your using Gecko by trezor · · Score: 2, Informative

      Or just a browser supporting CSS and user-css in genereal.

      No need for a gecko, when a Viking will do :)

      --
      Not Buzzword 2.0 compliant. Please speak english.
    3. Re:Or if your using Gecko by Nate+B. · · Score: 1

      Good info.

      Now how about some info on blocking those annoying Java ads that start all the Java VM processes and leaves them running? Few things are more annoying. I even tried to file a bug against Mozilla in regards to this, but was basically told it wasn't an important issue.

      --

      "Insanity is doing the same thing over again expecting a different result."
  41. wine is getting good.. by Anonymous Coward · · Score: 0

    I can run more windows apps flawlessly now...
    now I'll have no reason for the need of windows...

    even though I dumped windows off my HDD 6 months ago.

  42. A double dumbass to you. by Anonymous Coward · · Score: 0

    You running an OS on an emulated machine. You are still not running the OS as it actually runs on the machine.

    1. Re:A double dumbass to you. by mabinogi · · Score: 1

      If My application is not talking directly to the hardware, then coming across VMware specific behaviour is no different to coming across VIA specific issues, or Penitum IV specific issues, etc...

      --
      Advanced users are users too!
  43. Obviously you skipped the Wine by kfg · · Score: 1

    and went straight for the LSD.

    And they *warned* you the brown acid was bad.

    KFG

  44. License Violation? by Anonymous Coward · · Score: 0


    Pardon my poor memory, but didn't I read recently that the Visual Studio license specifically forbids developing anything that will be released as free software?

    If I remembered correctly, then this is an entirely fruitless endeavor...

    1. Re:License Violation? by Jimithing+DMB · · Score: 2, Interesting

      Oh please. Yeah, let's all cower in fear of Microsoft. Let's stop what we're doing because Microsoft might not like it. Let's always worry about being sued.

      It might be a very real possibility, but it's one you should never worry about, just be aware of. It's as bad as terrorism, it only works if the target becomes terrified.

    2. Re:License Violation? by Anonymous Coward · · Score: 0


      FABULOUS!

      You've just explained how we can use the Patriot Act to invalidate End User License Agreements!

      I'm with you dude, but you first.

    3. Re:License Violation? by Anonymous Coward · · Score: 0


      I was going to hold this reply, but you're getting modded up, so.....

      Oh please. Yeah, let's all cower in fear of Microsoft. Let's stop what we're doing because Microsoft might not like it. Let's always worry about being sued.

      Oh please. Yeah, let's all cower in fear of the Free Software Licenses. Let's stop including free code in our commercial products because the free software community might not like it. Let's always worry about being sued.

      If you want to say that one liscense agreement should apply, while the other should not, I think you need to provide more basis for that argument than a bad attitude.

    4. Re:License Violation? by Jimithing+DMB · · Score: 1

      Actually. I agree with your statement about free software. You are the one who didn't apply my statement to free software as well as proprietary. I, on the other hand, am fair and applied it to everybody.

      No one should get sued because they included a one liner from a a GPL program. And so far, the cases have been ones where there was a clear usage of a serious portion of code. I don't think the FSF intends to go after every little person, nor do I think it would be beneficial to their cause.

      I do however think that gross violators of the GPL should be prosecuted, and likewise I feel that gross violators of any real (upholdable by law) license terms should be prosecuted. It rarely does any good to sweat the small stuff.

      Whether you realize it or not, your argument that we should all be afraid of including even a snippet of GPL code is a classic FUD tactic because it attempts to make people afraid of working with GPL software.

    5. Re:License Violation? by Jimithing+DMB · · Score: 1

      :-)

      In all seriousness, every group uses scare tactics. Some are more prevalent than others. For instance, terrorism is by definition all about scare tactics. The mob also uses scare tactics. And in this case, we're talking about large corporations using scare tactics.

      Scare tactics are nothing new. It's helpful to recognize where scare tactics are used so that you do not fall victim to them. For instance, we live in this supposedly "sue happy" country. In reality the "sue happy USA" is a scare tactic used by those with money and power to make those without submit to their wishes. By modifying your behavior to avoid doing things which are not illegal, but which somebody might not like, you are inviting that somebody to run your life.

      Fortunately, it is still possible in this country that once you understand the above, you rise above it and then you become the person with money and power. What you choose to do with it is then entirely up to you.

  45. I mean for others by www.sorehands.com · · Score: 1

    Of course all my code runs right the first time. I was thinking of everybody elses code.

  46. GNU/WINE?!?! by Arandir · · Score: 2, Insightful

    What the fsck is "GNU/WINE"! Aaargh! It's one thing to give RMS some credit, but this reeks of puerile toadying in an effort to look sophisticated in front of other juvenile sycophants.

    Repeat after me, "WINE is not a GNU project!"

    --
    A Government Is a Body of People, Usually Notably Ungoverned
    1. Re:GNU/WINE?!?! by cant_get_a_good_nick · · Score: 1

      Yes, but now RMS is a Windows project (Google Cache). Will it now be Windows/RMS/GNU/Linux?

  47. So you're saying my vi clone. . . by kfg · · Score: 1

    that needs 128MB of RAM and a 3ghz Itanium just to load in under 5 minutes is Bad Thing?

    Damn, back to my ed clone I guess. I think I can get that to run under your specs if I leave out the SETI@home easter egg.

    KFG

    1. Re:So you're saying my vi clone. . . by bofkentucky · · Score: 4, Funny

      what is your project's name...emacs *ducks for asbestos-lined safe room*

      --
      09f911029d74e35bd84156c5635688c0
    2. Re:So you're saying my vi clone. . . by kfg · · Score: 1

      Ooooooo, cheap shot. :)

      KFG

    3. Re:So you're saying my vi clone. . . by videodriverguy · · Score: 1

      Somehow the words 'safe' and 'asbestos-lined' in the same sentence don't seem to fit together.

    4. Re:So you're saying my vi clone. . . by bofkentucky · · Score: 1

      As long as it doesn't get to your lungs, you are pretty safe, which is why I can't figure out why people can work in offices while removal is ongoing, or in my case, attend school during it.

      --
      09f911029d74e35bd84156c5635688c0
  48. I do this with a DSP compiler by statusbar · · Score: 2, Interesting

    The Texas Instruments Code Composer Studio for the TMS 6701 DSP is only available for windows. For this project everything else is compiled for Linux-386 as well as embedded Linux-PPC.

    Running the command line tools under wine works fine, and now I am able to have one intel linux box compile all the DSP and PPC firmware as well as the Linux GUI code in a cron job from the daily cvs snapshots.

    Doing this has made things SO much nicer. I would prefer if TI had a linux version of their DSP compiler, and will continue to pester them for one, but in the meantime WINE saves the day and allows me to NOT run windows for weeks on end!

    My Win2000 anti-uptime is around 3 weeks now. I am weaning myself off windows!

    Running command line tools like compilers is one of the EASIEST things for WINE to do - All they have to do is read and write files and allocate memory.

    Biggest hassle for me: having to make special sed scripts to deal with mixed case file names in the auto-generated makefile dependency list that are incorrect since the compiler assumes case insensitive filesystems.

    --jeff++

    --
    ipv6 is my vpn
  49. Remember, kids! by Tuxinatorium · · Score: 0, Redundant

    Never drink & compile.

  50. Hic by motox · · Score: 1

    I did it shometaimes and man it worksh great !

  51. weird... by dolson · · Score: 5, Funny
    You don't need Wine if you know what you're doing...
    dana@digory:battlepong$ make
    g++ `sdl-config --cflags` -c sound.cpp
    g++ `sdl-config --cflags` -c collide.cpp
    g++ `sdl-config --cflags` -c ball.cpp
    g++ `sdl-config --cflags` -c game.cpp
    g++ `sdl-config --cflags` -c menu.cpp
    g++ `sdl-config --cflags` -c player.cpp
    g++ `sdl-config --cflags` -c randgen.cpp
    g++ `sdl-config --cflags` -c init.cpp
    g++ `sdl-config --cflags` -c main.cpp
    g++ `sdl-config --cflags` sound.o collide.o ball.o game.o menu.o player.o randgen.o init.o main.o -o bpong -lm `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
    dana@digory:battlepong$ file bpong
    bpong: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped
    dana@digory:battlepong$ make clean
    rm -rf *.o bpong
    dana@digory:battlepong$ sh cross-make.sh
    g++ `sdl-config --cflags` -c sound.cpp
    g++ `sdl-config --cflags` -c collide.cpp
    g++ `sdl-config --cflags` -c ball.cpp
    g++ `sdl-config --cflags` -c game.cpp
    g++ `sdl-config --cflags` -c menu.cpp
    g++ `sdl-config --cflags` -c player.cpp
    g++ `sdl-config --cflags` -c randgen.cpp
    g++ `sdl-config --cflags` -c init.cpp
    g++ `sdl-config --cflags` -c main.cpp
    g++ `sdl-config --cflags` sound.o collide.o ball.o game.o menu.o player.o randgen.o init.o main.o -o bpong -lm `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
    dana@digory:battlepong$ file bpong
    bpong: MS Windows PE Intel 80386 GUI executable not relocatable
    It's MAGIC.
    1. Re:weird... by aCC · · Score: 1

      Read the introduction: "[...] This article is different because I used MS's own compiler! [...]"

    2. Re:weird... by dolson · · Score: 1

      Yeah, now let me ask you, aCC, WHY would you WANT to use Microsoft's compiler in Linux if you don't need to? What does it cost? Is it worth it to pay all that money to do something you can easily do already? Seems like a stupid and pointless thing to me.

    3. Re:weird... by aCC · · Score: 1

      Using MS' compiler has - under very special circumstances! - some advantages, e.g. if you already have code that was written for it and you also have paid for the compiler. You can maintain that code under Linux then without needing a Windows machine.

      I wouldn't do it and I especially didn't think it was worthy news, but your comment missed the point in this case.

    4. Re:weird... by dolson · · Score: 1

      My comment didn't miss the point... The point was how great Wine is... I've run Visual C++ under Wine before. Whoopdedo. I guess I'll submit a news story about how I can now continue work on text files I wrote in Notepad all thanks to Wine. I mean, I could convert those files over to a format for Gedit or nano, but what's the point when you can use Notepad now under Wine!

  52. Hurd? by marcovje · · Score: 1


    He keeps talking about this GNU OS thingy. Does Wine run on the Hurd already?

  53. Why? by Anonymous Coward · · Score: 0

    He wants to port a game to PS2 Linux, but why does he need to build a Windows version? All that time wasted, for nothing...

    1. Re:why? by Doomrat · · Score: 1

      Calm down, nutjob.

      I didn't say it's a non-achievement, I just said that I thought it wasn't newsworthy. Maybe I was wrong to say that MSVCPP doesn't use strange API, but still I believe that there is nothing particularly spectacular about the program. I really feel that this sort of thing is only posted on Slashdot because of the Microsoft connection. It's not like the editors don't have a reputation for being sad zealots.

      Clearly there are two schools of thought on the matter, shown by the people who have replied to my post in anger, and the people who have modded it up. If you can't handle an opinion without having to swear (and indicating your accent by dropping the G off the end of "fucking" makes you seem oh-so-more dangerous on the Internet!) and call names like a pathetic moron, then just don't bother. I appreciate the other replies I had, but yours was just laughable.

  54. Running nmake in normal window by Anonymous Coward · · Score: 0

    Just make a shell script in ~/bin that
    runs wine on whatever command you want to
    access from Linux. I do it all the time.
    You might need the following patch if the
    command you're running is a batch file,
    and you want to pass /options as arguments:

    http://www.winehq.com/hypermail/wine-patches/200 3/ 02/0181.html

  55. heh... wine... by doooras · · Score: 2, Funny

    i prefer to compile under rum

    *hic*

  56. Re:ads - I dont see em :) by DancingSword · · Score: 1

    or, kill 'em ALL off, with the addendum to HOSTS at...

    http://www.smartin-designs.com/

    ( ads, tracker-sleazers, etc, all of 'em, and it speeds-up one's browsing, too. )

    --
    Messages to/for me ( in me journal )
  57. Re:I hope you PAID for the VC++ compiler by cdn-programmer · · Score: 3, Interesting

    I paid for lots of operating systems too. I have 2 versions of OS/2, 2 versions of DOS, windows 95 and 98, 3 copies of NT 4.0 and a copy of 3.51 and a copy of w2k that I got stuck with because it didn't work and I had to refund the client's money. Microsoft would not refund what I paid them. Microsoft would not allow me to either return or exchange the unopened copies of Windows NT 4.0 either. I was a Microsoft dealer at the time and bought a 3 pack - which was about a month before w2k was announced. So I got stuck... then stuck again with w2k.

    I have only one computer that runs windows NT so only one of these operating systems is in use.

    I have red hat linux 6.1 server edition, OpenBSD 3.0 and Mandrake 8.1. I paid for all these too even though they are free.

    Now, my desktop runs Debian and it is just great and I did a net install. Guess what, I don't know how to upgrade that RH 6.1 machine. Sure I can reformat the hard drive - but it contains a LOT of my work and I don't want to lose it. With Debian, an upgrade is easy.

    In addition to this I bought 2 copies of Brief and I can't use it even though it is my favorite editor. I did a trial d/l of CRiSP and it is a wonderful editor, fully Brief compatible. I contacted them about licencing. I run 8 machines in my home and am a member of the local Unix users group and do consulting work. The CRiSP people told me I would need a "Licence Manager"! I decided to learn Emacs. It has a CRiSP mode and is looking better every day.

    I bought 3 versions of M$ FTN and copies of M$ C as well. The last version of M$ FTN was such a botch that I could not use it. I have the Borland OS/2 C/C++ compiler. It was so broken I didn't use it.... but I paid for it. I have Borland C++ professional builder 4. I want to do C/C++ cross platform development.

    I phoned Borland. I think they told me that I can buy Delphi for Linux. I think they told me that the language is supported on both platforms but that the API is different. The person on the other end of the phone didn't seem too knowledgable. So I am going into wxWIndows or gtk because these people actually SAY they are cross platform. Thus, I do not have any C++ builder code and didn't get my money's worth.

    I have 4 versions of Oracle - paid for by the taxpayer (because I am one of their developers). The DOS versions were so bad we couldn't use them on that platform. The OS/2 versions were better but still not good enouf. It is not possible to install 8i for red hat 6.1 (even though that is the version oracle says 8I is for) unless you CAN STAND ON YOUR HEAD and read the paper What you need to knwo before you even THINK of installing oracle 8i . Imagine having to backdate the glibC and install an old version of Java from blackstrap just so you can get the installer to work. Why couldn't Oracle have put their developers into a room with 2 cd sets. One set - an off the shelf shrink wrapped copy of Red Hat 6.1, and the other set - a copy of the 8i source tree. And then make sure they don't have INTERNET access so they can't cheat and create a version that you can't install. Leave them there until they solve the problem or rot to death trying!!! Damit. I have lost MONTHS of my life solving other people's problems.

    Guess what, I am porting the client's apps over to PostgreSQL. See ya Oracle!!! Goodbye!

    So, of all the software I bought most of it did the job for a precious short time or didn't do the job at all - with the exception of Brief - which was just excellent. And what happened to Brief? Borland bought the rights, put it on the shelf and AFAIK I can't buy it any more.

    So frankly I really don't care if that copy of VB ++ was paid for. Even if it wasn't, I do not feel M$ was ripped off . I feel I was ripped off.

    I have been ripped off Over and Over and Over because I bought these products in good faith and paid for them with my hard earned money. Now I can't use them. Some never did what they were advertised to do. Others were discontinued and I lost out.

    Let me tell you about the 2nd last copy of M$ FTN that I purchased. I found a bug where the conpiler just eliminated an "IF" statement. No errors, no warnings, and no machine instructions either. I filed a bug report with M$ with sample code. Months went by. I re-filed the bug. Months went by. Finally I phoned them and sat on wait for like an hour - and paid for this too. The rep told me the bug was fixed in the new version. So I bought it.

    When the new version arrived I tried out the sample code from the bug report. The problem was still there. Oh, and the last version I bought couldn't be used it was so bad. The client dropped PC development ideas and switched to SUN.

    What the Open Source movment has done is a refreshing breath of fresh air and IMHO it is the ONLY way that the programmers of the future are going to stand any chance of avoiding the endentured servant trap that closed source software creates. Anyone questioning this should realise that in order to use closed source software they have to agree to the licence terms and these are arbitrary and non-negotiable. If you find the terms unacceptable then you can't be a programmer. That is unless you can find the tools and the infrastructure you need elsewhere.

    Well, we programmers are being attacked another way now.... patent law. If this gets too well established we won't be allowed to be independant. We'll have to work for a big company that has managed to negotiate cross licensing. Either that or pay the piper each time we want to go to the can.

    Water flows down hill and the infrasructure required to build some of the closed source tools, like Windows NT/2K/XP, or Oracle or JAVA or say a compiler suite like Visual C++ or Borland Professional Builder is so great that it looks like an ocean. Oceans are hard to move. Oceans are also hard to re-create. There is no way that any company could recreate from scratch an operating system like XP. The environment that XP grew out of no longer exists. IBM tried and failed.

    Over the years all computer companies with the exception of perhaps IBM,HP,M$ have failed. Who here thinks Microsoft will survive into the year 2050? Gates won't be in charge then. Who here thinks that another company is going to loom up that can invest the BILLIONS in infrastructure required to create an alternative?

    The future of software has to be opensource because that is the only way for us programmers to ensure that we will have the tools we need and the right to use them.

    If I add up the THOUSANDS I have spent on software over the years it illustrates to me that I should have been looking for better solutions a long time ago.

  58. BZZZZT! by Anonymous Coward · · Score: 1, Funny
    ...plus blow our competiters out of the water...

    The U.S. Government already blows its competitors out of the water.

  59. Bad Compile Performance by Anonymous Coward · · Score: 0

    Wine is a very bad platform for compiling because everytime a file is opened in the current wine architecture there are at least two context switches and the CPU caches also get flushed. This is because of Wine's client/server approach. I love client/server architectures, but having synchronous requests and or task switches in performance critical paths are a no-go.

    When compiling big projects there are many thousands of files to open. Especially those header files add up quickly. Even when the latency penalty is only a couple of hundred usecs this is very noticable. When also the CPU cache got flushed things get very bad. In my experiments only about 15% of the CPU time were available for the real compile work, the rest were soft page faults and task switches.

    There was work to fix this situation but this
    was shot down before it got very far.

  60. why use nmake.exe? by Anonymous Coward · · Score: 0

    Why are you still using nmake.exe and make files with MSVC?

    If you're using .dsp files anywhere - and it sounds like you are since others are using MSVC to work on the project - nmake.exe and .mak files are pretty much obsolete with Microsoft Visual C++.

    FYI, .dsp files are the equivalent of a project makefile, but generated by the GUI. They also happen to be perfectly maintainable in a text editor - but it's probably not a format you're used to.

    Do yourself a favor and see if you can use the modern replacement. It's a command line similar to the following:

    msdev project.dsp /MAKE "Win32 - Release"

    That will build the project directly from the command line, without mucking about exporting a .mak makefile from the GUI.

    Your needs may vary, but it may save some time maintaining one only one rule file for win32, rather than a .dsp for native Windows developers, and a .mak file for you.

  61. SCORE 5 : WORDY. by Anonymous Coward · · Score: 1, Funny

    Thanks for letting us know that you can't install Oracle 8i on Redhat 6.1.

    1. Re:SCORE 5 : WORDY. by cdn-programmer · · Score: 1, Offtopic

      Well, even if its wordy, you did read it. For your information I CAN install oracle 8i in Red Hat 6.1. I have done it and dropped it because there were other problems. But it was not easy and you need a paid for tech support contract to do it - which I have.

      On the other hand postgreSQL installed perfectly. Futhermore I haven't encountered any problems yet that require tech support. Go figure.

      You don't need tech support for stuff that works you know. So how big is Oracle's tech support group?

      To be frank, I think you missed the point. You can spend huge amounts of money on closed source software, and when you are done you will be owned by it. You will be owned because you need to walk away from your investment and your experiance and start all over unless you pay for the next upgrade.

      So when you get to be say 45 years old how will you feel about having walked away from most of the work you did in your career and most of your experiance because this work is locked into closed source that a) no longer exists or b) has new licencing provisions that you can't live with or c) fell into disuse because the company that owns it went bankrupt or d) became obsolete because it wasn't maintained... just milked..? Should I go on?

      How do you feel about paying a tech support contract for a product where the vendor has not allocated a single person for maintenance? And your company is investing over a million bux for development?

  62. Debugging by EnglishTim · · Score: 1

    But how do you debug? You're going to require a Windows box to test/debug the excecutable on anyway...

    1. Re:Debugging by now3djp · · Score: 1

      The video game is developed/tested/debugged on my GNU/Linux computer. When complete, the PS2Linux and MS-Windows versions are compiled and also tested for hardware deps/performance etc

      The video game has a debug mode to log errors, if this did not detect a platform specific problem on MS-Windows we would use MS VC++ debugger, as we installed it with the compiler. However, as of yet we have not had to do this, as the game is SDL safe; all game specific testing is done on GNU/Linux.

      Cheers

      JG

  63. Me talk pretty one day... by Anonymous Coward · · Score: 0
    No, that's the evolution of dumbasses...


    That's what you get when "dumbasses" evolve? What do you mean?

    ...who can't be bothered learning how to use English properly.

    ...who can't be bothered to learn how to use English properly.


    Better yet, how about: "...who can't be bothered to learn English."

  64. mod this up by cdn-programmer · · Score: 1

    This is funny

  65. Linux? by Hamsterdam+Vallon · · Score: 1

    This article got me thinking about the application of emulating a GNU/Linux compiler, like cc, under the windows XP OS. The cigwin project is advanced enough for that I think. It would open a whole world to windows developers who thought about porting to linux. This way you don't need to maintain a complicated GNU/Linux computer.

    This is not a troll or flamebait, just suggesting the best tool for the best job.

    BSD, Linux, OS X, & Solaris folks should read and blog at *nix.org

    --
    Please write to John Mayer and Nora Jones and advise them to lay off the ciggies for a bit.
  66. Re:WHY A TROLL? by Anonymous Coward · · Score: 0

    You misunderstand. Slashdot IS Soviet Russia. The moderators are like the KGB - any dissidents, and BANG they are moderated invisible.

  67. Actually by Sycraft-fu · · Score: 2, Insightful

    I think if you are serious about cross platform development, you need to have a native install of all the platforms you intent to port to. Either multi-boot or seperate boxes. Why? Well amy emulator, WINE espically but even VMWare, has certian quirks and differences that native hardware does not. You need to test it as it will be run to be sure. Also, if you are using any advanced 3d function, the emulators are going to fall flat on their faces.

    If I were really serious about a commercial cross platform release, say Windows and Linux I think I would want a ton of testing. I'd probably want at least 3 different systems, all tht had a copy of Windows 98, ME, 2k, and XP plus at least 3 big Linux distros. While in theory something complied for any hardware under any verison of Windows should work on any other, it's just not the case. Same for Linux. You want to test for the little "gotchas" if you want to make sure you have a really stable software.

    1. Re:Actually by Sneftel · · Score: 1

      It would certainly reveal that the repaint code was taking a large amount of time to execute, if in fact the repaint code took a large amount of time to execute. And if it didn't, then why bother optimizing it in the first place?

      --
      The opinions stated herein do not necessarily represent those of anybody at all. Deal with it.
    2. Re:Actually by www.sorehands.com · · Score: 1
      It was not the repaint code. The repaint code was being called twice.


      I am not saying that profiling is bad. Profiling is only one method of many to use.


      The best way is to use the force.

  68. Warning: crack-smoking moderator by Anonymous Coward · · Score: 0

    How in the world did a post of direct relevance get marked "Offtopic"? I mean, he freakin' gave an answer to the question implied by the article, unlike most of the "Score 5"'s.

    I metamod religiously, and as recently as six months ago I'd generally metamod negatively in one case out of a hundred. Now I find myself nailing a bad mod or two almost every time, about one case in seven or eight. And it's getting worse. I think moderation is in an advance state of collapse, with no incremental fix likely to rescue it.

    1. Re:Warning: crack-smoking moderator by njchick · · Score: 1

      Maybe it's not offtopic, but still wrong because this thread is about VMWare, not Wine.

    2. Re:Warning: crack-smoking moderator by Jimithing+DMB · · Score: 1

      Yeah, except for the fact that the post I was replying to specifically was talking about the differences between Winelib and real Windows (under something such as VMware).

      So actually, it had direct relevance to the parent post as well as direct relevance to the topic at hand.

      This message on the other hand, has absolutely nothing to do with the topic, but I wanted to thank the anonymous coward for coming to my defense, and point out that you and whoever moderated the message offtopic were the ones who apparently can't read.

      I am posting this with karma bonus turned off so that it doesn't make it's way to the top of the discusson needlessly. Maybe I should just stop posting to Slashdot altogether. I held out for years believing, but apparently there's just as many morons who read Slashdot as there are in the real world. Quite a sad picture for a site that should be for the geekiest of geeks.

  69. that statement no less valid for OS/2 by DABANSHEE · · Score: 1

    Proving that OS/2's Win16 capability was no trojan horse, because W95 was exactly the same in that regard.

  70. Redundant Comment by Anonymous Coward · · Score: 0

    Modify the parent redundant

    1. Re:Redundant Comment by Anonymous Coward · · Score: 0

      Modify the parent redundant

      don't quite get that. If you check the time signatures, you see that it was posted first, so it can't actually BE redunant. I understand what you are saying in THEORY, too many of the same comment, but it wasn't redundant when it was posted.

  71. Hotmail uses Visual C++ by Anonymous Coward · · Score: 0

    Before Microsoft, Hotmail used Visual C++ to write programs for their servers that ran on FreeBSD. Visual C++ had a great debugger. I have YET to see a debugger on UNIX that comes close to Visual C++.

  72. When dreamweaver works by Anonymous Coward · · Score: 0

    I'll rejoice.

  73. Dosemu 1.0 by tbspit · · Score: 2, Funny

    When Dosemu reached 1.0, usage of DOS had become very low. So let us hope for a Wine 1.0 soon:)

  74. Re:ads - I dont see em :) by 0x0d0a · · Score: 1

    I use squid on my machine with the sleezeball filter system, so that *all* my browsers are taken care of when I add a filter.

  75. Re:Awesome [Mod Parent Up} by waterbear · · Score: 1

    That looks like a pretty fundamental point, deserves higher score and visibility .....

  76. asshole... by Ender+Ryan · · Score: 1
    Are you sure you know what you're talking about? Just how the hell do you know what vc++ does regarding the Windows API? That's right, you probably don't. Do you?

    Furthermore, the point of the article is that this guy is now using Wine to do some real work, not that Wine has acheived some level of technical excellence that's meant to be impressive to YOU. There is one tiny blurb about how Wine has progressed.

    Does anyone know for how long Wine has been able to run vc++, and what was required to get it working?

    How bout you reimplement windows from the ground up before you start trolling about it.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
    1. Re:asshole... by Doomrat · · Score: 1

      Hello retard.

      I'm not saying it's not an achievement for the Wine team, I'm saying that using an emulator designed for emulating windows programs with the fairly non-spectacular Visaul C++ isn't news worthy. Maybe I'm wrong - in which case, I just used Vi to edit some text! I'd better get to submitting that...

  77. Don't use the main repository by Anonymous Coward · · Score: 0

    Right, he should not use the repository everyone else is using. It's really easy to make your own then switch your CVSROOT between the two. I generally always have my own cvs repository on my Unix home directory which serves out to other platforms.

    Of course, if that's not your cup of tea, you could just share the filesystem the cvs tree is on.

    The point is that copying around source trees causes more problems than it's worth.

    1. Re:Don't use the main repository by nobodyknowsimageek · · Score: 1

      My solution is much simpler. I use rdesktop to log into a terminal server, then mount my workarea from my Linux box (running Samba) and do the compile that way. In fact the other day I was forced to mount the CYGWIN tools from another machine, so that the only thing coming from the Windows server was VC++ itself. It was a little slow, but I usually test the Windows version last, so that cuts down on the iterations.

  78. I don't get it... by sayerofno · · Score: 1

    What's the point of compiling win apps and linux apps on the same machine?

    I develop windows apps for a living (hey...it's a living). Even in our 99% windows environment, I don't build _everything_ on my machine. We have an automated build environment. It's very simple to launch a little client app to trigger a build on a different machine. All of the source is checked out of source control, and then built. I wrote the "remote build" app myself so it was tailored to our companies use, but I would guess there are commercial/free utilities out there. If not, it ain't that hard to write a windows service that reads a file and executes command lines written in that file (which is what our remote build app does).

    If you're going to have to have native windows machines to test on anyway, why not just set up an environment where you can build your windows apps on a windows machine while still sitting at your linux machine?

    On the one hand, I think what was done was neat (sometimes just showing it can be done is worth while), but on the other hand, it doesn't sound like the most efficient way of doing things.

  79. Visual Studio 6 mostly works by Anonymous Coward · · Score: 0

    I managed to run Visual Studio 6 on Wine some time ago, so it is not impossible. I made a small MFC app, compiled it and ram. There were some problems with debugging though.
    Oh, installer doesn't work - I ran an exe from Windows partition.

  80. Nintendo by pommiekiwifruit · · Score: 1
    As slight counter-examples Nintendo, Sega, Sony ran that scheme and it works for them. Whereas anyone can develop for Windows but the software sells an order of magnitude less (I think by the time the PC had racked up its first million seller, Nintendo had had 70 titles break that mark). Cybiko and Symbian try to make things really easy for developers, but they still have difficulty fighting the appeal of a huge user-base.

    OTOH some people actually reverse engineered the NES (using an oscilloscope and disassembler) and wrote working games on it, but then they still had to show their game to Nintendo to get permission to continue developing.

  81. Safe performance by fizbin · · Score: 2, Insightful

    The safest bet is to not have your job depend on tweaking the last little bit of performance out of a customer's machine when you have only a vague idea of which platform they might be running on. Either improve your algorithms in the whole, or hide the slow performing code in a place where the user won't notice. (if possible)

    That said, another option is to isolate the performance-critical sections into chunks of code which get optimized separately and then have cpu-detection code choose the appropriate chunk at runtime. The debian atlas packages do something like this, though (AFAIR) they use hand-optimized assembly instead of just using compiler flags and/or different compilers. (and yes, you can have both the sse- and 3dnow-optimized packages installed on the same machine, and the code will load the appropriate shared library at runtime)

    Then, instead of standardizing on a compiler, you'll need to standardize on a build system that will let you compile the code as you need it compiled.

    1. Re:Safe performance by bm_luethke · · Score: 1

      well, I work in high performance computing (cluster computing more specifically). So squezing the last little bit out of the machines IS my job :)

      Of course, I know exactly what the hardware for my clusters is (if you can't guess, I ran an athlon cluster, a pIII xeon cluster, and a p4 - the afore mentioned machines the benchmarks were ran on). When one of a users job takes 4 days to run even a 5% speedup is signifigant (much more signifigant than a recompile). They also tend to try and optimize thier algorithm based on architecture and how the specific compiler optimizes code. For the ones that are good at it it's really neat stuff.

      I perfectly agree with what you are saying when it is about general purpose code. Unfortunatly (or fortunatly if, like me, you enjoy doing it) there are a handfull of jobs where this stuff becomes really important.

      --
      ------- Sorry about the spelling, I suffer from two problems. Dyslexia makes it difficult to spell well, lazy makes it
    2. Re:Safe performance by fizbin · · Score: 1

      Well, that seems like another argument for the strategy of splitting out the performance-critical portion of the code into modules that are then compiled several different times, targeted at different cpus, with cpu-detection code loading the appropriate version at runtime. Then your job could run across all three clusters at once if necessary, yet still enjoy the optimized goodness as though you knew what cluster it was running on ahead of time. Of course, the development time overhead of optimizing for all the different cluster types at once would probably only be worth it for components that were heavily re-used. (by that I mean the programmer time necessary to sort out the build system and cpu detection code to have the right thing happen automatically, not the recompile time)

      In fact, the reason that the Debian atlas (Automatically Tuned Linear Algebra System) packages do just this is that the packager was faced with the problem of high-performance, cpu-intensive code running across a heterogeneous cluster. (the basic atlas install assumes that you will install from source and choose the proper flags for your machine) Once he'd worked out this system for his employer, (well, once he and several of his coworkers had ...) he got permission to package the solution up for Debian.

      Of course, if it's just as easy to compile the whole darn source tree for each target machine and then have a shell script run the correct program based on e.g. `uname -a` or /proc/cpu, then this approach and yours merge back into essentially the same set of actions.

  82. Actually by www.sorehands.com · · Score: 1
    Actually, once running under Softice with virtualization turned on, I saw that the screen (DOS app) was being being repainted twice on every screen refresh.


    I doubt that profiling would reveal that.

  83. What!? by rbullo · · Score: 1
    Win95 had excellent Win3.x compatibility...


    Perhaps you should replace "Win3.x" with "MS-DOS". As I recall, Win3.x apps worked horribly under Windows '95, due to programmer's shortcuts that Windows '95 won't allow. DOS programs, however, often work better under Windows 95 then they do under Windows 3.x.
    --
    OH NOES!!! IT APPEARS YUO DO NOT HAVE ENOUGH MONEY TO PAY FOR DIS HERE PIZZA! WAHT EVER ARE YOU GOING TO DO!?!?
  84. You are ignorant. by Tord · · Score: 2, Insightful
    Your dissection of the authors knowledge is strongly flawed.

    The author first asserts that the process of moving files between the systems causes the upper/lower caseness of the filenames to be munged

    This is the case, I've run into this problem myself many times and it has little to do with how the files are saved and much to do with how fs-drivers are implemented and configured. Compare to how you often end up with read-only files if you copy them from a CD in Linux. Sure you can change some settings, but then often get other side-effects in other situations (goes for both). I believe he is the original author of his project.

    The author displays no knowledge of the network mounting of filesystems using SAMBA (CIFS) or NFS.

    The fact that he is dual-booting strongly suggests that he (like most of us) only has one development machine, not a complete network of machines. Don't get ignorant just because you are better equipped.

    Why isn't the source code checked into a configuration management tool, like CVS?

    Once again, he only has one workstation, thus is CVS out of the question since it needs to be hosted under one of the OSes and he can only run one at once. Besides, CVS is in most cases just unnecessary and complicates and slows stuff down if you are the single developer. You can make backups through normal file copying.

    As others have already noted elsewhere, he will still have to test on the target platform.

    Which I'm sure he does now and then too (by dual booting). However, if you just need to do some minor change in platform independent code it's really a bliss to not need to dual-boot.

    Besides, your criticism of using VMWare for testing is quite irrelevant. It's true you need to test on multiple environments to know that it works on them all, but as you said, VMWare with Windows X *IS* one of these environments. If he's dual booting he only has access to one environment anyway, using VMWare as well will add one or more extra testing environments.

    I would have LOVED to have a similar setup as his when I was developing BladeEnc. Like him I only had one development machine (couldn't afford more) and constantly needed to dual-boot in order to recompile and package a new version. The platform dependent parts of BladeEnc were very limited and untouched for 95% of the development, thus this setup + testing under wine (for possible quality degradation due to compiler excentricities) would have been more than enough during most of my days. Only performance tweaking would have to be done in windows environment.

    With your 20+ years as software developer you obviously have found your way of working in your projects and with your budget. Don't knock others creative solutions for solving their problems with their resources in a totally different situation.

    1. Re:You are ignorant. by GlassHeart · · Score: 1
      CVS is in most cases just unnecessary and complicates and slows stuff down if you are the single developer. You can make backups through normal file copying.

      By "backup", I presume you mean the kind to recover the code you wish you didn't overwrite while drunk last night, not the kind due to a disk crash.

      It's a lot easier to get lazy about backups. With proper source control software, your source files aren't writable unless you check them out, so you're forced to remember.

      Secondly, and I admit it's probably rare among free software authors, source control makes it a lot easier to support bug fixes to older versions of released software.

  85. You Are Wrong by HopeOS · · Score: 1

    This is very big news. Microsoft's compiler CL.EXE makes many non-obvious Win32 API calls before it gets down to business. These calls were not implemented immediately because they are used by very few programs. Even after the calls were implemented, CL.EXE would routinely crash (as of maybe October or November 2002). If the Microsoft compiler now runs on Wine, we have achieved a major step forward.

    -Hope

  86. Using UNIX command line to compile with MSVC by dgk · · Score: 1

    You should be able to use the cc front end that comes with UWIN as a front end for MSVC that you are running with WINE. This will allow you to use UNIX Makefiles to compile using MSCV. It also
    will allow you do use UNIX style file names
    and compile options.

    I haven't tried compiling the cc front end to MSVC on UNIX/Linux, but you should be able to compile it using MSVC and run it under WINE.

    The source code is part of the UWIN development package which you can download from http://www.research.att.com/sw/tools/uwin/.

  87. why? by Ender+Ryan · · Score: 1
    Why are you so intent on being an asshole? You don't even have a fuckin' clue what you're talking about? You don't even know what parts of the windows API vc++ touches. The article wasn't even about that anyway. The point of the article was that wine enabled this dude to do cross platform work on linux, easier. Maybe that's not interesting to YOU, or to me TBA, but then why the fuck were you reading it.

    Then you go on to say, "only thing this article achieves is to make Slashdot look like the anti-MS geeks with limited social awareness".

    What the fuck? This article had nothing to do with MS bashing, it was about doing windows development on Linux! Again, what the fuck? Then you go on to insult Michael... for no apparent reason.

    You're just trolling, stop it.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
  88. 5% desktop share? by fymidos · · Score: 1

    I am sorry when was that? i never even saw OS/2 on any desktop computer!!!

    OS/2 was never a desktop OS and never had a marketshare there. It came bundled with ps/2s' and that's all it ever got.

    What really killed OS/2 is that you couldn't get it for free.

    i've been around computers for 1 1/2 decades, and i NEVER saw anything open loosing against anything closed. I could get a windows 95 cd anytime but i couldn't find an OS/2 cd before warp.

    --
    Washington bullets will simply be known as the "Bulle
    1. Re:5% desktop share? by dryeo · · Score: 1
      I am sorry when was that? i never even saw OS/2 on any desktop computer!!!

      OS/2 was never a desktop OS and never had a marketshare there. It came bundled with ps/2s' and that's all it ever got.

      What really killed OS/2 is that you couldn't get it for free.

      i've been around computers for 1 1/2 decades, and i NEVER saw anything open loosing against anything closed. I could get a windows 95 cd anytime but i couldn't find an OS/2 cd before warp.

      Huh? IIRC I got a copy of OS/2 2.11 for the price of a stamp (maybe a couple of bucks for shipping) just by filling out a form in Byte or somesuch and I'm still using OS/2 (now ver 4.5). Windows seem like crap everytime I use it and Linux I've given up on as it becomes slower and more Win like. Its easy enough to recompile *nix programs I want or run them over X

      Dave

      --
      https://en.wikipedia.org/wiki/Inverted_totalitarianism
    2. Re:5% desktop share? by rjch · · Score: 1
      I am sorry when was that? i never even saw OS/2 on any desktop computer!!! OS/2 was never a desktop OS and never had a marketshare there. It came bundled with ps/2s' and that's all it ever got.
      You've obviously never paid any attention to what corporate users are doing. My current job involves auditing hardware for a large bank and OS/2 has only recently been phased out of the branches and is still widely used in the datacentres.

      Moreover, OS/2 was fairly popular with the larger BBS sysops before Win95 showed it was stable enough for the job. My own desktop was OS/2 for years and I wouldn't have had it any other way. It was (even back then) more stable than Windows is today.

      No, it never got widespread acceptance as a desktop operating system. More is the pity. I have no doubt we'd be bitching about IBM being the monopoly today, if it had, but at least we would have had an operating system worth using.
  89. Re:how hard? by Anonymous Coward · · Score: 0

    X is a Greek letter (Chi) that means "Christ."

  90. Have I missed something? by Anonymous Coward · · Score: 0

    >> does microsoft compile windows under wine?

    You mean we can run programs on GNU/Linux?

  91. It makes more sense to me... by RLiegh · · Score: 0

    To develop unix programs on windows, than to develop windows programs on unix. Based on the wich platform the developer is more likely to be running, of course. (all of my developer friends run windows)

  92. Re: say no to non standard by Zeio · · Score: 1

    Just to know, ICC has been known to optimize code for AMD processors quite nicely.

    An application should compile nicely anywhere, for example, Apache. You name it, gcc, icc, forte - it compiles.

    Also, applications should be developed against a standard c library/headers. None of this winsock or strange SYSVisms or /usr/include/linux stuff.

    GCC (with some interesting non-standard extensions) and non standard platforms like RedHat makes for difficult porting. Bad discipline and non-standardness is what created a place in the world for the giant, titanic Java. It had gotten to the point where it was easier to port a VM to here or there than to simply compile the application somewhere else. We all know speed suffers for the abstraction which is of questionable value.

    So, which compiler should be targeted? Which CPU? Well, unless the compiler is broken or the CPU has severe errata, all of them.

    Premature optimization is the root of all evil, so making the first order of business deciding which compiler, platform and CPU the program is for is just that. Why do you think Knuth gives examples in a mythical assembly language for a mythical processor? (Partly due to the fact that it was mythical in a superior sense at the time he came up with it, but also to point out that proper algorithmic implementation and proper programming are architecture independent.)

    --
    Legalize the constitution. Think for yourself question authority.
  93. YAY! Saves me a step, maybe? by $$$$$exyGal · · Score: 1

    Very good show ;-). I still maintain 3 boxes at home (windows, linux, and mac), but maybe now I can get that down to 2! I rarely want to develop a windows program, but when I do, I always have to boot up Windows on my second Linux box, and create and compile my program, and then boot back into Linux, test my program in WINE, etc. This will hopefully save me a step ;-).

    --
    Very popular slashdot journal for adul
  94. xxx by Anonymous Coward · · Score: 0

    TCL Core Team Interview
    On March 10th, 2003 with 115 comments
    Gentu writes "OSNews features a nice and long-ish interview with the TCL core development team for just about everything. " Covers a lot of ground like what...
    Section: Developers > Programming

    Ask About Proprietary vs. Open Source Code Quality
    On March 6th, 2003 with 190 comments
    Scott Trappe is CEO of Reasoning, a company that has gained a certain amount of noteriety (and a Slashdot mention) by running its Ilumna automated inspection...
    Section: Interviews > Programming

    Survey says: ELC platform spec will expand use of
    On March 5th, 2003 with 19 comments
    An anonymous reader writes "According to a "quick survey" taken during the past two weeks of visitors to LinuxDevices.com's website, developers overwhelmingly...
    Section: Developers > Programming

    Joel on Community Forums
    On March 4th, 2003 with 76 comments
    Evil Grinn writes "In Building Communities with Software, Joel Spolsky starts with a lament about the lack of real-life community among programmers, but...
    Section: Developers > Programming

    Object Prevalence: Get Rid of Your Database?
    On March 3rd, 2003 with 674 comments
    A reader writes:" Persistence for object-oriented systems is an incredibly cumbersome task to deal with when building many kinds of applications: mapping...
    Section: Developers > Programming

    An XHTML Tutorial That Does Not Assume HTML?
    On March 2nd, 2003 with 39 comments
    stevelinton writes "I am looking for a tutorial similar to Dave Ragget's excellent HTML tutorial(s), but for XHTML 1.1. I am NOT looking for a "HTML to XHTML"...
    Section: Ask Slashdot > Programming

    Welcome to the Safari Jungle
    On February 27th, 2003 with 211 comments
    Robby Russell writes "Paper books have a tendency to accumulate dust, take up large amounts of shelf space and be a painful reminder that you need to get rid...
    Section: Book Reviews > Programming

    GLSlang Draft Approved
    On February 27th, 2003 with 26 comments
    Screaming Lunatic writes "The OpenGL2 working group has approved the draft version of The OpenGL Shading Language (glslang). It looks like OpenGL2.0 is...
    Section: Developers > Programming

    Use of Math Languages and Packages in Research?
    On February 26th, 2003 with 453 comments
    CEHT asks: "As a research programmer at the university, I have encountered numerous times when I need to choose which language(s) or package(s) to use for...
    Section: Ask Slashdot > Programming

    Turing Test 2: A Sense of Humor
    On February 26th, 2003 with 389 comments
    mhackarbie writes "Salon has a great story, Artificial Stupidity, about the Loebner Prize, a yearly contest that for over 10 years now has offered a $100,000...
    Section: Main > Programming

    Swarm Intelligence
    On February 25th, 2003 with 219 comments
    elamdaly writes "Eric Bonabeau, Ph.D, a keynote speaker at the upcoming Emerging Technology conference, is a leader in the field of swarm intelligence and has...
    Section: Developers > Programming

    Do Scripters Suffer Discrimination?
    On February 24th, 2003 with 1216 comments
    TheTheologian writes "In his InfoWorld column, Chad Dickerson says 'there is a level of quiet discomfort between the "scripting" versus "programming" factions...
    Section: Ask Slashdot > Programming

    Compiling Under Wine
    On February 23rd, 2003 with 340 comments
    now3djp writes "Interesting article over on CodingStyle that demonstrates how I successfully eliminated wasted time maintaining an MS-Windows computer when I...
    Section: Developers > Programming

    An Interview With Guido van Rossum
    On February 20th, 2003 with 18 comments
    An anonymous reader submits "The folks over at artima.com have finished posting a 6 part interview with Guido Van Rossum, Python's creator and Benevolent...
    Section: Developers > Programming

    Guide to Globalizing Windows Applications
    On February 20th, 2003 with 43 comments
    JimCricket writes "Does your application need to be usable in multiple countries? Art & Logic has posted a handbook for developers who want to globalize...
    Section: Developers > Programming

    Stop Breaking the Build
    On February 19th, 2003 with 92 comments
    Cap'n Grumpy writes "You know the score - you've just finished some coding, do a final cvs update before commiting, and all of a sudden all hell breaks loose....
    Section: Developers > Programming

    Agile Software Development with Scrum
    On February 18th, 2003 with 168 comments
    bADlOGIN writes "Anyone and everyone on Slashdot probably knows that business-driven software development efforts all too often end up as a mess. After a...
    Section: Book Reviews > Programming

    Web Programming by printf()
    On February 17th, 2003 with 104 comments
    An anonymous reader writes "Art & Logic has posted an article titled 'Why CGI is Evil'. CGI might be an obvious way to create a simple web application, but...
    Section: Developers > Programming

    Best Practices for Writing LDAP Aware Apps?
    On February 17th, 2003 with 33 comments
    Saqib Ali asks: "I am in a process of writing a web application, that makes quite a lot of transactions with the LDAP server. I would like to find out, what...
    Section: Ask Slashdot > Programming

    New S# Language - Smalltalk for .Net
    On February 14th, 2003 with 47 comments
    curador writes "In an interview with David Simmons, CTO of SmallScript Corp., we learned about a new .NET language about to debut...." I was surfing around and...
    Section: Developers > Programming

    Inside the Intel Compiler
    On February 13th, 2003 with 52 comments
    deadfx writes "Linux Journal is carrying an article authored by members of the Intel Compiler Lab examining specific optimizations employed by the compiler...
    Section: Developers > Programming

    Extreme Programming for Web Projects
    On February 13th, 2003 with 197 comments
    PinglePongle writes with this review of Addison Wesley's Extreme Programming for Web Projects, writing "The authors work for a web shop, building websites for...
    Section: Book Reviews > Programming

    Apple Publishes Keynote XML Schema
    On February 13th, 2003 with 29 comments
    grouchomarxist writes "Apple has published a technote on the XML file format (APXL schema) used by their new presentation application Keynote. They've also...
    Section: Apple > Programming

    Perl Features of the Future - Part 1
    On February 13th, 2003 with 61 comments
    Kevin writes "This story highlights some of the features being included in Perl 6. "There will be substantial changes in the move from Perl 5 to Perl 6. We've...
    Section: Developers > Programming

    Trees Fall Prey to AoA
    On February 11th, 2003 with 30 comments
    bluethundr writes "For all of the years that it has been available, the only way to read the classic instructional text known as the Art of Assembly by Randy...
    Section: Developers > Programming

    Programmers and the "Big Picture"?
    On February 11th, 2003 with 405 comments
    FirmWarez asks: "I'm an embedded systems engineer. I've designed and programmed industrial, medical, consumer, and aerospace gear. I was engineering manager...
    Section: Developers > Programming

    Guido van Rossum On Strong vs. Weak Typing
    On February 10th, 2003 with 100 comments
    Bill Venners writes "In this interview, Java creator James Gosling says, 'There's a folk theorem out there that systems with very loose typing are very easy...
    Section: Developers > Programming

    XML Turns 5
    On February 10th, 2003 with 36 comments
    GiMP writes "According to the World Wide Web Consortium, XML turns 5 years old today. XML is used by many programs as a generic container for data....
    Section: Developers > Programming

    IPv6 Application Competition - win $10,000
    On February 9th, 2003 with 217 comments
    sneekz writes "The IPv6 Promotion Council of Japan has announced a competition for developers of IPv6-enabled applications. Various prizes up to $10,000 for...
    Section: Developers > Programming

    Open Watcom 1.0 Released
    On February 8th, 2003 with 307 comments
    JoshRendlesham writes "The Open Watcom C/C++ and FORTRAN 1.0 compilers have been officially released. The source, and binaries for Win32 and OS/2 systems, are...
    Section: Developers > Programming

    TCL Core Team Interview
    On March 10th, 2003 with 115 comments
    Gentu writes "OSNews features a nice and long-ish interview with the TCL core development team for just about everything. " Covers a lot of ground like what...
    Section: Developers > Programming

    Ask About Proprietary vs. Open Source Code Quality
    On March 6th, 2003 with 190 comments
    Scott Trappe is CEO of Reasoning, a company that has gained a certain amount of noteriety (and a Slashdot mention) by running its Ilumna automated inspection...
    Section: Interviews > Programming

    Survey says: ELC platform spec will expand use of
    On March 5th, 2003 with 19 comments
    An anonymous reader writes "According to a "quick survey" taken during the past two weeks of visitors to LinuxDevices.com's website, developers overwhelmingly...
    Section: Developers > Programming

    Joel on Community Forums
    On March 4th, 2003 with 76 comments
    Evil Grinn writes "In Building Communities with Software, Joel Spolsky starts with a lament about the lack of real-life community among programmers, but...
    Section: Developers > Programming

    Object Prevalence: Get Rid of Your Database?
    On March 3rd, 2003 with 674 comments
    A reader writes:" Persistence for object-oriented systems is an incredibly cumbersome task to deal with when building many kinds of applications: mapping...
    Section: Developers > Programming

    An XHTML Tutorial That Does Not Assume HTML?
    On March 2nd, 2003 with 39 comments
    stevelinton writes "I am looking for a tutorial similar to Dave Ragget's excellent HTML tutorial(s), but for XHTML 1.1. I am NOT looking for a "HTML to XHTML"...
    Section: Ask Slashdot > Programming

    Welcome to the Safari Jungle
    On February 27th, 2003 with 211 comments
    Robby Russell writes "Paper books have a tendency to accumulate dust, take up large amounts of shelf space and be a painful reminder that you need to get rid...
    Section: Book Reviews > Programming

    GLSlang Draft Approved
    On February 27th, 2003 with 26 comments
    Screaming Lunatic writes "The OpenGL2 working group has approved the draft version of The OpenGL Shading Language (glslang). It looks like OpenGL2.0 is...
    Section: Developers > Programming

    Use of Math Languages and Packages in Research?
    On February 26th, 2003 with 453 comments
    CEHT asks: "As a research programmer at the university, I have encountered numerous times when I need to choose which language(s) or package(s) to use for...
    Section: Ask Slashdot > Programming

    Turing Test 2: A Sense of Humor
    On February 26th, 2003 with 389 comments
    mhackarbie writes "Salon has a great story, Artificial Stupidity, about the Loebner Prize, a yearly contest that for over 10 years now has offered a $100,000...
    Section: Main > Programming

    Swarm Intelligence
    On February 25th, 2003 with 219 comments
    elamdaly writes "Eric Bonabeau, Ph.D, a keynote speaker at the upcoming Emerging Technology conference, is a leader in the field of swarm intelligence and has...
    Section: Developers > Programming

    Do Scripters Suffer Discrimination?
    On February 24th, 2003 with 1216 comments
    TheTheologian writes "In his InfoWorld column, Chad Dickerson says 'there is a level of quiet discomfort between the "scripting" versus "programming" factions...
    Section: Ask Slashdot > Programming

    Compiling Under Wine
    On February 23rd, 2003 with 340 comments
    now3djp writes "Interesting article over on CodingStyle that demonstrates how I successfully eliminated wasted time maintaining an MS-Windows computer when I...
    Section: Developers > Programming

    An Interview With Guido van Rossum
    On February 20th, 2003 with 18 comments
    An anonymous reader submits "The folks over at artima.com have finished posting a 6 part interview with Guido Van Rossum, Python's creator and Benevolent...
    Section: Developers > Programming

    Guide to Globalizing Windows Applications
    On February 20th, 2003 with 43 comments
    JimCricket writes "Does your application need to be usable in multiple countries? Art & Logic has posted a handbook for developers who want to globalize...
    Section: Developers > Programming

    Stop Breaking the Build
    On February 19th, 2003 with 92 comments
    Cap'n Grumpy writes "You know the score - you've just finished some coding, do a final cvs update before commiting, and all of a sudden all hell breaks loose....
    Section: Developers > Programming

    Agile Software Development with Scrum
    On February 18th, 2003 with 168 comments
    bADlOGIN writes "Anyone and everyone on Slashdot probably knows that business-driven software development efforts all too often end up as a mess. After a...
    Section: Book Reviews > Programming

    Web Programming by printf()
    On February 17th, 2003 with 104 comments
    An anonymous reader writes "Art & Logic has posted an article titled 'Why CGI is Evil'. CGI might be an obvious way to create a simple web application, but...
    Section: Developers > Programming

    Best Practices for Writing LDAP Aware Apps?
    On February 17th, 2003 with 33 comments
    Saqib Ali asks: "I am in a process of writing a web application, that makes quite a lot of transactions with the LDAP server. I would like to find out, what...
    Section: Ask Slashdot > Programming

    New S# Language - Smalltalk for .Net
    On February 14th, 2003 with 47 comments
    curador writes "In an interview with David Simmons, CTO of SmallScript Corp., we learned about a new .NET language about to debut...." I was surfing around and...
    Section: Developers > Programming

    Inside the Intel Compiler
    On February 13th, 2003 with 52 comments
    deadfx writes "Linux Journal is carrying an article authored by members of the Intel Compiler Lab examining specific optimizations employed by the compiler...
    Section: Developers > Programming

    Extreme Programming for Web Projects
    On February 13th, 2003 with 197 comments
    PinglePongle writes with this review of Addison Wesley's Extreme Programming for Web Projects, writing "The authors work for a web shop, building websites for...
    Section: Book Reviews > Programming

    Apple Publishes Keynote XML Schema
    On February 13th, 2003 with 29 comments
    grouchomarxist writes "Apple has published a technote on the XML file format (APXL schema) used by their new presentation application Keynote. They've also...
    Section: Apple > Programming

    Perl Features of the Future - Part 1
    On February 13th, 2003 with 61 comments
    Kevin writes "This story highlights some of the features being included in Perl 6. "There will be substantial changes in the move from Perl 5 to Perl 6. We've...
    Section: Developers > Programming

    Trees Fall Prey to AoA
    On February 11th, 2003 with 30 comments
    bluethundr writes "For all of the years that it has been available, the only way to read the classic instructional text known as the Art of Assembly by Randy...
    Section: Developers > Programming

    Programmers and the "Big Picture"?
    On February 11th, 2003 with 405 comments
    FirmWarez asks: "I'm an embedded systems engineer. I've designed and programmed industrial, medical, consumer, and aerospace gear. I was engineering manager...
    Section: Developers > Programming

    Guido van Rossum On Strong vs. Weak Typing
    On February 10th, 2003 with 100 comments
    Bill Venners writes "In this interview, Java creator James Gosling says, 'There's a folk theorem out there that systems with very loose typing are very easy...
    Section: Developers > Programming

    XML Turns 5
    On February 10th, 2003 with 36 comments
    GiMP writes "According to the World Wide Web Consortium, XML turns 5 years old today. XML is used by many programs as a generic container for data....
    Section: Developers > Programming

    IPv6 Application Competition - win $10,000
    On February 9th, 2003 with 217 comments
    sneekz writes "The IPv6 Promotion Council of Japan has announced a competition for developers of IPv6-enabled applications. Various prizes up to $10,000 for...
    Section: Developers > Programming

    Open Watcom 1.0 Released
    On February 8th, 2003 with 307 comments
    JoshRendlesham writes "The Open Watcom C/C++ and FORTRAN 1.0 compilers have been officially released. The source, and binaries for Win32 and OS/2 systems, are...
    Section: Developers > Programming