Slashdot Mirror


First Look At Visual Studio 2010 Beta 1

snydeq writes "InfoWorld's Martin Heller takes VS2010 Beta 1 for a test drive and finds the upgrade promising, particularly with regard to improved thread debugging and a revamped UI. But the biggest enhancements have to do with parallel programming, Heller writes. 'I'm not sure that I've completely grasped the power of the new .Net Framework and native C++ support for task and data parallelism in VS2010, but what I've seen so far is impressive.' Heller points to intriguing parallel programming samples posted to CodePlex and offers numerous screenshots of VS2010 Beta 1 functionality. He also notes that the beta still lacks support for ASP.Net MVC, smart devices, and the .Net Micro Framework."

236 comments

  1. Yay! by Anonymous Coward · · Score: 1, Interesting

    Visual Studio is the best!

    Seriously.

    1. Re:Yay! by sys.stdout.write · · Score: 5, Insightful

      I love how you have to post anonymously in order to support Microsoft products on Slashdot.

      Screw it, I second this. Visual Studio has the best code completion implementation ever written. I can type lines like obj.GetSomething().Append(item) in about four keystrokes.

      This makes me warm and fuzzy inside.

    2. Re:Yay! by gbjbaanb · · Score: 2, Insightful

      obj.GetSomething().Append(item) in about four keystrokes.

      I believe that should be:

      System.Csharp.Adding.Namespace.Collections.Stuff.Object.Manipulation obj;
      obj.GetSomething().Append(item);

      You *need* an IDE that allows code completion, or no-one be able to write more than 7 lines of code a day.

    3. Re:Yay! by internerdj · · Score: 1

      I don't know I do pretty well sometimes with ctrl-c and ctrl-v and a couple of other keystrokes.

    4. Re:Yay! by Dutch+Gun · · Score: 2, Insightful

      If someone hasn't gotten the hang of the 'using' keyword, then they probably shouldn't be writing more than 7 lines of code a day.

      --
      Irony: Agile development has too much intertia to be abandoned now.
    5. Re:Yay! by dave562 · · Score: 1

      I'm still writing my code using Notepad you insensitive clod!

    6. Re:Yay! by doti · · Score: 4, Insightful

      No, what you need is a sane programming language/technique.

      --
      factor 966971: 966971
    7. Re:Yay! by Jugalator · · Score: 1

      And it's FAR more accurate in Visual C++ 2010 too.

      This was earlier a problem with code complexity and the peculiarities of the C++ language, but the system has been rewritten and I believe is now based on what the compiler itself will have as its "impression" of the code.

      --
      Beware: In C++, your friends can see your privates!
    8. Re:Yay! by Xest · · Score: 2, Informative

      Apparently you need to go and read a book on namespaces.

      You can use namespaces that horribly badly in other languages too including Java and C++ if you really want to, but any professional programmer should be at a level where they're not that bad at it.

    9. Re:Yay! by Rasperin · · Score: 1

      That's what she said

      --
      WTF Slashdot, why do I have to login 50 times to post?
    10. Re:Yay! by bertok · · Score: 4, Interesting

      Screw it, I second this. Visual Studio has the best code completion implementation ever written. I can type lines like obj.GetSomething().Append(item) in about four keystrokes.

      Have you tried IntelliJ IDEA? It's Java-only, but I found its code completion to be many, MANY times better than VS. For one, instead of showing you every symbol that matches a prefix, it narrows down to the appropriate type.

      For example, in VS, if you create two methods with similar names ("int Test1()", "string Test2()"), and try and tab complete something like string "foo = T", it'll show you Test1() first, even though Test2() is a far better match.

      Note that I use VS 2008 daily, and I've got 2010 installed as well. I just tested that in VS 2010, and it still shows you every single identifier available, including class names. I know that technically, the intention may have been to reference a static, but in practice, they could go to some lengths to select a "most likely" set and an "alphabetical" set, and show the most likely first, and only show the complete set if you try to complete twice, or something.

      It's a great IDE, but it could be a lot better. Microsoft really needs to get over their "not invented here" attitude, install a competing IDE at least ONCE, try it, and learn that other people sometimes do things better.

    11. Re:Yay! by Chabo · · Score: 1

      Not only that, in his example, you'd probably be able to type "Manipulation obj;" on the first line, and Visual Studio will ask you if you want to add a "using System.Csharp.Adding.Namespace.Collections.Stuff.Object" line up top, or if you want to prepend "System.Csharp.Adding.Namespace.Collections.Stuff.Object." to "Manipulation".

      --
      Convert FLACs to a portable format with FlacSquisher
    12. Re:Yay! by Anonymous Coward · · Score: 0

      Fuck off win-fag.

    13. Re:Yay! by Sam36 · · Score: 0, Interesting
    14. Re:Yay! by quercus.aeternam · · Score: 2, Funny

      May I interest you in a truly advanced OS/Environment/Editor?

      Or do you lack the skills necessary to make the machine obey your every whim?

      oblig: http://xkcd.com/378/

    15. Re:Yay! by Anonymous Coward · · Score: 0

      2008 does that for me already for C#. Also, I use Visual Assist X, so it might be the one doing it.

    16. Re:Yay! by shutdown+-p+now · · Score: 2, Interesting

      I would concur that when it comes to code completion and refactoring, IntelliJ IDEA still beats everyone, and NetBeans and Eclipse generally beat VS when you compare apples to apples (i.e. Java to C#). You can get to roughly the same level if you add ReSharper (which isn't exactly surprising, as it's made by the same guys who make IDEA), but that's extra $$$ ...

      On the other hand, Visual C++ still has the most reliable C++ code completion of all IDEs that I've seen, and it's got even better in VS2010.

    17. Re:Yay! by Anonymous Coward · · Score: 0

      Hisssssssssssssssssssssssssssssssssssssss

      It is the microsoft. kill it with fire.

    18. Re:Yay! by Anonymous Coward · · Score: 0

      I do even better with keystrokes like 'yy' and 'cw'

    19. Re:Yay! by thePowerOfGrayskull · · Score: 1

      Visual SlickEdit does a much better job of completion than Visual Studio, for precisely that reason - it wil llist variables of appropriate type, in order of local, member, global.

    20. Re:Yay! by bertok · · Score: 1

      I tried Resharper, but I think the VS add-in model wasn't really flexible enough to support the level of integration the IntelliJ guys were trying to achieve, so it was always flaky for me. It kept misbehaving, the graphics was sometimes glitchy, etc...

      I doubt it's IntelliJ's fault, all of their products are top-notch.

      I hope VS 2010 either improves massively in subsequent betas, or that it'll be flexible enough for a third-party plugin to fix all the gaps.

    21. Re:Yay! by shutdown+-p+now · · Score: 1

      I hope VS 2010 either improves massively in subsequent betas, or that it'll be flexible enough for a third-party plugin to fix all the gaps.

      The editor in VS2010 is brand new, and it has a much more sane and powerful extensibility model. I do not know enough about the details, so I couldn't say if it's good enough to "smooth out" Resharper, but there's definite hope.

    22. Re:Yay! by mario_grgic · · Score: 1

      Could you also tell us how many other IDEs are you proficient with. Otherwise your statement doesn't mean much.

      I often hear things like that from people who only ever used VS, and who would not be able to write the code without it to begin with. If you gave them plain text editor and asked them to write code to do something simple they would start crying, or leave immediately if you did that in an interview.

      --
      As the island of our knowledge grows, so does the shore of our ignorance.
    23. Re:Yay! by kitezh · · Score: 1

      To be honest, I prefer the way Netbeans does code completion over Visual Studio. Yes, sometimes you want it to remember the last variable/function you used starting with that letter, but when you have different variables starting with the same characters and you are going through each of them, it becomes a pain. I never could find a way to change it so that it completes what it can, up until the point that the different variations change spelling, then let me type the first letter of the variation I want, then continue completing the word from there.

    24. Re:Yay! by liamoshan · · Score: 1

      Microsoft really needs to get over their "not invented here" attitude, install a competing IDE at least ONCE, try it, and learn that other people sometimes do things better.

      They probably assume that like VisualStudio, competing IDE's take over an hour to install and just can't be bothered

      VS is a great product, but god damn does it (and the complementary MSDN library) take a long time to install

    25. Re:Yay! by adonoman · · Score: 1

      No, that's just vanilla VS2008 for C#.

    26. Re:Yay! by gparent · · Score: 0

      He already has a sane programming language. It's called C#. What he needs is to wake the hell up and figure out what the "using" keyword is for and how Visual Studio will automatically offer you to add it at the top of your files when needed.

    27. Re:Yay! by bobintetley · · Score: 2, Informative

      On the other hand, Visual C++ still has the most reliable C++ code completion of all IDEs that I've seen, and it's got even better in VS2010.

      I don't know what you're doing with it then, but as someone paid to write C++ all day every day with VS2008, I can hand on heart say that the C++ code completion in VS2008 is fucking awful. It kills my dual core CPU updating the intellisense database frequently (ok, I'm working on a large project made up of about 140 modules), then fails to find globals and class members quite often in the same file.

      Most times it's only about as useful as grep, but even then manages to be worse since it gives no priority to context - if I have two global variables in two different modules with the same name and ask for the definition in one module, it will quite often open a source file in the other module.

      When testing alternatives, I found eclipse-cpp and netbeans-cpp to be far superior at C++ code completion. Unfortunately, I work for an American corporate who "standardise" on Microsoft products :-(

    28. Re:Yay! by Anonymous Coward · · Score: 0

      Touché!

    29. Re:Yay! by Matje · · Score: 2, Informative

      try Resharper. It'll fix that code completion for you, and do tons of more useful stuff.

    30. Re:Yay! by Anonymous Coward · · Score: 0

      Well I only use it as a debugger occasionally. It is much better to just edit the makefile.vc generated by bakefile. Just edit a few compiler switches and that's it. Go ahead, click on "Project->Property Pages->Configurations->C++", going through 20 freaking dialogs reading tiny little fonts just to set a few switches is real FUN!

      I dont give a crap about completion especially it leaves a 50MEG ncb file forcing me to delete it every time I backup the entire directory. Besides, any editor that requires you to use the CURSOR KEYS is designed by retard. VS doesn't support key bindings, right? +1 point for Eclipse and NetBeans.

      What's wrong with "nmake -f makefiel.vc"? Nothing!
      Msbuild is such a piece of crap that no one use.

    31. Re:Yay! by Anonymous Coward · · Score: 0

      When you are creating a procedure and thinking about what it does, do you want to be reminded that the line you just typed is incorrect? What is more important is whether the line should be there in the first place, and intellisense will never tell you that.

    32. Re:Yay! by RCL · · Score: 1

      On the other hand, Visual C++ still has the most reliable C++ code completion of all IDEs that I've seen, and it's got even better in VS2010.

      How come? Intellisense does not like macros (e.g. it has troubles finding functions that are declared inside macros), it often fails for me on not-that-large code base (about 750k LOC in about 10 thousand files) even for simple functions. It does not like forward declarations as well, leaving me without hint if some class was only defined, but not #include'd. If Visual Studio were that superb, there would be no market for tools like VisualAssist (try it, it fixes a lot of Intellisense flaws).

    33. Re:Yay! by Anonymous Coward · · Score: 0

      Try Resharper. It's a visual studio plugin that improves code completion, among other useful functions.

    34. Re:Yay! by Anonymous Coward · · Score: 0

      I love how you have to post anonymously in order to support Microsoft products on Slashdot.

      Screw it, I second this. Visual Studio has the best code completion implementation ever written. I can type lines like obj.GetSomething().Append(item) in about four keystrokes.

      This makes me warm and fuzzy inside.

      Yeah it is brillant, and allows me to write code very quickly.

      The greatest thing for me in the 2010 Beta is the Intellisense for Database Projects! This is going to making my sql queries much quicker to write.

    35. Re:Yay! by gbjbaanb · · Score: 1

      you van do that in VB.NET, if you have using System.Csharp.Adding at the top, you can ignore that bit, and just type "Namespace.Collections.Stuff.Object obj" and it'll figure it out. (if it can't, it underlines in red, and you have to start adding more of the namespaces until it can be explicitly resolved).

      C# is an all-or-nothing approach, either put the whole lot in the using; or the whole lot in the code line. Maybe VS2010 has this fixed.

      Its strange that C# gets all the fanbois, yet VB is a better language. I always wondered what would have happened if MS produced VB.NET and Pascal.NET instead of curly-bracketed C#.

      I still don't like the sheer quantity of namespaces there are. Its like a junior programmer suddenly finding that namespaces can be used... and does so everywhere.

    36. Re:Yay! by gbjbaanb · · Score: 1

      Unfortunately, I work for an American corporate who "standardise" on Microsoft products :-(

      So do I. Expect to be converting all your code to C#/WPF any day soon :(

    37. Re:Yay! by bemymonkey · · Score: 1

      I don't know about it being the best, but from my limited experience (then again, I'm still using VS2005 - dunno about newer versions) it's got everything I need.

      On an unrelated note - anyone else's Slashdot views going all wonky? Mine looks like this:

      http://i302.photobucket.com/albums/nn108/bemymonkey/slashdot.gif

    38. Re:Yay! by mdwh2 · · Score: 1

      Actually, as much as I do love Visual Studio and agree that it is the best IDE around overall now - I do find that "Intellisense" autocompletion is often rather buggy, often being annoyingly unavailable (yes, even when the code is valid), and I can never fathom out the logic. I once recently got into a state where it wouldn't work at all for a project, until I deleted the ".ncb" file.

      For comparison, the autocompletion on my old Borland C++ Builder Pro 4 worked fine always.

    39. Re:Yay! by Anonymous Coward · · Score: 0

      I have to disagree with you. I much prefer Microsoft's implementation. It may show me all results, but the highlighted item is almost 90% of the time, what I want. And if it isn't, it's one, maybe two keystrokes away.

      Perhaps it comes down to personal preference, I don't know. But going from something like Netbeans or Eclipse to Visual Studio, is like dropping an axe and using a bloody laser pistol to cut trees. Not only is it more precise, but it allows me to do more in the same time.

       

      I know that technically, the intention may have been to reference a static, but in practice, they could go to some lengths to select a "most likely" set and an "alphabetical" set, and show the most likely first, and only show the complete set if you try to complete twice, or something.

      They already do choose a "most likely". I swear, when I use it, I feel like my mind is being read. And as the poster higher up said, some long hierarchies are navigated using one-two keystrokes, a few spaces and finally an enter.

    40. Re:Yay! by mdwh2 · · Score: 1

      Whether or not that's a valid argument, that's an issue with .NET. You don't have to use .NET with Visual Studio...

    41. Re:Yay! by bh213 · · Score: 1

      Try resharper. Written by IntelliJ, has same shortcuts as IDEA, supports every C# feature. It is not free, but IMO well worth the money.

    42. Re:Yay! by koreaman · · Score: 1

      Same problem here. (IE8 32-bit on Windows Vista 64-bit)

    43. Re:Yay! by shutdown+-p+now · · Score: 1

      If Visual Studio were that superb, there would be no market for tools like VisualAssist (try it, it fixes a lot of Intellisense flaws).

      I didn't say VS is perfect - I merely said it does better than all other C++ IDEs I've tried (which are Eclipse CDT, NetBeans, KDevelop3, and Qt Creator).

      And, yes, Visual Assist definitely adds a lot to VS2008 and below. We'll see about VS2010.

    44. Re:Yay! by gonz · · Score: 1

      How can you compare Java code-completion to C++ code-completion? Java has a relatively simple grammar with no macros. C++ is a very complex language that mixes together #include's, inline assembly, old-school C syntax, compile-time execution via templates, .NET extensions, auto-generated ATL/COM wrappers, etc.

      -Gonz

    45. Re:Yay! by Anonymous Coward · · Score: 0

      Note that I use VS 2008 daily, and I've got 2010 installed as well. I just tested that in VS 2010, and it still shows you every single identifier available, including class names.

      I call bullshit. VS2010 beahves in the exact way you just described.

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

    The same thing all MS software does of course...

  3. Re:oh by whitefang1121 · · Score: 0

    So then nothing!

  4. Re:oh by VeNoM0619 · · Score: 2, Funny

    So what does it do then, exactly??

    But the biggest enhancements have to do with parallel programming,

    It means: developers, developers, developers, developers.

    --
    Disclaimer: I am not god.
    We may not be created equal
    But we can be treated equal.
  5. Re:oh by Anpheus · · Score: 5, Funny

    No, like this:

    developers
    developers
    developers
    developers
    deverlopee
    elsdeverlpr
    opesdeveos

    Or something like that. Threading is hard! :)

  6. More security? by johannesg · · Score: 2, Interesting

    Look at that fourth screenshot. What possible harm could loading a project do, I wonder? Does it already (partially?) execute even when it is just sitting there in the development environment? Is this an attempt to banish evil compilers from accidentally compiling source?

    And why is the answer always "make the user choose" even though there is absolutely no way to make an informed choice (same problem as with UAC or sudo: I don't want to hand over the keys to the kingdom, I only want to give out narrow and specific permissions, based on useful information, rather than some nebulous feeling of 'trust')?

    1. Re:More security? by KingPin27 · · Score: 1

      Look at that fourth screenshot. What possible harm could loading a project do, I wonder? Does it already (partially?) execute even when it is just sitting there in the development environment? Is this an attempt to banish evil compilers from accidentally compiling source?

      And why is the answer always "make the user choose" even though there is absolutely no way to make an informed choice (same problem as with UAC or sudo: I don't want to hand over the keys to the kingdom, I only want to give out narrow and specific permissions, based on useful information, rather than some nebulous feeling of 'trust')?

      Could it be some sort of pre-compile - that way your project looks like it compiles fast when in reality its being compiled at code time?

      --
      "i lost my dignity on a slippery wiener"
    2. Re:More security? by rob1980 · · Score: 1

      Does it already (partially?) execute even when it is just sitting there in the development environment?

      Visual Studio picks through whatever classes you write and adds support for them to Intellisense. Maybe they've observed security issues with that in the past?

    3. Re:More security? by Anonymous Coward · · Score: 2, Insightful

      The visual designer actually instantiates the backing class and executes its constructor when opened for editing, to be able to render the component in a wysiwyg fashion.

    4. Re:More security? by Mr2001 · · Score: 4, Informative

      Look at that fourth screenshot. What possible harm could loading a project do, I wonder? Does it already (partially?) execute even when it is just sitting there in the development environment? Is this an attempt to banish evil compilers from accidentally compiling source?

      As it says right there in the screenshot, the possible harm is from custom build steps.

      Unix developers are already used to this, because makefiles have the same risks: if you untar an untrusted project and type "make", you might find that one of the build steps erases your home directory.

      --
      Visual IRC: Fast. Powerful. Free.
    5. Re:More security? by wzinc · · Score: 5, Informative

      Does it already (partially?) execute even when it is just sitting there in the development environment

      Actually, it kind-of does execute. Most controls, even user-created ones, have "design mode." That's a special view that gets rendered while you're designing pages or forms. I never thought about it, but it is just code that executes. I don't know if there's anything that prevents you from opening up an FTP connection or calling "del /f /s /q C:\*" from a control in design mode.

    6. Re:More security? by TheThiefMaster · · Score: 1

      If the projects have custom build steps set up they can execute any program they like before / after / to compile.

      That's all it's warning about.

    7. Re:More security? by shutdown+-p+now · · Score: 5, Informative

      As it says right there in the screenshot, the possible harm is from custom build steps.

      To clarify (since it may not be obvious to those who haven't used VS, and, in fact, even to many who did) - Visual Studio projects are nothing more but MSBuild makefiles, which has roughly the same expressive power and extensibility as, say, Apache Ant. In particular, the build steps can include file system operations, and execution of arbitrary shell commands. By default, VS-created projects have nothing like this, and so the verifier lets them load without asking. But if the file was hand-edited to include any such things, you'll see the dialog such as one on the screenshot.

    8. Re:More security? by sys.stdout.write · · Score: 1

      Why is this modded funny? This is exactly what it does.

      This is by far the best approach. Say I create a custom window which paints itself in some strange way. In the Visual Studio designer I can actually move it around in the dialog box and it will paint itself correctly.

    9. Re:More security? by Anonymous Coward · · Score: 0

      I don't know if there's anything that prevents you from opening up an FTP connection or calling "del /f /s /q C:\*" from a control in design mode.

      There isn't, but it doesn't make any difference. As soon as you debug your program the controls are running in "real" mode, and can do equally evil things. Or do you hand your code over to the testers as soon as it compiles?

    10. Re:More security? by Anonymous Coward · · Score: 0

      Visual Studio would not allow such a thing. For an example, see http://msdn.microsoft.com/en-us/library/ms171823.aspx

    11. Re:More security? by K.+S.+Kyosuke · · Score: 1

      So it finally works as well as Delphi did ten years ago? *hides*

      --
      Ezekiel 23:20
    12. Re:More security? by Anonymous Coward · · Score: 0

      Hey you idiot, this is for the source control, if you loaded the project normally it will connect to source control to get the status of each file, if you choose to load the project for readonly you will just be able to read code and not change it whatsoever

  7. Re:oh by DragonWriter · · Score: 1

    He also notes that the beta still lacks support for ASP.Net MVC, smart devices, and the .Net Micro Framework.

    So what does it do then, exactly??

    Traditional non-web programming for the desktop/laptop (that is, not a resource-constrained mobile device or embedded system) environment?

  8. Anyone even using VS 2008 yet? by tylersoze · · Score: 3, Informative

    Heck no one I've worked with has even upgraded to 2008 yet, it's been either VS 2005 or 2003.

    1. Re:Anyone even using VS 2008 yet? by snl2587 · · Score: 1

      I'm using 2008. Do I get a cookie?

    2. Re:Anyone even using VS 2008 yet? by rob1980 · · Score: 2, Funny

      Me too. Chocolate chip plz!

    3. Re:Anyone even using VS 2008 yet? by sys.stdout.write · · Score: 4, Informative

      We run it at work. It is pretty much the same as VS 2005. The only relevant advantage that I see is access to the .NET 3.5 Framework, which may or may not matter to you depending on what you guys program.

    4. Re:Anyone even using VS 2008 yet? by sys.stdout.write · · Score: 2, Funny

      What am I saying? Of course it matters to you - you get a free Firefox extension with it!

    5. Re:Anyone even using VS 2008 yet? by zlogic · · Score: 1

      Visual C++ hasn't changed much since VS 2002. In fact it looks abandoned compared to .NET languages, it has worse Intellisense, debugging and code formatting. And no refactoring or decent GUI toolkit. Both MFC and Win32 API are incredibly difficult to code.

      2008 has a lot of nice features, but only for .NET.

    6. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 0

      do you even use vc? VC has had great improvement in term of standard compliance over the years, both in compiler and libary. In that front, it is close to GCC. In 2008 and 2008 sp1 it even included a lot of TR1 features and enhanced MFC with ribbon support.

      When will people learn listening, instead of talking about things they don't know.

    7. Re:Anyone even using VS 2008 yet? by shutdown+-p+now · · Score: 3, Informative

      We run it at work. It is pretty much the same as VS 2005.

      If you use it for C++ development, then the C++ compiler in 2008 has better standard compliance, and some nasty bugs in the libraries are fixed. Also, VS2008 SP1 adds C++ TR1 stuff.

    8. Re:Anyone even using VS 2008 yet? by Amazing+Quantum+Man · · Score: 3, Funny

      No, but you do get an add-in for FireFox... no questions asked!

      --
      Fascism starts when the efficiency of the government becomes more important than the rights of the people.
    9. Re:Anyone even using VS 2008 yet? by Acer500 · · Score: 1

      I am, and I'm extremely happy with it (of course I migrated from VB 6, so anything would look good).

      I'm probably at the "feature abuse" level, but I'm in love with LINQ, the amount of help you get from the IDE for everything is great, and it saves time like nobody's business.

      I've used Eclipse for university projects until I graduated a couple years ago, and while it was good, VS 2008 blows it away (to be fair I should compare the current version of Eclipse though).

      On to the dark side of the framework, the Entity Framework is AWFUL at this stage... I guess that it will become useable by version 3.0. We'll be looking into NHibernate and other options soon. And Microsoft is still behind on a lot of AJAXy stuff, the Web side is still in need of more polish - some stuff, like the AJAX panels, is bloated, and it's far easier to do a trillion postbacks than to work with Javascript with the IDE.

      I'm really looking forward to VS 2010 due to its improved Javascript support, so it might address some of the current limitations.

      --
      There are three kinds of lies: lies, damned lies, and statistics.
    10. Re:Anyone even using VS 2008 yet? by AndrewNeo · · Score: 1

      Pshaw, you know your name should be System.Console.Write!

    11. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 0

      The .NET 3.5 framework is completely accessible with VS 2005. Just add a reference to System.Core to your project. What you're mainly missing by not upgrading to 2008 are compiler features like LINQ (Or rather, the syntactic-sugary syntax for it. Everything that the sugary version gets transformed into is in the framework.) and lambda expressions.

    12. Re:Anyone even using VS 2008 yet? by shutdown+-p+now · · Score: 4, Informative

      Visual C++ hasn't changed much since VS 2002.

      Eh? It's got C++/CLI since then, for starters. It has become much closer to ISO C++ (before 2003 it was a total joke, it didn't even get the scope of the for loop right - and 2003 was only so-so). It's got checked STL containers & iterators in 2005, and C++TR1 in 2008. And it is getting significantly improved code completion, and on-the-fly error checking in 2010. Doesn't sound "abandoned" to me.

      On the language front, Visual C++ in 2010 gets a bunch of C++0x features: lambdas, type inference (auto), static_assert , rvalue references (&&), and decltype. This is quite a lot, and lambdas are especially nice since they actually let you use STL algorithms as God intended without writing tons of boilerplate code for function objects.

      Then also there's Parallel Patterns Library, which provides STL-like algorithms with automatic parallelization.

      And no refactoring

      This one is interesting. I do not know of any C++ IDE or plugin that would provide working C++ refactoring, for very simple reason - it is extremely hard to properly parse C++, taking into account all templates and template specializations, and other context-dependent things. Heck, something like a<b>c can be parsed either as expression (a < b) > c, or as a variable declaration a<b> c, depending on the context - and that context, again, includes template instantiations, which form a Turing-complete language that has to be interpreted correctly to produce matching results. I once wrote a C++ program, for fun, which had in it a piece of code as described above, which was parsed and compiled either as expression or as variable declaration depending on whether char type was signed or unsigned was for a given compiler - so you could play with compiler options and get different results. How can IDE possibly handle this?

      You can say that it does it for code completion, but the truth is that a lot of it is guessing and heuristics. And there's the catch - when it guesses wrong, at worst, you get a wrong code completion list, or no list at all. But when you do a refactoring like, say, "rename class", and it fails to correctly determine that the class is referenced at some line of code, and doesn't rename it there, then your program no longer compiles...

      That said, VS2010 IDE C++ parser (used for code completion and "Go to definition") is EDG-based, so it should be much more accurate - so hopefully we'll get reliable C++ refactoring eventually. Just not in this release.

      ... decent GUI toolkit. Both MFC and Win32 API are incredibly difficult to code.

      I agree with that, but there are many good third-party libraries out there - most notably, Qt.

    13. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 1, Informative

      I have upgraded to VS 2008 (It required much teeth pulling and a 'conference' with 'The Architect' out back with a baseball bat). The best things available out of the box with VS 2008 are these: Target multiple versions of .NET Framework (2008 can work with .NET 2.0, 3.0 and 3.5, no more direct correlation between .NET and VS versions), WCF and LINQ. The interface seems to be a bit more stable too, but I digress...

    14. Re:Anyone even using VS 2008 yet? by Xest · · Score: 1

      Yes, it has much better intellisense which is the most glaring feature because it's the one that you encounter every second whilst programming.

      Makes writing code a breeze, as a fairly fast touch typist, not having to type the full variable never ever because the intellisense is generally good enough to get the right variable/function name the first time (due to the fact it narrows down not just by name, but by context) I can churn out code like no tommorrow. You can put together a full, fairly complex line of code with only a few keypresses.

    15. Re:Anyone even using VS 2008 yet? by hviniciusg · · Score: 1

      Yes i do, and i'm loving it.

      specially Linq.

    16. Re:Anyone even using VS 2008 yet? by TheRealMindChild · · Score: 1

      How about being able to target .NET 1.1, 2.0, 3.0, or 3.5? I thought that was pretty significant. Before, if you wanted to target .NET 1.1, you had to use VS 2003. If you wanted to target 2.0, you had to use 2005. With 2008, you can target any of them.

      --

      "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
    17. Re:Anyone even using VS 2008 yet? by sys.stdout.write · · Score: 1

      Touche :-)

      That being said, some of us aren't lucky enough to choose the language we program in at work. I assure you I'd be using Python over .NET if I had the choice.

    18. Re:Anyone even using VS 2008 yet? by zlogic · · Score: 3, Interesting

      Eclipse does C++ refactoring, I think Netbeans can do it too. I've used Eclipse for renaming values, implementing methods and generating getters/setters, it didn't ever break anything and showed all code that was about to be changed before doing something irreversible. Even if it breaks something, there's Local History which acts as a simple version control server, committing code on every save operation.
      If a compiler can parse the code, the IDE should be capable of doing that.

    19. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 0

      Funny, because I don't know anyone who hasn't upgraded yet.

    20. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 0

      There are a few C++ refactoring add-ins for Visual Studio
      Refactor! for C++
      Visual Assist X

      C++ can be very hard to parse but most of the time the refactoring tools work.

    21. Re:Anyone even using VS 2008 yet? by shutdown+-p+now · · Score: 2, Insightful

      Eclipse does C++ refactoring, I think Netbeans can do it too. I've used Eclipse for renaming values, implementing methods and generating getters/setters, it didn't ever break anything

      Did you use it with more-or-less advanced templates (e.g. anything that actively uses STL or Boost)?

      If a compiler can parse the code, the IDE should be capable of doing that.

      A compiler parses the code once. It doesn't have to reparse the code constantly as you keep typing or deleting lines, and to do it fast enough that the updates are near-realtime, and yet the user doesn't complain about the sluggishness.

    22. Re:Anyone even using VS 2008 yet? by AceMarkE · · Score: 1

      Actually, I think the Eclipse CDT plugin provides some amount of C++ refactoring. I know it can at least do some simple variable renaming, since I did that the other day. Not sure how much it can do beyond that, though.

      Other than that, yeah, automated refactoring is just going to be much harder for C++ than for most other languages.

    23. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 0

      Yeah, just 3.5 access. And much improved stability for large projects. Throw in ReSharper 4.0 in VS 2008 and you have an environment which I have yet to see even close to matched in any other IDE.

    24. Re:Anyone even using VS 2008 yet? by Tolkien · · Score: 1

      Ditto.

    25. Re:Anyone even using VS 2008 yet? by jbabco · · Score: 1

      How about being able to target .NET 1.1, 2.0, 3.0, or 3.5? I thought that was pretty significant. Before, if you wanted to target .NET 1.1, you had to use VS 2003. If you wanted to target 2.0, you had to use 2005. With 2008, you can target any of them.

      Not exactly. You can't target any pre-2.0 framework with VS 2005/08/10. It's unfortunate, and is the reason our developers still have to keep a copy of VS 2002 around. There was a community attempt to write a MSBuild extension that could target fw 1.1, but I'm not sure what the status of it is.

    26. Re:Anyone even using VS 2008 yet? by drfreak · · Score: 1

      I'll go one more. I've already moved a couple of projects to VS 2010 to use Parallel.For(); when parsing and creating large text files. Previously, I was using the Task Parallel Library CTP for this in VS 2008. It's super fast on a Quad-Core PC.

    27. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 0

      I still mostly use Visual Studio 6.0 even though I have VS 2005 on my system.

    28. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 0

      at my work, we're still a VS 2003 shop...only because we are too lazy to upgrade our (literally) 1 million lines of code to 2005/2008. And some of the 3rd party tools that we use only support VS 2003, so we'd have to upgrade those tools as well to work.

    29. Re:Anyone even using VS 2008 yet? by Anonymous Coward · · Score: 0

      Great, it'll go well with the Yahoo toolbar that the Java update installed.

    30. Re:Anyone even using VS 2008 yet? by pebs · · Score: 2, Informative

      I have all three installed - 2008, 2005, and 2003, though I mainly use 2008 these days (just have the other ones around just in case). I don't get what people like about Visual Studio. I personally like Eclipse much much better, and like using Emacs even better than that. Maybe I'm just scarred from having to use Visual Studio's awful Winforms designer. But they could do so much more for C# editing. Intellisense is good and all, but they should look at Eclipse's quick fixes and try pressing CTRL-1 and CTRL-. (Cmd instead of CTRL if you're on a Mac) and all the little shortcuts that allow you breeze through writing Java code in Eclipse. That said, the code editor is fairly good in 2008, just not as good as the competition as far as editing for a verbose language is concerned, and there's very little in VS that really impresses me.

      --
      #!/
    31. Re:Anyone even using VS 2008 yet? by alexo · · Score: 1

      There are a few C++ refactoring add-ins for Visual Studio
      Refactor! for C++
      Visual Assist X

      How do these two compare?

    32. Re:Anyone even using VS 2008 yet? by enantiomer2000 · · Score: 1

      I am using VS2008 for a WPF/WCF project. Do I get 2 cookies?

    33. Re:Anyone even using VS 2008 yet? by oiron · · Score: 3, Insightful

      And it is getting significantly improved code completion, and on-the-fly error checking in 2010.

      If you read the comments in that post, it looks like C++/CLI isn't supported by the new, improved intellisense.

      Honestly, we took to calling it "Intellinonsense" at work, given the number of times it fails to complete; you can rate it by failures per second...

      Doesn't sound "abandoned" to me.

      On the language front, Visual C++ in 2010 gets a bunch of C++0x features: lambdas, type inference (auto), static_assert , rvalue references (&&), and decltype. This is quite a lot, and lambdas are especially nice since they actually let you use STL algorithms as God intended without writing tons of boilerplate code for function objects.

      Then also there's Parallel Patterns Library, which provides STL-like algorithms with automatic parallelization.

      Yes, the actual c++ compiler and library support has definitely improved. But there seems to be no corresponding improvement in the IDE's functionality. When Visual Assist X becomes a requirement for working with any kind of productivity, it's a rather sad situation. You've got to spend on VS, and then on VA-X for every developer, when the alternative is eclipse with mingw, giving all those above-mentioned features (aka, parts of the standard) for free, and a real usable IDE along with that!

      This one is interesting. I do not know of any C++ IDE or plugin that would provide working C++ refactoring, for very simple reason - it is extremely hard to properly parse C++, taking into account all templates and template specializations, and other context-dependent things. Heck, something like a<b>c can be parsed either as expression (a < b) > c, or as a variable declaration a<b> c, depending on the context - and that context, again, includes template instantiations, which form a Turing-complete language that has to be interpreted correctly to produce matching results. I once wrote a C++ program, for fun, which had in it a piece of code as described above, which was parsed and compiled either as expression or as variable declaration depending on whether char type was signed or unsigned was for a given compiler - so you could play with compiler options and get different results. How can IDE possibly handle this?

      You can say that it does it for code completion, but the truth is that a lot of it is guessing and heuristics. And there's the catch - when it guesses wrong, at worst, you get a wrong code completion list, or no list at all. But when you do a refactoring like, say, "rename class", and it fails to correctly determine that the class is referenced at some line of code, and doesn't rename it there, then your program no longer compiles...

      That said, VS2010 IDE C++ parser (used for code completion and "Go to definition") is EDG-based, so it should be much more accurate - so hopefully we'll get reliable C++ refactoring eventually. Just not in this release.

      Eclipse and the still-in-beta KDevelop 4.x give you at least some basic refactoring support. Eclipse has done so for a few years now...

      I agree with that, but there are many good thir

    34. Re:Anyone even using VS 2008 yet? by shutdown+-p+now · · Score: 1

      If you read the comments in that post, it looks like C++/CLI isn't supported by the new, improved intellisense.

      Yes, and it's sad - but if it dramatically improves the quality of IntelliSense for native code, then I'm for it.

      Speaking of IntelliSense - VC++ is still the only IDE I know of that can tell that std::vector<bool> has member function flip(), but not any other instance of std::vector template. That's 2008 by the way, not even 2010.

      Yes, the actual c++ compiler and library support has definitely improved. But there seems to be no corresponding improvement in the IDE's functionality. When Visual Assist X becomes a requirement for working with any kind of productivity, it's a rather sad situation. You've got to spend on VS, and then on VA-X for every developer, when the alternative is eclipse with mingw, giving all those above-mentioned features (aka, parts of the standard) for free, and a real usable IDE along with that!

      Do you mean to imply that Eclipse CDT can do code completion and other such things better that standalone VS, much less with Visual Assist? Because, at least as far as code completion goes, I didn't find it (CDT) particularly well working last time I checked. It can handle C well, and trivial C++ with no templates, and that's about it.

      Or, you could write in C++/CLI and use the .Net UI

      You can, but using C++/CLI that way isn't a well supported or recommended scenario since at least VS2008. Officially, it's intended for interop scenarios, and not to be used as a primary language of the project. Definitely not for UI work. Even the existing WinForms designer has a number of bugs when working with C++/CLI, that, to the best of my knowledge, were never fixed.

      Personally, I use Visual Studio at work, because I'm in a C++/C# shop right now. If it were upto me, I'd drop the damn thing like a hot potato and use C++/Python/Java from Eclipse, and do it at no additional cost, too!

      I'm genuinely interested - is it because of the price difference, or because you feel that Eclipse is a better C++ IDE overall (and if so, what things are you missing in VS compared to Eclipse?), or because you like Java over C#, or you just want to be cross-platform as much as possible - or something else?

    35. Re:Anyone even using VS 2008 yet? by Noughmad · · Score: 1

      Speaking of IntelliSense - VC++ is still the only IDE I know of that can tell that std::vector has member function flip(), but not any other instance of std::vector template. That's 2008 by the way, not even 2010.

      I just checked, KDevelop4 tells that correctly. Then again it's still in beta so probably not for production.

      --
      PlusFive Slashdot reader for Android. Can post comments.
    36. Re:Anyone even using VS 2008 yet? by shutdown+-p+now · · Score: 1

      Good to hear. Another interesting test is to see how it handles template arguments used in return types - e.g.:

      std::vector<std::string> vs;
      vs[0]. // should list members of std::string

      If it handles that too, throw some std::tr1::bind and boost::lambda at it. It's where VS(2008) gets stuck, especially at the latter - I wonder if anyone has better luck there.

    37. Re:Anyone even using VS 2008 yet? by Noughmad · · Score: 1

      It does list members of std::string (since that it what vs[0] is). Unfortunately I really don't know how to use that bind/lambda thing :(

      --
      PlusFive Slashdot reader for Android. Can post comments.
    38. Re:Anyone even using VS 2008 yet? by jt2377 · · Score: 0

      I tried Eclipse while in College and it was god awful slow compare to Visual Studio(.Net 1.1). I have not tried Eclipse since.

    39. Re:Anyone even using VS 2008 yet? by shutdown+-p+now · · Score: 1

      Here are a few things to try, assuming you have up-to-date gcc (which comes with TR1):

      #include <functional>
      #include <string>
       
      using namespace std;
      using namespace std::tr1;
       
      string foo(int, int) { return 0; }
       
      struct bar
      {
        string baz() { return 0; }
      };
       
      int main()
      {
        string s1, s2;
        (s1 + s2).
        (s1 += s2).
        function<string()>()().
        function<string(int)>()(1).
        bind(foo, 1, 2)().
        bind(foo, 1)(2).
        bind(&bar::baz, (bar*)0)().
      }

      In all cases it should list members of std::string after the dot. VS screws up on almost all of them - it can't understand operator() on std::tr1::function, and it doesn't even display the declaration of std::tr1::bind at all, much less handle its return type. It also doesn't seem to find operator+ for strings, and realize that the return type is string as well. It does however find operator += - I think it's because += is a class member, while + is just a friend global operator.

    40. Re:Anyone even using VS 2008 yet? by complete+loony · · Score: 1

      Which is one of the reasons I'm hoping clang can live up to its own hype.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    41. Re:Anyone even using VS 2008 yet? by zlogic · · Score: 1

      Did you use it with more-or-less advanced templates (e.g. anything that actively uses STL or Boost)?

      Unfortunately, no. But things like STL iterators and boost::shared_ptr's are correctly recognized by the autocomplete engine.

      A compiler parses the code once. It doesn't have to reparse the code constantly as you keep typing or deleting lines, and to do it fast enough that the updates are near-realtime, and yet the user doesn't complain about the sluggishness.

      Eclipse does a background reparse for every file after it's saved. And stores the data in an internal database (*.pdom), it's actually quite fast. Visual Studio does the same for autocompletes, creating an *.ncb database.

    42. Re:Anyone even using VS 2008 yet? by pebs · · Score: 2, Interesting

      I tried Eclipse while in College and it was god awful slow compare to Visual Studio(.Net 1.1). I have not tried Eclipse since.

      And this is supposed to be relevant now, how?

      I've actually found that all versions of Visual Studio are unbearable slow, even if you have 4GB of RAM, have recent hardware, and it's the only thing running. 2005 was actually slower than 2003. 2008 is about the same speed as 2005 in my subjective observations, though it is doing more in the background now, so I guess its a net gain.

      Eclipse is blazing fast in comparison, and I don't consider Eclipse to be any sort of speed demon. If it's slow for you, you probably just haven't tweaked the JVM settings yet (which is necessary, especially if you use a lot of plugins). Also remember that, by default, it's constantly compiling every change you make (at least in Java), but you can turn that off if you like (I don't, I like my compilation errors reported right away).

      I'd of course rather be using Emacs than either of those pigs, and use it for anything that's not Java/C#. It's funny, because back in the day Emacs was the pig. Now it's lightweight in comparison to the alternatives.

      --
      #!/
    43. Re:Anyone even using VS 2008 yet? by koreaman · · Score: 1

      My boss is something of a Microsoft fanboy. I run VS2008 on XP at work (doing ASP.NET development).

      Here's hoping VS 2010 will have better support for JavaScript...

    44. Re:Anyone even using VS 2008 yet? by koreaman · · Score: 1

      You are trolling. I often have Visual Studio 2008, ASP.Net on IIS, and several instances of IE8 with several tabs each open, some of them running complex AJAX appliations, and Outlook and OneNote 2007, all open at the same time on my 1-GB XP machine. Works fine. Not snappy and definitely spins up the hard drive, but certainly usable. If you have 4GB (and you don't have some other bottleneck, like a dirt-old processor) you should have zero problems running any version of Visual Studio.

    45. Re:Anyone even using VS 2008 yet? by shutdown+-p+now · · Score: 1

      Eclipse does a background reparse for every file after it's saved. And stores the data in an internal database (*.pdom), it's actually quite fast. Visual Studio does the same for autocompletes, creating an *.ncb database.

      I'm not sure about VS2008 (though it definitely does pick up local variable declarations for code completion without need to save the file), but VS2010 definitely doesn't restrict reparse to on-save only. It actually tries to intelligently parse those parts of the file that are affected by your edits right as you make them.

    46. Re:Anyone even using VS 2008 yet? by ion.simon.c · · Score: 1

      I haven't built KDev4 in a month or so. Have they added even rudimentary GDB integration yet?

    47. Re:Anyone even using VS 2008 yet? by oiron · · Score: 1

      Yes, and it's sad - but if it dramatically improves the quality of IntelliSense for native code, then I'm for it.

      Me too, but using C++/CLI is difficult enough as it is, without the lack of any kind of code completion...

      Speaking of IntelliSense - VC++ is still the only IDE I know of that can tell that std::vector<bool> has member function flip(), but not any other instance of std::vector template. That's 2008 by the way, not even 2010.

      As others said, KDev 4 seems to do it, but CDT just chokes...

      Do you mean to imply that Eclipse CDT can do code completion and other such things better that standalone VS, much less with Visual Assist? Because, at least as far as code completion goes, I didn't find it (CDT) particularly well working last time I checked. It can handle C well, and trivial C++ with no templates, and that's about it.

      Well, I'd rather have trivial code completion that works every time, rather than see "Intellisense failed, look at the unhelpful help page" about 75% of the time, and spot-on completion for some corner cases. I can handle those corner cases by myself, if I have a stable autocomplete to discover basic information...

      You can, but using C++/CLI that way isn't a well supported or recommended scenario since at least VS2008. Officially, it's intended for interop scenarios, and not to be used as a primary language of the project. Definitely not for UI work. Even the existing WinForms designer has a number of bugs when working with C++/CLI, that, to the best of my knowledge, were never fixed.

      My point, exactly! Your choices on C++ GUI development are:

      • Kill your productivity with Win32API
      • Servings of spaghetti ala MFC
      • An officially-unsupported-in-this-context C++/CLI (also, it's slow as hell)
      • Write your GUI in C# and deal with the places where C# can't handle pointers to your objects
      • Use a 3rd party toolkit like Qt or Wx...

      I'm genuinely interested - is it because of the price difference, or because you feel that Eclipse is a better C++ IDE overall (and if so, what things are you missing in VS compared to Eclipse?), or because you like Java over C#, or you just want to be cross-platform as much as possible - or something else?

      Bit of all, actually... I feel that VS is just not worth the money, if we need to spend on VAX on top of that, and I find that generally many of the other things that Eclipse gives are far more useful than VS. For example, SCM integration is much better in Eclipse (CVS and SVN - SVN has Ankh, CVS has nothing), and like I said earlier, a stable autocompletion is better than a perfect one.

      Just so I don't come across as a total MS hater, I definitely prefer C# as a language over Java - it feels much more integrated and powerful. But given all the points in favour of Eclipse, I'd rather deal with Java than with bad C++. Also, Java is more standard for writing browser applets if ever the need arises. The best that MS and VS can offer is Silverlight - no Linux client that does anything useful...

    48. Re:Anyone even using VS 2008 yet? by oiron · · Score: 1

      Handles the + and += quite well, but chokes on function and bind... I don't have a TR1 environment (gcc 4.3.2 here), so I tried using Boost.

    49. Re:Anyone even using VS 2008 yet? by oiron · · Score: 1

      It exists... That's the most one can say...

    50. Re:Anyone even using VS 2008 yet? by jsight · · Score: 1

      If you have 4GB (and you don't have some other bottleneck, like a dirt-old processor) you should have zero problems running any version of Visual Studio.

      Thats true.

      But get used to Eclipse on the same machine and it'll still seem extremely slow.

    51. Re:Anyone even using VS 2008 yet? by badkarmadayaccount · · Score: 1

      You code in .NET assembly? Hard core.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  9. I tried it, not impressed. by Anonymous Coward · · Score: 0

    I heavily use both Visual Studio 2005 and 2008, so I was excited to use 2010. The thing I found most obnoxious about it was the the text in the code editor was blurry at normal font settings (Consolas 10pt).

    Let me restate that. The text in the primary window of the software that you will be staring at for hours daily... is blurry.

    How on earth did that get past QA?

    1. Re:I tried it, not impressed. by Photo_Nut · · Score: 4, Informative

      I heavily use both Visual Studio 2005 and 2008, so I was excited to use 2010. The thing I found most obnoxious about it was the the text in the code editor was blurry at normal font settings (Consolas 10pt). Let me restate that. The text in the primary window of the software that you will be staring at for hours daily... is blurry. How on earth did that get past QA?

      Section 2.4.2.2 of the Readme describes why the code can appear blurry:

      2.4.2.2 Text may appear slightly blurry
      Text may appear slightly blurry. This can occur with any font, although different users may see different fonts as more or less blurred. MSGothic, the default font for Japanese system locales, is known to be more blurred than other fonts.

      To resolve this issue:

      We recommend that you keep the default fonts for Visual Studio, for example, Consolas for English SKUs of Visual Studio 2010. There is no alternative that is consistently sharper than MSGothic for Japanese characters, although some users find Meiryo more readable.

      TrueType fonts are the least blurred of the non-default fonts. These fonts appear in bold in the font list on the Fonts and Colors page of the Options dialog box (Tools menu, Options, Environment, Fonts and Colors). The WPF and Visual Studio teams are working to improve font rendering in the text editor before the release of Visual Studio 2010.

      You can also take a look at this white paper for more information on the issue.
      The ClearType Tuner PowerToy can also help. If you are running Windows 7, it's built into the control panel.

    2. Re:I tried it, not impressed. by Anonymous Coward · · Score: 4, Informative

      Sadly the real problem is that it uses Windows Presentation Foundation, which renders text in an idealized grid rather than snapping glyphs to a pixel grid. In other words it renders the font exactly as it is supposed to look, and then blends this into the pixel grid, which makes it appear blurry. GDI, on the other hand, will deform the glyphs to fit them into the pixel grid thus offering better readability at the expense of accuracy.

      WPF can't render aliased text either, which some people prefer, and also has a silly text animation system that will wait a second before doing the blending meaning (to prevent scrolling artifacts) so that if you scroll fast you'll initially get really blurry text that gradually turns somewhat clearer.

      These are well-known problems with WPF, and has always been pushed as "by design" even though it results in horrible text. Microsoft seems to have changed their tune lately and will apparently be adressing the problem in .NET 4. I suspect the reason is because VS 2010 now uses it and the poor text quality was just not acceptable for an application like that.

      Messing with the ClearType settings in Windows doesn't really help much, as WPF's renderer is completely separate.

      WPF is just a big mess really, and far too complex. I'm all for a new GUI toolkit (even though it's .NET-based), but WPF just isn't it.

    3. Re:I tried it, not impressed. by shutdown+-p+now · · Score: 4, Informative

      The ClearType Tuner PowerToy [microsoft.com] can also help.

      It will not, since it only tunes Windows's built-in ClearType renderer. Visual Studio uses WPF, which has its own renderer. There isn't really anything you can do to make it better.

      That said, the blurriness is recognized as a problem, and will be fixed for 2010:

      We are replacing WPF's text rendering stack in WPF 4.0, and this should allow you to render text with comparable sharpness to what you're used to with GDI. The reason the existing text stack in WPF looks blurrier than GDI's is that GDI text is typically rendered with Compatible Width Layout, whereas WPF's existing text stack always uses Ideal Width Layout. Compatible Width Layout snaps glyphs to pixel boundaries, Ideal Width does not, which is why WPF's text looks blurrier than GDI's. WPF's existing text stack also does not support use of the embedded bitmaps that are included in many fonts and are intended to be used when rendering at smaller sizes.

      The new text stack in WPF 4.0 will allow Compatible Width Layout, and it will also support embedded font bitmaps. We believe this will solve all of our text blurriness issues.

      Thanks!
      -The WPF Graphics Team

      It just didn't get into beta 1 yet.

    4. Re:I tried it, not impressed. by enantiomer2000 · · Score: 1

      Uh.. Actually, I love programming in WPF. Such rich databinding techniques and comprehensive (now that they finally introduced the datagrid and calendar) libraries. With it, I can program with a whole bunch of jazzy buzzwords like MVVM.

    5. Re:I tried it, not impressed. by CplusplusDude · · Score: 1

      I heavily use both Visual Studio 2005 and 2008, so I was excited to use 2010. The thing I found most obnoxious about it was the the text in the code editor was blurry at normal font settings (Consolas 10pt).

      The editor has a new feature: dynamic font resizing. Press ctrl + mouse scroll to change the font size (affects only one document tab). I find this a great feature compared to other IDEs where you have to go through multiple menus to change the font size.

    6. Re:I tried it, not impressed. by Anonymous Coward · · Score: 0

      Thanks for the post!

      This has been a minor complaint from our QA dept with some of our WPF prototypes over the past few months, and no one had an explanation.

      I'll be passing this along Monday. :)

    7. Re:I tried it, not impressed. by triffid_98 · · Score: 1

      WPF is just a big mess really, and far too complex. I'm all for a new GUI toolkit (even though it's .NET-based), but WPF just isn't it.

      I don't know. It has it's warts, but you can't argue that it makes developing custom controls a heck of a lot easier.

      ...Now if MS could just make AJAX integration a little nicer. Their auto-generated jscript code is nice if that's really what you wanted but tweaking it when it isn't definitely takes some getting used to.

      For the record, I've worked in Eclipse, Netbeans, JEdit, VS03/05/08, Turbo Pascal, emacs and vi. I quite like studio, even if they did totally rip it off from Borland.

    8. Re:I tried it, not impressed. by Anonymous Coward · · Score: 0

      Well I hope to hell that is the case, since I will want to slit my wrists if I have to work with the blurry text rendering that Beta1 currently exhibits.

    9. Re:I tried it, not impressed. by Acer500 · · Score: 1

      Ouch. Thanks for the information.... we're looking into using WPF for new developments at work... but text HAS to look sharp, as the gp said, it's what users will be staring into for hours.

      --
      There are three kinds of lies: lies, damned lies, and statistics.
  10. Themes by wzinc · · Score: 2, Interesting

    Whenever MS apps get themes, Office 2k7 for example, they get slower. I'll admit VS 2k10 does look nicer, it really does, but even my Core i7 with cheetah blood thermal compound sits there drawing slow UI. MS, please use native widgets, allow us to disable theming, or whatever it takes to make it go as fast as 2k8.

    1. Re:Themes by WarwickRyan · · Score: 4, Informative

      Yes, it is slower. However, being able to put form designer on one monitor and code-view on another makes it all worth while.

    2. Re:Themes by wzinc · · Score: 1

      Oh, you can do that?!? I'll have to look more into it.

    3. Re:Themes by shutdown+-p+now · · Score: 1

      Yes - you can now drag any document tab out of Visual Studio main window, just as you could to with toolwindows in earlier versions. You can also dock them to window edges, etc.

    4. Re:Themes by WarwickRyan · · Score: 2, Interesting

      Yup, but you can't dock things onto both monitors. Which is a shame, because if you could configure everything with docking and then save the settings per task it'd rock.

      Imagine being able to configure the IDE for the following function with full docking:

      a) Form design. Form designer with toolbox on one screen. Codebehind with solution explorer and the build/fault box on the other.

      b) Object orientated development. Code window on one screen, vertically orientated widescreen, book style. Class and Solution explorer on the second screen, orientated horizontally. Probably space for an webbrowser / documentation there too.

      c) Debugging. Debug screens one one screen (code window, console, call stack, watch window) and production code the other (same as most people do in 2005).

      If I could define those configurations, save them to the menu and then change at will it'd rock.

    5. Re:Themes by shutdown+-p+now · · Score: 1

      Yup, but you can't dock things onto both monitors.

      Can you clarify what you mean by "docking things onto a monitor"? Do you mean docking to screen edges?

    6. Re:Themes by snkline · · Score: 1

      This is one of the features I've been looking forward to in 2010, and while it is nice in the beta, I hope they can improve upon it before release. I think the most irksome thing, is that while the windows can float, they are still linked to the main interface. So for example, if I've pulled a code window out to my right monitor, and bring something up above Visual Studio in my left monitor, as soon as I click the code window VS in my left monitor comes to the front. If I minimize VS, the ripped away code window goes away as well. Furthermore, you have only basic sizing control of the torn away window, you can't individually minimize it. I have no idea if these things are even something they could do with the new WPF UI architecture, but they would be nice.

    7. Re:Themes by IICV · · Score: 1

      I'll admit VS 2k10 does look nicer, it really does, but even my Core i7 with cheetah blood thermal compound sits there drawing slow UI.

      ... what.

    8. Re:Themes by WarwickRyan · · Score: 1

      Well, you have these 'docking points' on monitor 1. There are 6 IIRC - two to each side and one above/below. When you dock the window into these places, they stay maximised and in the relevent corner.

      On the second monitor they're just floating windows. Meaning no maximise = you're left with seeing really big borders = annoying.

      That's on Vista with Aero..

  11. Re:Let me get this out of the way... by thetoadwarrior · · Score: 0, Troll

    I have used Visual Studio and got bored with it. Point & Click programming isn't cool.

  12. Re:oh by whitefang1121 · · Score: 0, Funny

    Where is my +1 gross button, cause that deserves it

  13. Not just parallel by shutdown+-p+now · · Score: 5, Interesting

    ParallelFX is definitely interesting, but I'd say that another very major addition is Visual F# - to the best of my knowledge, this is the first time a primarily functional language goes mainstream, and gets documentation, tooling (IDE/debugging/profiling), and general support on par with the likes of C# and VB. It's not Haskell (read: no typeclasses), and it's not quite OCaml either (no functors), even though the core language is recognizably ML. But it's got most of the nice FP bits OCaml has to offer, some syntactic sugar on top of that (e.g. ability to declare locals as mutable when needed, and arithmetic operators overloaded for all numeric types), and it's got direct and full access to one of the largest class libraries on the market today.

    (I'm sure someone will remind me of Scala, which is in many ways similar to F#. It's definitely comparable, but its tooling support is lagging behind, and, most importantly, it's not backed by any of the "big players" in Java land - not Sun, not Google, not IBM - or indeed, any other company.)

    The second, smaller, but still interesting bit is improved language interop. It seems that, as new core (i.e. MS-supported) .NET languages are added to the batch, the framework itself is extended as needed to provide primitives for them where more than one language uses them. For example, both F# and IronPython work with tuples, but they have previously each defined their own type for that - and so .NET 4 introduces the standard System.Tuple type, and all languages are changed to use that. So now you can actually make a tuple in IronPython, and pattern-match it in F# - nice.

    Another bit along the same lines is C# 4 dynamic type - which is nothing but opt-in duck typing - and the associated DLR framework for exposing runtime dynamic type information in a common way. This means that static/dynamic language interop on .NET is now two-way - previously, you could easily call C# class methods from IronPython/IronRuby, but there was no easy way to call methods on IronPython/IronRuby objects in C# - but now you can do the latter just as easily.

    1. Re:Not just parallel by Abcd1234 · · Score: 1

      the first time a primarily functional language goes mainstream, and gets documentation, tooling (IDE/debugging/profiling), and general support on par with the likes of C# and VB.

      a) Being included in VS != mainstream. We'll see if it actually gets used by anyone (I'm betting not, but who knows, I could be wrong), and

      b) Erlang, a functional language, has had quite advanced tooling (fancy IDE, GUI builder, debugger, etc) for some time now (and it wouldn't surprise me if other languages did, as well).

    2. Re:Not just parallel by shutdown+-p+now · · Score: 0

      Being included in VS != mainstream. We'll see if it actually gets used by anyone (I'm betting not, but who knows, I could be wrong)

      It's already being used by some companies. The fact that you do not know about it doesn't mean that it doesn't happen - and I apologize that I can't be more specific... :)

      It just happens to have a fairly specific target niche, which is financial and scientific calculations. It's not something you're supposed to write your shiny WPF UI applications in (even though you can).

      By the way, one nice F#-specific feature that I've missed is units of measurement in the type system (the only other language I know that has that is Fortress, and then there's a C++ template library for that in Boost). Again, it's obviously most useful in scientific and engineering computations.

    3. Re:Not just parallel by EvanED · · Score: 1

      Not to disagree, but the nice thing about this is that if you're doing .Net programming, my impression is it should be pretty easy to integrate F# code into your project, easier than most foreign function interfaces since F# is complied to .Net classes behind the scenes anyway.

    4. Re:Not just parallel by Abcd1234 · · Score: 1

      It's already being used by some companies. The fact that you do not know about it doesn't mean that it doesn't happen - and I apologize that I can't be more specific... :)

      Hah, I believe you mean *a* company. ;)

      Again, we'll see... to be quite frank, I'm firmly convinced that functional programming is just far too confusing for most people, and so it'll never truly go mainstream (I can definitely see niche penetration, but that's not mainstream is it? :), regardless of the tooling and vendor support available. But, hey, I could be wrong.

      As an aside, F# does have one huge advantage going for it: the ability to very easily incorporate it as a component in a larger project that *is* implemented in a mainstream language. So you can write most of your app in nice, friendly C#, and use F# where its advantages really shine.

    5. Re:Not just parallel by Abcd1234 · · Score: 1

      Yeah, I can definitely agree with that. But that's hardly mainstream, at least as I define it. That is, accepted by developers as a language to do primary development in (similarly, assembly isn't mainstream, even though it's sometimes integrated into larger projects written in another language (eg, C)).

    6. Re:Not just parallel by shutdown+-p+now · · Score: 3, Insightful

      Again, we'll see... to be quite frank, I'm firmly convinced that functional programming is just far too confusing for most people, and so it'll never truly go mainstream (I can definitely see niche penetration, but that's not mainstream is it? :), regardless of the tooling and vendor support available. But, hey, I could be wrong.

      You're probably right regarding full-fledged FP, but FP techniques have certainly been making inroads in the last 10 years or so. First-class functions have gone from an arcane concept to something every mainstream language today has in one way or another (even Java has a castrated version of it in form of anonymous inner classes). Python, Ruby, and now C# programmers happily use map/filter/fold (or whatever it's called in their libraries) as opposed to hand-coding loops. And so on.

      To that extent, it should be noted that F# is not a pure functional language a la Haskell - it has mutable locals and fields, it has strictly imperative constructs such as loops or if-without-else, it is eager and not lazy, and it has well-defined evaluation order. In practice, it can just as easily be used as "advanced C#" - exploiting its better type inference, using pattern matching as a glorified typeswitch, and simply enjoying the little bits like inline array/list/sequence generators or anonymous objects - and ignore the traditional FP patterns and approaches. When used that way, it gets really close to Scala. And, in fact, I suspect that it's how most people on .NET will use it in the end.

      As an aside, F# does have one huge advantage going for it: the ability to very easily incorporate it as a component in a larger project that *is* implemented in a mainstream language. So you can write most of your app in nice, friendly C#, and use F# where its advantages really shine.

      That is very true, and the F# team has stated many times that it is indeed the intended goal. It's why VS2010 doesn't come with visual UI designers for F#, for example - it can be done, but what's the point? But if I need to e.g. write a parser for my .NET project, I would very strongly consider using F# + FParsec for it - it's just so much concise, easier, and more powerful than all available C# solutions.

    7. Re:Not just parallel by EvanED · · Score: 1

      Oh, I agree; there's a lot to be seen for whether or not it catches on at all, and it's definitely not mainstream yet.

      That said, for Microsoft shops, the overhead of using F# is probably less than almost any other functional language now, so there's a small chance it will actually take a little bit of a hold.

      (There are other things like SISC -- a Scheme implementation that runs on the JVM -- and IronPython (not really functional but definitely closer than, say, C) which runs on .Net, but none have the name behind it. Unfortunate as it is, that may may a small difference.)

      I don't expect F# to become mainstream, but it'd be nice to see it get some use.

    8. Re:Not just parallel by zerojoker · · Score: 1

      As someone who is currently doing academic programming in Ocaml, I can only agree and stress the significance of adding F#. Microsoft is actively pushing functional programming into the industry.
      Sure, I don't expect that it will reach the popularity of C# of VB.net, but coming from Ocaml, it's just fantastic:

      - finally a proper IDE with code completion and just... a _real_ IDE (sorry, but emacs + tuareg-mode is no comparison)

      - finally a usable debugger. The gdb-like thing deployed with ocaml is just a joke

      - proper documentation. I really have to credit Microsoft here for providing excellent documentation, even encouraging or paying capable authors to write a book

  14. Re:oh by Anonymous Coward · · Score: 0

    virgin

  15. programming environment for dummies by Anonymous Coward · · Score: 0

    it is just needed like everything else.

  16. Re:Let me get this out of the way... by Ethanol-fueled · · Score: 0, Troll

    I have used Slashdot and got bored with it. Cut and paste trolling isn't cool.

  17. Regarding C++ by xquark · · Score: 4, Informative

    Compatibility and conformance with standards (TR1), also going that extra step forward and implementing some of the upcoming 0x features I can truly say that since VS05 MS has gone a long way. WRT Language/IDE/Debug integration nothing comes close in the OSS world for the C++ language (and please don't say CDT, I've tried using 5 and it can't even do the simple C++ syntax properly let alone templates or even simple metaprograms).

    Disappointing/sad thing with VS10 is that a lot of the interesting source code metric/analysis stuff is only available for C++\CLI. For pure C++ code metrics I've been pinning my hopes for the past 5 years on someone getting around to implementing to-do #6 of doxygen.

    --
    Arash Partow's Philosophy: Be a person who knows what they don't know, and not a person who doesn't know.
  18. Great! by Saija · · Score: 0, Redundant

    For a living i've to code in .net & windows(well, there's some legacy in unix servers too but that's another story), and let me tell you: Visual Studio is awesome, i lets you develop some quick and dirty apps just easy, the intellisense feature and the forms designer are some of the best out there(yeah, i know, there's netbeans and qt designer, but francally, the netbeans designer, aka matisse has it's issues, the qt counterpart don't know much), but nothing that i know beats Vs.

    --
    Slashdot ya no es que lo era! ;)
    1. Re:Great! by sys.stdout.write · · Score: 1

      That was an 87 word sentence! This just might be a new record!

  19. Fix the D@mn Help Files by Nom+du+Keyboard · · Score: 1

    I wish they'd fix the d@mn VS help files. Visual Studio 5/6 had easy to read, easy to use help file system that reached its end with the MSDN Library of October 2001.

    The VS.NET help files have been Crap from the very beginning, and at least through 2008 have remained Crap to try to read and understand compared to their VS 6 predecessors. Whatever "genius" they hired to revamp the system into something more trendy should be stripped naked, dusted with itching powder, and hung out to rot!

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    1. Re:Fix the D@mn Help Files by twoDigitIq · · Score: 1

      I haven't used the VS help system since 6 either, but it's damn easy to just google it anyway.

  20. Re:Let me get this out of the way... by scumdamn · · Score: 1

    I use it and I actually write code. Of course I happen to prefer a fun, eclectic mix of XSLT, jquery, and ASP.Net. To be honest, I get a little gleeful when I crack open a new XSL stylesheet.

  21. Nice, yes, but perf issues... by tomk · · Score: 1

    I tried out VS2010 and found it to have some nice improvements; though nothing earth-shattering for me personally, it has some little things that are nice-to-have, and I can see how those things would improve productivity. But I had such severe performance problems I had to give up using it.

    In a solution with 12 C# projects and 3 C++ projects, compiling takes around 5 minutes (took under a minute with VS2008) and hangs the UI completely for nearly the entire time. It also seems to not honor dependencies quite right, because compiling a second time with changes in only one project without downstream dependencies still takes nearly as long.

    I sincerely hope Microsoft invests some more effort in the performance side of things prior to RTM, if they do, I'll be happy to upgrade.

  22. Anyone still using Visual Studio 6? by wandazulu · · Score: 2, Interesting

    VC6, to me, is the '57 Chevy of IDEs; it's out of date, lacking in features, isn't to everyone's tastes, but just keeps on runnin' with a strange magic that Microsoft has never been able to reproduce in its later versions. I've used every VS version since 2, and all the versions after 6 were plagued by bugginess, general slowness, and, here's the real subjective part, a feeling of fragility that I never experienced with VC6. I have used VS8 quite a bit and while I appreciate having a more up-to-date compiler (stupid BS "security warnings" aside), VC6 still, for whatever reason, remains the IDE I want to use if I have to write Windows-specific C++.

    Frankly, I don't *want* to use VC6, just like I don't want to put a bottle of lead-substitute into my gas tank every time I fill up, it's just that it has that perfect mix of speed, usefulness, and the ability to get out of my way that none of the .net versions have been able to capture.

    1. Re:Anyone still using Visual Studio 6? by harry666t · · Score: 1

      Long ago... VS6 was my first contact with C++. Well, yes, I'm young ;P

      I don't have any particular feelings about that tool... Just as I don't have about any other. I always use whatever fits the task, what I know the best, what I'm comfortable with. It's usually Emacs nowadays... It was VS6 back in the day because I was a clueless newbie, that is what I had at hand, and what has worked for me.

    2. Re:Anyone still using Visual Studio 6? by Anonymous Coward · · Score: 0

      I agree, I use 2008 now, but vc6 is still on my desktop, and whenever I fireup v6 I am amazed at the speed and quality. I long for a vc6 IDE with the updated features of 2008.

    3. Re:Anyone still using Visual Studio 6? by shutdown+-p+now · · Score: 1

      VC6, to me, is the '57 Chevy of IDEs; it's out of date, lacking in features, isn't to everyone's tastes, but just keeps on runnin' with a strange magic that Microsoft has never been able to reproduce in its later versions.

      Sufficiently advanced magic is not easily reproducible, even by those who have originally made it. ~

    4. Re:Anyone still using Visual Studio 6? by Anonymous Coward · · Score: 0

      FWIW, as a consultant, I still have clients who require VC++6, and even VB6. I have one client that still requires VC++1.52 (for DOS-based industrial control software).

      - T

    5. Re:Anyone still using Visual Studio 6? by Anonymous Coward · · Score: 0

      Isn't it possible that what is happening is that you got used to VC6 and you just don't have the will power to get to use anything else?

    6. Re:Anyone still using Visual Studio 6? by Rycross · · Score: 1

      Pretty much what happened to me. I was big on VC++6 and refused to use VC++.Net. Eventually I misplaced my copy of VC++6 and had to upgrade to .Net. After a little while of getting used to it, I realized that I was much more productive in the newer version. Using older versions in the computer labs at college made me realize how crufty VC++6 was.

    7. Re:Anyone still using Visual Studio 6? by EastCoastSurfer · · Score: 1

      Where I work we have 2 small file processing apps that were written in VB6. They are slated to be converted/upgraded/made obsolete at some point, but new features keep taking precedence over changing the 2 working apps.

    8. Re:Anyone still using Visual Studio 6? by Anonymous Coward · · Score: 0

      Sadly, yes. We have a long-running project with enough idiosyncrasies that it will still not run properly when compiled with newer compilers. Mostly due to dependence on non-standard behavior from pre-C++98 era code... :(

      I cringe every time I have to work on that project.

    9. Re:Anyone still using Visual Studio 6? by Anonymous Coward · · Score: 0

      You left out another ironic similarity of VS6 to old muscle cars - it was the last VS release produced in America, by the "old guard" of MS programmers :)

      That probably also explains the slowness and general "blah" feeling of newer VS releases - outsourced codemonkeys getting a 1000page spec from Redmond, writing a bunch of "object oriented" code (like a big java project, you know the deal).

    10. Re:Anyone still using Visual Studio 6? by robindch · · Score: 1
      Yep, still using VC6 ten years and half a million lines of C++ later. Don't want to, but heavens above, it's a productive, fast and rock-solid environment. I've installed the later compilers and got my gear up and running. Kind of. But the later compilers feel flaky, jerky and brittle. And none of them have ClassWizard, which which you can drive with the keyboard. Fast.

      I'll install VC2010 and who knows, perhaps I'll switch. I'd like to, but MS, please make it easy!

  23. Re:oh by Yvan256 · · Score: 1

    It's not THAT hard:

    developers! developers! developers! developers!
    developers! developers! developers! developers!
    developers! developers! developers! developers!
    developers! developers! developers! developers!
    developers! developers! developers! developers!
    developers! developers! developers! developers!

    See? You can easily split that between four cores.

  24. Re:oh by Anonymous Coward · · Score: 1, Funny

    using System.Linq;
     
    var developers = Parallel.Repeat("developers", 8);

  25. *extremely* old news by Anonymous Coward · · Score: 0
  26. Re:oh by Anonymous Coward · · Score: 1

    Threading isn't actually that difficult. It's remarkably easy splitting a task up into bits that run in different threads, or even on different cores.

    The challenge is in syncing the cores up afterwards. If one core has to wait, or finishes after an unpredictably long time, that can really mess things up, since then one or more cores may be waiting idle rather than doing anything...

    The solution to that is to find a way to predict how long something will take. (One company did that with that extra RISC SLI chip on certain boards, which improves SLI efficiency)

    The easiest(read: slacker) way to do it is just completely branch off separate tasks. (Ex: Run all sound or graphics processing on separate cores. The cores won't be taxed heavily, but since the tasks are usually unrelated, there's no syncing involved when they're done; they just sit idle, and when the pyshics or game logic is done being processed, they get a new frame/data to work with.) This is actually what Supreme Commander did. On a quad core, most of the cores are only loaded about 40%, with the main core loaded 100%. It tries to split pathfinding and physics up, but all the rendering is apparently still on the main core.

  27. Re:oh by e2d2 · · Score: 1

    It can also do web development using "standard asp.net", just not using the MVC framework which was new in .Net 3.5.

  28. Top 3 features by alphabetsoup · · Score: 5, Informative

    Quite a bit actually. Personally for me, the top 3 features are:

    • F# - Finally a functional programming language with a real chance of becoming mainstream. I personally would have liked Haskell though :(
    • Parallel Patterns Library - An STL like library for doing parallel computation. For example, instead of the STL for_each you can use the PPL parallel_for_each. Combine this with lambda functions for best results.
    • C++0x goodies - These includes lambdas, auto, rvalue references, etc.

    Apart from the above it includes a completely new intellisense for C++, using the EDG frontend. All this in addition to the usual .Net stuff.

    1. Re:Top 3 features by shutdown+-p+now · · Score: 3, Informative

      I personally would have liked Haskell though :(

      I'm sure it's possible to get Haskell running on .NET (in fact, rumor it is that it's what they were trying to do before switching to F#). The problem is that if you implement it using the existing CLR, you'll have to build your own framework for Haskell genericity and typeclasses, since CLR is not powerful enough on its own - and then your Haskell code will only be usable from other Haskell code. On the other hand, F# has the advantage that all its constructs are reasonably accessible from other .NET languages.

      That said, typeclasses on CLR level sure would be cool. And I recall Don Syme said something about them being a possible addition to F# 2.0, so who knows...

    2. Re:Top 3 features by weicco · · Score: 1

      I played with this some time ago. I'm not really into Haskell, just wanted to see what's so special about it (yes, it has some nice features and I think guards could be a nice addition to C# but the language is not for me I think), so I don't know much about it.

      http://haskell.org/visualhaskell//

      --
      You don't know what you don't know.
    3. Re:Top 3 features by shutdown+-p+now · · Score: 1

      What you've linked to isn't Haskell for .NET - it's just a Visual Studio plugin enabling Haskell development (with GHC backend). It was a pretty neat one, too - but it was abandoned, so the latest version is only working with VS2005.

  29. Anybody writing plugins for 3ds Max 2010... by Animaether · · Score: 1

    Anybody writing plugins for 3ds Max 2010 will have upgraded to 2008, as you practically need 2008 to compile your code into plugins compatible with that release of 3ds Max.

    That's a small market, but it serves as a demonstration that there's probably more people using 2008 - maybe not altogether by choice, as in this case - than you'd think.

    1. Re:Anybody writing plugins for 3ds Max 2010... by tylersoze · · Score: 1

      It's funny you should bring up Maya. That's another another one that I'd haven't seen upgraded. Maya 8.0 or 8.5 is the latest we're using. There's much to be said for the "if it ain't broke, don't fix it mentality" when it comes to software upgrades. If it works fine and you've been using it for years and don't want or need the latest version, why upgrade?

  30. Re:Let me get this out of the way... by e2d2 · · Score: 1

    Yeah man, I'm also too cool to use Visual Studio. I write all my code using a sword. I'm a bad ass.

  31. Bah, failboat. by Abcd1234 · · Score: 1

    So totally wrong on point b. As usually, I'm convolving Eiffel, the OOP language with a fancy IDE, with Erlang, the functional programming language that's focused on parallel programming... *sigh*

    I stand by my first point, though. :)

  32. Re:Whatever. by genghisjahn · · Score: 5, Informative

    Allow me to introduce you too... http://www.microsoft.com/Express/ There will be VS2010 versions. It's not the high-end dev environment, but it does quite a bit.

    --
    Sorry about the mess.
  33. Re:oh by Anonymous Coward · · Score: 0

    right next to the "I'm a fag" button.

  34. Re:Let me get this out of the way... by Rycross · · Score: 3, Insightful

    If you think that writing software in Visual Studio consists of "point and click programming" then you haven't used it enough to have a valid opinion, or at all.

  35. Doesn't impress me... by bertok · · Score: 1

    I gave VS 2010 a try on several machines.

    If you have an SSD, it's fine, if a little sluggish, especially the more complex designers like the Entity Framework stuff.

    On a harddrive, it's almost unusable, it just churns and churns and churns for what seems like hours. Previously, serious developers needed a big monitor and lots of RAM. Now it's a big monitor, lots of RAM, and an SSD.

    Still, the new WPF editor has promise, I like the subtle gradient shading and transparency effects. I think it's a beta issue, but I did notice that when you switch to a new editor window, the text is blurred for about a tenth of a second, then jumps into focus. This is probably a bug in the pixel-snapping they're using, but for a while I thought my eyes were going.

    I have seen demos that show that writing a plugin using C# and WPF is now incredibly trivial, so that's interesting, but won't be useful to 90% of the developers out there.

    However, most of the rest of the changes appear to be cosmetic.

    The new APIs in the 4.0 .NET framework don't impress me at all. The parallel library is a JOKE compared to the Oswego parallel programming library that SUN merged into Java. Microsoft has a bunch of webpages on how "multi core is the future", and "programmers have to start doing threads", but they won't do anything other than the absolute minimum to help the programmers with what is a VERY difficult task. Any decent parallel library is going to need a bag of tools like a "lock free queue", with various queuing styles such as FIFO, LIFO, priority, fixed-length, arbitrary length, and all of them have to have the same interface. Java has had this for YEARS now. Where's my abstract "Executor" interface with a bunch of standard implementations like "immediate, background-thread, thread-pool, asynchronous call, Dispatcher call, etc..."?

    Microsoft talks a lot about 'functional' programming, but that's implemented in a half-assed way as well. For example, take the SortedDicitonary<T> class. Looks useful, right? Now try to enumerate all of the values in a certain key range, without having to enumerate the entire container. You can't, because Microsoft forgot that they need to provide a 'range query' method that takes a comparator function, something like:

    IEnumerable<KeyValuePair<KeyT,ValueT>> RangeQuery(Func<int, keyT> rangeTest) ...

    My biggest gripe is that the Entity Framework GUI designer is STILL a joke. It has a longer list of unsupported features than supported features. It's meant to be a time-saving feature, yet I have to write not one, but THREE mapping files, in XML, by hand, with no tab-complete. Can you FEEL the efficiency? I know I can! And it still doesn't support foreign keys with multiple columns. In general, it can't map to about 50% of the existing schemas out there because of some technical limitation or other.

    1. Re:Doesn't impress me... by Saija · · Score: 1

      If you have an SSD, it's fine, if a little sluggish, especially the more complex designers like the Entity Framework stuff.
      On a harddrive, it's almost unusable, it just churns and churns and churns for what seems like hours. Previously, serious developers needed a big monitor and lots of RAM. Now it's a big monitor, lots of RAM, and an SSD.

      No trying to be a troll or something, but i think a ssd its a hard drive...

      --
      Slashdot ya no es que lo era! ;)
    2. Re:Doesn't impress me... by bertok · · Score: 1

      I think the technical term is 'mass storage device', which encompasses both hard drives and SSDs. Even the term "Solid State Drive" is a bit silly, as there is no "drive" (motor). It's really a Solid State Mass Storage Device, but I guess SSMSD just doesn't roll off the tongue. 8)

    3. Re:Doesn't impress me... by koreaman · · Score: 1

      "Solidstate Storage Device"?

  36. Insensitive Clod by WED+Fan · · Score: 1

    I write code on sticky notes, tape them together, scan them in, OCR, email it to my machine with my dev environment and then use a hex editor to manual compile it. I WIN!!!

    --
    Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong fix.
    1. Re:Insensitive Clod by Wiener · · Score: 1

      I write code on sticky notes, tape them together, scan them in, OCR, email it to my machine with my dev environment and then use a hex editor to manual compile it. I WIN!!!

      Oh yeah! I do that while walking uphill, both ways, BACKWARD! Now get off my lawn!

    2. Re:Insensitive Clod by badkarmadayaccount · · Score: 1

      I do that for a living writing Perl with inline SQL queries and APL, on dirty sticky notes, writing with a dirty coffee cup handle and a spray can, in the dark. And scan in with a RAID^HS 6 of RS-232 connected scanners, on an old Mac, with a DOS compatibility card hacked to hold a Transmeta CPU, which, through a hand made serializer, does double duty as a SATA controller. (ATA (mathematical "belongs)" to ISA, which is basically an old x86 bus. )

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  37. Re:Whatever. by wjsteele · · Score: 3, Informative

    And just to reiterate... it's been free (as in beer) for years!!!

    Bill

    --
    It's my Sig and you can't have it. Mine! All Mine!
  38. Re:Whatever. by Anonymous Coward · · Score: 2, Informative

    Actually Visual Studio is one of top developer platforms and is used for just about anything you can imagine on a regular basis.

  39. Re:Whatever. by pete6677 · · Score: 1

    "worst than most of the ones that come free."

    Such as?

  40. Did they fix that bug by smittyoneeach · · Score: 1

    ...where VS Rots the Mind?

    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  41. Re:Whatever. by mario_grgic · · Score: 0

    I find UNIX terminal is the best IDE and developer platform ever created and never duplicated, widely used for just about anything on a regular basis.

    --
    As the island of our knowledge grows, so does the shore of our ignorance.
  42. native ANSI C/C++ support .... by NullProg · · Score: 4, Insightful

    Doesn't exist in Visual Studio anymore without some tweaks. If your program targets multiple platforms beyond Microsoft your in for a few headaches.

    I wonder if Martin Heller used the VS10 compiler for cross platform Wx/Gtk/Qt development (Check Audacity out). I (or someone) should do this in a future slasdot review.

    The OpenWatcom, g++, and Intel compilers are a much better solution if your targeting multiple platforms (ARM, Mac, Power5, Mainframes, cellphones etc.) I use VS6 and GCC, but your mileage may vary.

    I appreciate the fact that Microsoft is pushing for VS studio C#/.Net acceptance. As of today, that solution is just as slow and portable as Java is/was ten years ago. For some strange reason I refuse to write a program that takes twenty to thirty megabytes of RAM to run when it should only take two. Why? Because that RAM belongs to the user and the other programs they may be running, not me. Waste not, want not. If you can do it faster and for less RAM in a different language then you owe your users to do so.

    And no, I've never written a C/C++ program that was un-secure (yet), thanks for asking. And yes, I like C#/Java programming, I just have deployment issues that I've never recovered from.

    My opinion or experiences may not be yours.

    Enjoy,

    --
    It's just the normal noises in here.
    1. Re:native ANSI C/C++ support .... by Anonymous Coward · · Score: 2, Informative

      If you have use Visual Studio 6, you have no rights to comments on Visual Studio.
      VS6 dates back to 1997, we're in motherfucking 2009.

      VS6 is 11 years old predates the C++ standard. Time to shut the fuck about it and stop comparing it to gcc versions that came out a year ago/

      We have a very large C++ application that is compiled with Visual Studio 2005 and gcc on the Linux, and there are no problems.

      The idea that Intel C++ is more a more compliant compiler is a myth. We have used it for some of our DLLs and considered using it for more, since it's also on Linux. It's a basic compiler, full of problems with the language, it's very focuses on being code-compatible with Microsoft C++ and doing more theorical optimizations.

    2. Re:native ANSI C/C++ support .... by Matje · · Score: 1

      If you can do it faster and for less RAM in a different language then you owe your users to do so.

      4GB (yes Gigabyte) will cost you $75 nowadays. If you let your choice of language be determined by 30MB extra memory usage, you're optimizing the wrong variable (unless you're targetting a memory constricted environment of course). Better select the language that lets you write code the quickest. Considering the lack of refactoring support for C++ mentioned in other posts, I'd say C# should be a lot faster to write code for.

    3. Re:native ANSI C/C++ support .... by Anonymous Coward · · Score: 0

      Well, I think you have it backwards. Unless you are absolutely fine excluding all older, cheaper or otherwise heavily used systems you should care about those 30 MB.
      I personally have one system with 256 MB, one with 1 GB and one with 3 GB RAM, and that is not counting e.g. my router with 32 MB. If you consider 4GB "normal" your program will disqualify itself for about 2 out of 3 of my systems. If I had to use things like Eclipse, OpenOffice or Xilinx synthesis tools it'd probably have excluded itself for 3 out of 3, particularly since an additional 4 GB won't help any when using 32 bit XP (or is your motto also "why support anything but 64 bit Vista? The OEM version is only $60"? Just in case you don't know, you can't use the 64 bit versions if you still depend on some 16 bit program).
      And btw. a 4GB module (which you'd need if you wanted a netbook with 4GB, though it might not work anyway) would cost more like $400.

    4. Re:native ANSI C/C++ support .... by gbjbaanb · · Score: 1

      If you let your choice of language be determined by 30MB extra memory usage, you're optimizing the wrong variable (unless you're targetting a memory constricted environment of course).

      Of course I'm targetting a memory-constricted environment. My users run office 2007, and I run Visual Studio with SQL Server Management Studio! I *need* that 3GB.

    5. Re:native ANSI C/C++ support .... by Anonymous Coward · · Score: 0

      Wow, what a picky little person you are.

    6. Re:native ANSI C/C++ support .... by Your.Master · · Score: 1

      Maybe 4GB is too high of a baseline (depending on the product), but 256MB definitely puts you deep in the long tail.

    7. Re:native ANSI C/C++ support .... by Anonymous Coward · · Score: 0

      Let me emphasize "depending on the product".
      And I guess you are either thinking of far more heavyweight stuff than ordinary or you just don't know how much (or actually little) RAM most software needs.
      Ubuntu 8.04 works really fine (even if a bit sluggish at times) with those 256MB, including OpenOffice, Firefox, Thunderbird, Google Earth, of course you should not usually use more than one of those.
      Also my main point was that there are still a lot of ancient systems around, if you waste 30 MB here, 100 MB there etc. they definitely won't be your customers (yes, I am quite sure your product is not interesting enough to make them upgrade, even if it cost $1).
      So just ignoring 30 MB because "4GB costs $75" is unreasonable. Those users who care about 30 MB might e.g. be the last 10 % of users you'd need to be successful. Of course they might also be completely irrelevant, but if you verified that then the "Unless you are absolutely fine excluding all older, cheaper or otherwise heavily used systems" part of my previous post is fullfilled and your reasoning is sane, not just based on your inflated idea of what a "normal" PC is.

  43. Re:Whatever. by shutdown+-p+now · · Score: 1

    I find UNIX terminal is the best IDE and developer platform ever created and never duplicated

    "UNIX terminal"? Like, using cat/sed/awk to edit files?

    If you actually mean Vim or Emacs, then say so (because, among other things, they aren't tied to Unix shell - I can happily use Vim, even in console mode, together with PowerShell on Windows).

  44. Still waiting for Eclipse to load. by tjstork · · Score: 1

    I'm not a big lover of Visual Studio for C++ development - my preferred environment was KDevelop before it was broken in the rush to KDE 4.0, so, I would love to agree with you about Eclipse being good for C++. I just wasn't all that impressed. Right now, a pretty good pair is Visual C++ and a plug-in that Microsoft lets you download that works pretty well.

    --
    This is my sig.
    1. Re:Still waiting for Eclipse to load. by zlogic · · Score: 1

      Could you please tell the name of the plugin? :-)
      I'm currently using Eclipse for editing code and showing mingw's GCC errors in the code and Visual Studio for compiling and debugging. Every time I switch IDE's a message box asks if I want to update the files changes in another IDE.

  45. WPF is an abortion. by tjstork · · Score: 1

    WPF being in .NET essentially means that native development on Windows is dead.

    --
    This is my sig.
  46. Re:Whatever. by mario_grgic · · Score: 1

    vi is considered standard UNIX tool. These days most UNIX flavors use VIM as standard vi.

    But there is more to software development than just editing text files (even thought it's the one thing we spend most time doing).

    But I'm talking about the integrated part of it. UNIX was designed by programmers for programmers. It does have a steep learning curve but in my opinion is worth it. Once you get proficient it's hard to match with anything else.

    --
    As the island of our knowledge grows, so does the shore of our ignorance.
  47. Re:Yay! [Bloat-A-Matic] by Tablizer · · Score: 1

    No kidding. Something has happened to our programming languages to make them more verbose than COBOL even. We've simply automated the verbosity with auto-guess IDE's instead of simplifying our languages and libraries. It's as if we are paid in volume alone.

    NORMAL

        print(a + b);

    BLOATED

        am = new math.ArithmeticManager();
        opA = new math.Operand((float) a);
        opB = new math.Operand((float) b);
        am.addOperand(opA);
        am.addOperand(opB);
        am.operator = new math.operators.Addition();
        am.executeMathOperation();
        system.io.output.print(am.mathOperationResult());

  48. Re:Whatever. by Reservoir+Penguin · · Score: 1

    Emacs and Vim work best when paired with a real Unix environment, I know because I can't stand VS and use mingw/msys with Emacs and Console2 when I'm forced to develop in Windows.

    --
    US-UK-Israel: The real Axis of Evil
  49. No Silverlight 3 either by enantiomer2000 · · Score: 1

    I also believe that VS2010 Beta doesn't support the Silverlight 3 or RIA Services release that is out just yet.

  50. Does it work for C++? by david_thornley · · Score: 1

    I tried it out with one of the smaller C++ projects we've got at work, and I couldn't get it either to compile or put out useful error messages. I had a similar problem with a C# project. I'm particularly interested in C++. Has anybody gotten it to work converting a VS 2008 project?

    One blogger noted that it wouldn't compile the standard "Hello, world!" program without fiddling with the properties. Apparently, it didn't like having a main() function, and wanted something like _tmain(). That should be fixed by the next available version.

    --
    "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    1. Re:Does it work for C++? by gparent · · Score: 1

      One blogger noted that it wouldn't compile the standard "Hello, world!" program without fiddling with the properties. Apparently, it didn't like having a main() function, and wanted something like _tmain(). That should be fixed by the next available version.

      Probably, since this doesn't happen in the 2008 version. It can be fixed by making an empty project instead of a Win32 Console one, I think.

    2. Re:Does it work for C++? by david_thornley · · Score: 1

      Herb Sutter, who heads up VC++ these days, said in a comment on his blog that he considered that a problem and it was going to get fixed.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  51. Fork/Join in Java by guardia · · Score: 1

    Java 7 will have something very similar, called the fork/join framework: http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-5515&yr=2008&track=javase Doug Lea also offers a preliminary package for Java 6 that can be downloaded from here: http://gee.cs.oswego.edu/dl/concurrency-interest/

  52. Re:Yay! [Bloat-A-Matic] by wisty · · Score: 1

    Ah, yes, the "Manager" un-pattern.

    Used by programmers who what a thing that sort of, you know, manages, their code. Like an interface, or factory, or facade, or adapter, or something like that. You know, like a manager.

  53. Main competitor KDevelop 4.0 Beta3 released! by G3ckoG33k · · Score: 1

    Main competitor KDevelop 4.0 Beta3 released! Read more at http://www.kdevelop.org/

  54. Re:oh by Anpheus · · Score: 0

    Whoosh?

  55. Does it make secure programming easy? by Anonymous Coward · · Score: 0

    I recently downloaded the free Visual Studio developer package from Microsoft and found it did not even have "snprintf" - from C99.

    It did have _snprintf and sprintf_s but ... will someone at Microsoft pull their head in and make writing compatible, portable, secure, software easy for everyone?

    Does their latest offering have strlcpy() and friends? Or do they have their own variation (strcpy_s()) just because they're Microsoft and they can?

  56. F# is interesting, but it's not free by Ed+Avis · · Score: 1

    Knowing that F# came out of Microsoft Research and that some other .NET code has been released as free software by Microsoft in the past, I was hoping that the F# compiler would be free software too. Sadly this is not the case - at least as far as the licence in fsharp.zip here is concerned; it's distributable for non-commercial use only. So while F# looks very interesting, for now it's something of a Microsoft lock-in, and I won't be adopting it because it removes the possibility of porting to Mono.

    --
    -- Ed Avis ed@membled.com
    1. Re:F# is interesting, but it's not free by Ed+Avis · · Score: 1

      I should add, you can build stuff with the non-free F# compiler and run it under Mono; and you can run the compiler itself under Mono; but it's still non-free and so not something I'd want to rely on.

      --
      -- Ed Avis ed@membled.com
    2. Re:F# is interesting, but it's not free by shutdown+-p+now · · Score: 2, Informative

      Knowing that F# came out of Microsoft Research and that some other .NET code has been released as free software by Microsoft in the past, I was hoping that the F# compiler would be free software too. Sadly this is not the case - at least as far as the licence in fsharp.zip here is concerned; it's distributable for non-commercial use only. So while F# looks very interesting, for now it's something of a Microsoft lock-in, and I won't be adopting it because it removes the possibility of porting to Mono.

      Don Syme said, and more recently confirmed, that F# will be released under MS-PL (effectively a BSDL with patent clause) for the VS2010 release - it's only "shared source" currently because it is still in beta.

    3. Re:F# is interesting, but it's not free by Ed+Avis · · Score: 1

      That's great news! I'll check it out and see if (when finally made free) it can be packaged for Fedora.

      --
      -- Ed Avis ed@membled.com
  57. Re:Let me get this out of the way... by Anonymous Coward · · Score: 0

    If you think VS is "point and click" you've obviously never used it.

  58. What's VS? IDE vs. VM vs. platform? by jonaskoelker · · Score: 1

    Personally for me, the top 3 features are: [F#, a library, C++0x]

    Forgive me for being ignorant, but...

    What is VS? I always thought of it as an IDE, which my devil's dictionary describes as "an editor with a compile button and delusions of grandeur."

    So does VS now have syntax coloring and a compile button for F#? Or is VS something else, such as package containing {a compiler, an IDE}?

    Then you start talking about libraries... so, VS is {IDE, compiler, libraries}? Does it have a VM for anything as well, or... ?

    Exactly what is VS?

    1. Re:What's VS? IDE vs. VM vs. platform? by Haeleth · · Score: 1

      so, VS is {IDE, compiler, libraries}?

      Exactly. But in the Windows world, "IDE" has always implied {IDE, compiler, libraries}, so people just say "IDE". Hence "integrated development environment". The idea being that one product contained everything you needed to develop.

      This isn't just a Microsoft thing; other Windows IDEs such as Delphi were always the same.

      I believe the Java world uses "IDE" to mean something slightly different, but that's a newer usage; the compiler-and-libraries-included sense was the original one.

    2. Re:What's VS? IDE vs. VM vs. platform? by Rycross · · Score: 1

      It has an "editor with a compiler" (and code/keyword completion), and integrated debugger (huge), refactoring tools, sdks (compiler, libraries, tools), integrated unit testing, and project management. Your definition of an IDE is pretty far off base.

  59. Re:oh by gbjbaanb · · Score: 1

    its not hard at all - slap a openmp pragma on your for loop and you're done. Of course, your loop has to fulfill some obvious requirements of simplicity like not being able to update a variable in one thread and also use it in a different thread (but you can have variables in each thread you combine at the end of the task, for example).

  60. Re:Whatever. by RightSaidFred99 · · Score: 2, Funny

    Schmidt349: managing to be wrong twice in a sentence with only 17 words.

  61. Re:Whatever. by badkarmadayaccount · · Score: 1

    /usr/bin/emacs is my login shell, you insensitive clod!

    --
    I know tobacco is bad for you, so I smoke weed with crack.
  62. Yeah... by tjstork · · Score: 1

    It's DevExpress Refactor! for C++. The link is there:

    http://www.devexpress.com/Products/Visual_Studio_Add-in/RefactorCPP/

    It's a free download and it works pretty well, I have to say.

    --
    This is my sig.