Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Scott Currie - Multiple language programming demo

Download

Right click “Save as…”

Scott Currie, program manager on the Visual C++ team likes fooling around with other languages too. Here he shows off a demo of mixing VB, C#, and C++ in the same application.

Very interesting! Cool demo too, it solves a popular puzzle game.

In a separate video he talks about what C++ does to exploit the .NET CLR.

Tag:

Follow the Discussion

  • Has the Quake demo been cut? Or can we expect it in the future?

    I suggested this.. everyone took the piss and said you can communicate between objects anyway.. Sad

  • MauritsMaurits AKA Matthew van Eerde
    It would have been nice to see a split-screen with the person on the left and screen-captures on the right - easier to follow.

    I have a sneaking suspicion I know how the cube solving algorithm works - start with a solved cube and make a random number of random moves.  Then, to solve it, make the moves backwards in reverse order. =) Flashy, but you can't use it to solve a real cube by entering the initial messy position.
  • It wouldn't be *that* hard to write a real solver. At least as long as you didn't try to animate the entire process of finding the solution but instead the final solution.

    Not even nearly as hard as a basic chess AI.
  • The Channel 9 TeamThe Channel 9 Team 5 guys from Redmond
    The quake demo is still coming. Over the next week.
  • MauritsMaurits AKA Matthew van Eerde
    Manip wrote:
    It wouldn't be *that* hard to write a real solver. At least as long as you didn't try to animate the entire process of finding the solution but instead the final solution.

    Not even nearly as hard as a basic chess AI.


    I suppose they might have had a cube-solving algorithm lying around.
  • Chris PietschmannCRPietschma​nn Chris Pietschmann
    Sweet, being able to use multiple lanuages in the same project is awesome. I can't wait for this.

    One thing to take this to the next step is to make the IDE be able to convert the C# to VB.NET and VB.NET to C#. It would be awesome to do it in a way that a VB.NET developer could load the C# project, edit the code using VB.NET and then it saves it back in C#. Then the C# developer could go and edit it with C#. This would be very possible since C# and VB.NET only have syntax difference, there isn't anything you can do with C# that you can't with VB.NET and vice versa. This would achieve true language independance. I'm sure you could easily throw C++ in to the mix.
  • Stevan VeselinovicSteve411 Me, all suited up!
    Ok, how about this.. next time you guys show us a samle of an app you do not use that camera, but use this nifty product instead:
     http://www.video-capture.info/

    Record the screen, and use the microphone to talk as you would with the camera you always use.. We would be able to see the screen which is good! nice video btw
  • rasxrasx Emperor of String.Empty
    This is the second reason why C++ should be interesting to me. I'm getting the message here...
  • KSGKSG
    Actually it's a real solver.  You can give it an arbitrary position (reads an XML file for start position) and it will solve it.  Of course some positions will take longer than others -- some much longer.

    Kang Su Gatlin
    Visual C++ Program Manager
  • KSGKSG

    Right on RasX.  We hope to make this message loud and clear.  If there's anything we can do to make it clearer... let us know  Smiley


    Thanks,

    Kang Su Gatlin
    Visual C++ Program Manager

  • scobleizerscobleizer I'm the video guy
    Steve411: unfortunately the reason you can't see the screen is because of the compression we're using. We're putting these files down to 300 kbps. I'll try this out and see if we can use it someway, but it needs to spit out .WMV files that can be streamed at 300kbps or less.
  • Couldn't you record the screen with an app.. record the interview with the normal camera.. digitally compress both (separately) and then combine them post compression? The reason this might work is because that compression algorithm has something to do with in/out of focusing.

    When can we expect Dolby surround sound? =)
  • Scott mentioned in this interview that by the time this video is published this sample cube application is uploaded to MSDN, but i can't find it

    Manip,
    why Dolby Surround if we can get Dolby Digital or DTS? Wink
  • Tom ServoTom Servo W-hat?
    Too bad only link.exe can link modules. I'd like AL to be able to do so too, so I can use that from my custom MSBuild files.
  • MauritsMaurits AKA Matthew van Eerde
    KSG wrote:
    Actually it's a real solver.  You can give it an arbitrary position (reads an XML file for start position) and it will solve it.  Of course some positions will take longer than others -- some much longer.

    Kang Su Gatlin
    Visual C++ Program Manager


    Sweet!  A general nxnxn cube solver?  Where can I get the code?
  • mattrmillermattrmiller www.​codeandcoff​ee.com
    Very cool, but I can not find the source code. I would love to take a look at it and try it for myself. Any links?
  • If you want to do this in 1.x, try ILMerge. Much easier than the alternative, decompiling all the modules with ildasm then building a single binary with ilasm.

    I was very disappointed when I found this tool - I'd had that idea too but failed on the actual execution Wink

    I assume that partial classes must be written all in the same language - you can't have one part of a class written in VB and another in C++?
  • Stevan VeselinovicSteve411 Me, all suited up!
    scobleizer wrote:
    Steve411: unfortunately the reason you can't see the screen is because of the compression we're using. We're putting these files down to 300 kbps. I'll try this out and see if we can use it someway, but it needs to spit out .WMV files that can be streamed at 300kbps or less.


     Thanks scrobleizer.
  • Scobleizer, I'm sure it's a stupid question, but why can't we have higher res?  Since we can download now, you could give us nice big pretty videos that weren't all blurry.


    I do appreciate all you do.  Thanks for it.  I like the blurry videos.

    Light...

  • yes, i love visual c++ !  Smiley

    exciting things happening with the vc++ project system. also the posts and videos of kang su gatlin about the power of c++/cli are awesome. i think we're on the right track with c++.
    any chance to see more videos with mr. gatlin, btw? compiler guys' talks are what keeps c++ people inspired Smiley

    keep up this outstanding work with channel9 ! it's just amazing to have such an insight into the different project groups.

    - martin.
  • scobleizerscobleizer I'm the video guy
    gswitz: bandwidth costs. Let's say I gave you the 2.1 megabits-per-second versions. Then our bandwidth costs would be seven times higher than they are now.
  • I'm a Twitter addict.  This is great!
  • Tom ServoTom Servo W-hat?
    jsrfc58 wrote:
    Why couldn't someone write a single "universal" compiler, and then have interchangeable "front-ends" (scanner/parser/etc.)

    I think the Phoenix thing is kinda what you're thinking about.

    http://channel9.msdn.com/ShowPost.aspx?PostID=13369
  • MauritsMaurits AKA Matthew van Eerde
    KSG wrote:
    Actually it's a real solver.  You can give it an arbitrary position (reads an XML file for start position) and it will solve it.  Of course some positions will take longer than others -- some much longer.

    Kang Su Gatlin
    Visual C++ Program Manager


    You are such a tease... Crying
  • Hello,

    thanks for this great demonstration.
    Scott Currie mentioned that source code for this
    would be posted on MSDN but I could not find anything
    after an extensive search.

    Could someone please provide me with a URL to the
    source code?

    Thanks in advance,
    Paddy

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.