Dark Bit Factory & Gravity

GENERAL => General chat => Topic started by: Shockwave on March 09, 2014

Title: VB.NET
Post by: Shockwave on March 09, 2014
Just wondering if anyone here uses .NET or has used .NET to write demos?

I'm thinking of having a bash to try and sharpen up my skills at work a bit... I've taken things a bit easy over the last few years and I don't want to lose my edge which demo coding definitely gave me.
Title: Re: VB.NET
Post by: Hotshot on March 09, 2014
VB.net? It is Visual Basic? They have change lots ever since from 2006

It would give you good challange and somethings different as old saying goes....you learn somethings new every day :)

Title: Re: VB.NET
Post by: Shockwave on March 10, 2014
.NET can use Visual Basic, doesn't have to be VB though as there are several options (I like C# the best).

It's free as well.
Title: Re: VB.NET
Post by: Hotshot on March 10, 2014
Quote
I like C# the best

I agree and much easier than C++ :)
Title: Re: VB.NET
Post by: Jim on March 11, 2014
I tried some C# demo work.

I wanted first to try a pixel bashing demo, and I coded up my usual 3D engine.  This was definitely fast enough except there doesn't seem to be a really fast path for getting a C# array onto a window.  I tried quite a lot of things, including using an unmanaged buffer for my framebuffer but it all really sucked.  If you like I can post the source code of my efforts?

If you want to do something which runs fast then you probably need to go via DirectX which is relatively simple and 'standard' across Microsoft products or OpenGL which is all open source bindings using marshalling.
Both will almost certainly work really well.  I'm always incredibly surprised at how fast C# is compared with, say, C code, and the fact our web servers at work can handle many multiple requests for complicated data sets in a few tens of milliseconds.

Cheers,
Jim
Title: Re: VB.NET
Post by: Shockwave on March 11, 2014
Id definitely be interested in seeing that code Jim :)

I really like C#, it was simple to make the switch from VB.