Project 1999

Project 1999 (/forums/index.php)
-   Off Topic (/forums/forumdisplay.php?f=19)
-   -   think I'ma switch to C# over C++ for shitty forms development (both windows/linux) (/forums/showthread.php?t=123264)

r00t 09-28-2013 05:07 PM

think I'ma switch to C# over C++ for shitty forms development (both windows/linux)
 
So I write form type applications all the time for work n such, but it's just our internal hardware and I can modify it and put all the software updates and wutnot I want so everyone has the latest ms vc++ runtimes etc.

I was trying to distribute a C++ binary written in Qt. I had to deploy it with like 15 .dll's (qtgui4.dll, qtcore4.dll, msvcr100_clr0400.dll msvcr100.dll, msvcp100.dll, mfc100.dll mfc100u.dll, etc. etc. dll hell) before it would even attempt to start up, then it's like error 0xc00007b ya'll which is like corrupted system files m$ bullshit. I was like shit Ima just mingw compile it or somethin

Well I ain't got time for figuring out all that shit. I just want ppl to click the .exe and stop bothering me. My major gripe with C# was like performance, but I been reading more on the JIT compiler. It like first compiles to bytecode that runs on the virtual machine. Then I know C++ also runs on a virtual machine type thing but that's too much assburgers to make a comparison. Anyway I think the JIT compiler then translates all the bytecode into normal machine code, effectively mapping all the bullshit calls directly to the C libraries they're (mostly) written on. So the wrapper around winapi like unwraps itself I guess, meaning its still basically as performant?

I mean I've used the shit before in the past and wrote some viruses in it https://code.google.com/p/sneakyweasel/ but iono I just like (coding in, not deployin) c++ so much better

Then I was looking mono project has many of the features of .NET even up to 4.5. Most the shit I do is prolly only ~2.0 (well LINQ is p cool), and like most computers got that by now you kno? I think win7 shipped at launch with at least 3.0 rite? Anyway, mono is also finally at a state where developing cross os apps is cool. Because real men dual wield operating systems.
  • More productivity
  • Less chance of failure with memory management and shit
  • Larger standard library (pretty much uncomparable, prolly even better than Qt framework too)
  • Compatible on Linux
  • More jobs, pays more(QUERSTIONABLE?)

Still I like C++ syntactic sugar and nitty gritty alot better, C# feels like kids gloves almost.

That's my rant

runlvlzero 09-28-2013 05:10 PM

Do it. It's a completely reasonable choice. Still highly flexible and compatible. Do not fret.

Orruar 09-28-2013 06:04 PM

I touch C++ as little as possible. The development time is much faster with C# and the deployment is much easier. Maintenance is also vastly easier. And while C++ may be a little faster, it's not like it was several years ago. Unless you're writing algorithms that require that extra 20% or whatever it is, there's no point.

Shannacore 09-28-2013 08:09 PM

Quote:

Originally Posted by Littlegyno 9.0 (Post 1130727)



All times are GMT -4. The time now is 11:05 PM.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.