IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.68 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-24
[13:57]<nnzjpfrr>didn't find anything...
[13:58]<nnzjpfrr>I think I'll try again with my next mainboard and if that doesn't solve it, I'll bug microsoft hotlines until I get my system fixed.
[13:59]<gwaglvyjg>Hi dudes
[14:00]<nnzjpfrr>-d
[14:01]<sdnffdxdlld>hmmm so VS can't handle generic UserControls? that wasnt very well thought through
[14:02]<gwaglvyjg>Ya, it can't
[14:02]<gwaglvyjg>Wait
[14:02]<gwaglvyjg>Why can't
[14:03]<sdnffdxdlld>because it doesnt know what to pass as the generic param
[14:03]<sdnffdxdlld>so you'd have to make a wrapper then manually change the generated code
[14:06]<mjzymygo>it's happened... http://www.reghardware.co.uk/2006/07/24/amd_to_buy_ati/
[14:07]<gwaglvyjg>Hehe
[14:08]<zyccus>and AMD have dropped all their prices massively
[14:08]<mjzymygo>yeh, but thats been expected
[14:08]<zyccus>you can get an X2 5000+ for less than a Conroe 6600 thing... and the 5000+ is faster - at least on Quake 4. Didn't look at other benchmarks yet.
[14:09]<zyccus>think the conroe still wins on power/heat
[14:10]<cjmgrug>yea, conroe is the shit!
[14:13]<gwaglvyjg>Hehe, Nemerle now have late binding macro :)
[14:14]<vxznrv>hey
[14:14]<gwaglvyjg>Now it's possible to introduce a
[14:15]<gwaglvyjg>alias for method and use it like this:
[14:15]<sdnffdxdlld>hmmmm now why would i need to put a parameterless public constructor onto a class that already fucking has one
[14:15]<vxznrv>I am going to port a C++ prog to C#, any good documentation / books I should read on doing this? e.g. equivalent datatypes to the ones in STL like vector, list, map etc..
[14:15]<gwaglvyjg>def getLength (obj : object) late obj.Length
[14:16]<gwaglvyjg>Why do you need it
[14:16]<gwaglvyjg>C# is not quite good for porting C++ projects
[14:16]<vxznrv>when I say port I mean rewrite :) since I have looked at a bit of C# code and it is fair different from C++
[14:17]<zyccus>threat: http://www.oreilly.com/catalog/csharpess2/
[14:17]<mjzymygo>Apress free book: COM and .NET Interoperability http://www.apress.com/free/index.html
[14:17]<zyccus>threat: gave me enough
[14:17]<vxznrv>Exception, the C++ project is written by seperating everything into classes, and not using any pointers or such things that may not beable to be ported
[14:17]<mjzymygo>it's a litte old, but is still valid
[14:17]<sdnffdxdlld>you'd be better off learning c# seperatly then reimplimenting the app in c# rather than trying to think "I'll do it this way becasue this is the eqivilent"
[14:18]<vxznrv>smellyhippy, oh
[14:18]<mjzymygo>or if you are a C++ programmer, look into C++/CLI too
[14:18]<sdnffdxdlld>otherwise you run the risk of wondering why some part is a hunk of crap and not realising its due to bad/incorrect implimentation
[14:18]<vxznrv>Exception, in other words it is very OO, which I am assuming will make it easier to port
[14:18]<gwaglvyjg>C# 2005 and the .NET 2.0 Platform, by Andrew Troelsen is a nice one
[14:18]<gwaglvyjg>C# 2005 and the .NET 2.0 Platform, by Andrew Troelsen is a nice one
[14:18]<sdnffdxdlld>yer c++/cli is good
[14:19]<vyzusdjvnev>i don' like C++/CLI
[14:19]<vxznrv>c++/cli?
[14:19]<vxznrv>command line interface?
[14:19]<vyzusdjvnev>C++ new frame
[14:19]<gwaglvyjg>No
[14:19]<sdnffdxdlld>I wonder if its asking for the pub paramless constructor because the class is abstract
[14:19]<vyzusdjvnev>net*
[14:19]<vxznrv>oh
[14:20]<mjzymygo>C++/CLI = C++ with the Common Language Infrastructre
[14:20]<vxznrv>VirusDotNET, oh
[14:20]<vxznrv>Moridin8, any good?
[14:20]<mjzymygo>I like it
[14:20]<mjzymygo>not had much chance to use it though.
[14:21]<gwaglvyjg>It's closer to MSIL than C#
[14:21]<mjzymygo>Exception: stop talking bullshit
[14:21]<gwaglvyjg>?
[14:21]<mjzymygo>;P
[14:21]<mjzymygo>it's not at all.
[14:21]<gwaglvyjg>I mean its abilities
[14:21]<gwaglvyjg>Not syntax
[14:21]<mjzymygo>but what it *is* is a melding of the CRT and CLI heaps within the C++ paradigm
[14:22]<mjzymygo>and I can quite catagoricaly tell you that pure c# programs are faster than C++ managed ones
[14:22]<mjzymygo>the C++/CLI based implementation has to cater for Heap context transfers
[14:23]<vxznrmw>throwing a stream in a using() clause will both close and dispose it properly right?
[14:23]<mjzymygo>the advantage of C++/CLI is that it's a very nice bridge to the capabilities of the CLI while giving the power of C++
[14:23]<mjzymygo>threadw: yes
[14:23]<zyccus>threadw: yes
[14:23]<vxznrmw>thx
[14:24]<vxznrmw>also if I return within the clause? :P
[14:24]<mjzymygo>(and the power of C++ is kinda relative these days)
[14:24]<cjmgrug>Exception: sometimes, when you type something, it comes twice on screen..
[14:24]<gwaglvyjg>I'm writing from mobile phone =) fucking j2me
[14:24]<gwaglvyjg>I'm writing from mobile phone =) fucking j2me
[14:25]<cjmgrug>heh, you have free wifi or something?
[14:25]<lyzxvxzddnz>exception : what IDE are you using Netbeans ?
[14:26]<gwaglvyjg>For what?
[14:27]<gwaglvyjg>For C# programming I use VS 2005, for Nemerle I currently use SciTE
[14:29]<cjmgrug>what are the advantages of Nemerle as a .NET language?
[14:30]<gwaglvyjg>Type inference
[14:30]<gwaglvyjg>Functional values
[14:30]<gwaglvyjg>Variants
[14:30]<gwaglvyjg>Just look at examples
[14:31]<cjmgrug>from the examples it looks as it is well equipped to make a programmer more lazy..
[14:31]<gwaglvyjg>Not at all
[14:31]<gwaglvyjg>Not at all
[14:31]<gwaglvyjg>It makes life easier
[14:32]<gwaglvyjg>Powerful macros system
[14:32]<cjmgrug>hmm
[14:32]<gwaglvyjg>http://nemerle.org/First_Tutorial
[14:32]<sdnffdxdlld>yes, of course visual studio, your complealty right ... a class with a parameterless public constructor is missing a parameterless public constructor
[14:32]<gwaglvyjg>=D
[14:33]<cjmgrug>hehe
[14:33]<gwaglvyjg>Nemerle is quite good for writing, e.g. parsers
[14:34]<gwaglvyjg>Pattern-matching is very cool feature
[14:34]<cjmgrug>i see.
[14:35]<gwaglvyjg>But I suppose the really powerful one is variants.
[14:35]<gwaglvyjg>It's evolution of .NET enum
[14:36]<gwaglvyjg>http://nemerle.org/Grok_Variants_and_matching
[14:37]<gwaglvyjg>I'm gonna begin writin' a C# code parser with Nemerle
[14:38]<cjmgrug>nice.. it looks good







