![]() |
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.
Still I like C++ syntactic sugar and nitty gritty alot better, C# feels like kids gloves almost. That's my rant |
Do it. It's a completely reasonable choice. Still highly flexible and compatible. Do not fret.
|
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.
|
Quote:
|
| All times are GMT -4. The time now is 11:05 PM. |
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.