473,326 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

.NET *Fails*

I've just recently messed with .NET /controls/, and I can't say I'm
impressed. Several of them appear to be *highly* inefficient when it
comes to screen updates (see my thread "ListView Unbearable" for a major
example of this).

These tests were run on a *brand new* PC, too. I can't bear to think
how badly this would affect slightly older systems.

From this I can only conclude that the idea of .NET -- the idea of a
more-or-less purely-object-oriented framework that lends itself well to
RAD -- is too good to be true. I kidded myself in the beginning that
this could work, but how wrong I was.

Maybe at some point in the future, computer systems will be powerful
enough for this; but, for now, we can only hope and wait.
Nov 15 '05 #1
12 1194
Please see your "ListView Unbearable" thread. I have not seen problems like
what you are describing in this and the other thread.

Richard

--
C#, .NET and Complex Adaptive Systems:
http://blogs.geekdojo.net/Richard
"C# Learner" <cs****@learner.here> wrote in message
news:uk**************@TK2MSFTNGP10.phx.gbl...
I've just recently messed with .NET /controls/, and I can't say I'm
impressed. Several of them appear to be *highly* inefficient when it
comes to screen updates (see my thread "ListView Unbearable" for a major
example of this).

These tests were run on a *brand new* PC, too. I can't bear to think
how badly this would affect slightly older systems.

From this I can only conclude that the idea of .NET -- the idea of a
more-or-less purely-object-oriented framework that lends itself well to
RAD -- is too good to be true. I kidded myself in the beginning that
this could work, but how wrong I was.

Maybe at some point in the future, computer systems will be powerful
enough for this; but, for now, we can only hope and wait.

Nov 15 '05 #2
Lets see here..

I've seen many posts from you lately, all negative and or complaints...
Maybe you'd be better suited with another platform? I hear that people love
programming for the Mac...

Last time I saw your post you were complaining that you actually had to
write some code... Did you expect to write something like:

public MyApp()
{
Create.MyPerfectApplication();
}
???
Sorry for being short, but, if you're not happy, do youself a favor and move
on, no need to try to influence anyone else. We'll all find out if it's not
for us on our own.
Nov 15 '05 #3
>I've just recently messed with .NET /controls/, and I can't say I'm
impressed. Several of them appear to be *highly* inefficient when it
comes to screen updates (see my thread "ListView Unbearable" for a major
example of this).
These tests were run on a *brand new* PC, too. I can't bear to think
how badly this would affect slightly older systems.


Well, by the time your app will be ready, most users will probably
have a more powerful machine than what you used here for testing.

If you don't like .NET, and the power and flexibility it gives you,
you're free to go back to assembler and hand-craft your stuff - good
luck with keeping those deadlines !

There's always a trade-off between being quick to market, and being
efficient. Where do you really want to sink all your development
effort into? Making that screen update 2% faster?? Or getting your app
out so that users can start using it?

Your call if you're on your own - your manager's call, if you're on a
deadline.....

Marc
================================================== ==============
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
Nov 15 '05 #4
Marc Scheuner [MVP ADSI] wrote:
Well, by the time your app will be ready, most users will probably
have a more powerful machine than what you used here for testing.

If you don't like .NET, and the power and flexibility it gives you,
you're free to go back to assembler and hand-craft your stuff - good
luck with keeping those deadlines !

There's always a trade-off between being quick to market, and being
efficient. Where do you really want to sink all your development
effort into? Making that screen update 2% faster?? Or getting your app
out so that users can start using it?
It's not about two percent. The .NET controls I'm having problems with
are *unbearably* slow and flickery. It makes apps that use them looks
*awful*. They're show-stoppers.

<sarcasm>
But, hey, I can always go back to the command-line interface, right?
</sarcasm>

I would not *use* an app with controls this bad, let alone *pay* for one.
Your call if you're on your own - your manager's call, if you're on a
deadline.....

Nov 15 '05 #5
> Please see your "ListView Unbearable" thread. I have not seen problems
like
what you are describing in this and the other thread.

First of all, I doubt that Listview is a pure .NET control, I have the
impression that it is just a wrapper to the unmanaged ListView control also
used by C++ and MFC.

I believe that the problems you encounter is because of some other cause.
Maybe some other thread that runs in your program, taking up a lot of
processor time.
Maybe you allocated so much memory that your computer started swapping
memory to disk, slowing down processor time.
Maybe your TestListView() function is called again during the processing of
TestListView() which makes this recursive.
Maybe you have some profiling active trying to measure speed statistics in
the background.

The problem is that we do not see the complete code, if you could post a
project, then we could test it here too.

(In the beginning I also thought that this .NET thing was bad, but it all
turned out to be security related problems, and the use of mixed
managed/unmanaged code that used the mfc, and one installation problem
regarding the WINDIR environment variable that got corrupted). So far I have
not seen direct evidence that C# creates bad or slow code.
Nov 15 '05 #6
Ol**********@skyscan.be wrote:
[...]
I believe that the problems you encounter is because of some other cause.
Maybe some other thread that runs in your program, taking up a lot of
processor time. [...]


That code *is* the whole program. The only other code is a button click
event handler that calls TestListView().

I'll post a complete program that demonstrates it in a while.
Nov 15 '05 #7
HEY!!! HOW DID YOU GET AHOLD OF MY SOURCE CODE???

;)
"TonyM" <Bi****@SpamSucks.Net> wrote in message
news:Ne**********************@news.easynews.com...
Lets see here..

I've seen many posts from you lately, all negative and or complaints...
Maybe you'd be better suited with another platform? I hear that people love programming for the Mac...

Last time I saw your post you were complaining that you actually had to
write some code... Did you expect to write something like:

public MyApp()
{
Create.MyPerfectApplication();
}
???
Sorry for being short, but, if you're not happy, do youself a favor and move on, no need to try to influence anyone else. We'll all find out if it's not for us on our own.

Nov 15 '05 #8
TonyM wrote:
Lets see here..

I've seen many posts from you lately, all negative and or complaints...
Maybe you'd be better suited with another platform? I hear that people love
programming for the Mac...
If no-one ever complained, things wouldn't improve half as fast as they do.
Last time I saw your post you were complaining that you actually had to
write some code...
No, that was not the case. I was complaining about .NET missing some
obvious functionality, which forces me to make a library routine and
distribute it with any apps that I make that need the functionality.

Note that TryParse() is being added to other types soon, possibly due to
someone else complaining about it.
Did you expect to write something like:

public MyApp()
{
Create.MyPerfectApplication();
}

I fear the day when programming gets anywhere near that stage.
???
Sorry for being short, but, if you're not happy, do youself a favor and move
on, no need to try to influence anyone else. We'll all find out if it's not
for us on our own.


Nov 15 '05 #9
>It's not about two percent. The .NET controls I'm having problems with
are *unbearably* slow and flickery. It makes apps that use them looks
*awful*. They're show-stoppers.


Not sure what the heck you're doing, then, because we use lots of the
..NET components, and some third-party components, and we would have
never experienced anything like this. Screen flicker or slow updates
are actually DOWN from previous C++ code.

Are you properly using .BeginUpdate / .EndUpdate calls? Are you maybe
experiencing a graphics card driver problem?

I don't see anything in .NET to suggest that screen update performance
is worse than before.

Except for a short delay at the very first startup, we actually don't
see any noticeable performance degradation of ANY kind with the .NET
framework and components.

And productivity and speed of development are WAY UP - so from my
point of view, .NET "ROCKS* and makes it just that much easier and
quicker to develop great Windows apps

Marc
================================================== ==============
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
Nov 15 '05 #10
Marc Scheuner [MVP ADSI] wrote:
Not sure what the heck you're doing, then, because we use lots of the
.NET components, and some third-party components, and we would have
never experienced anything like this. Screen flicker or slow updates
are actually DOWN from previous C++ code.

Are you properly using .BeginUpdate / .EndUpdate calls?
Yes.
Are you maybe
experiencing a graphics card driver problem?
Not as far as I know, but I'll have to look into this, among other things.
I don't see anything in .NET to suggest that screen update performance
is worse than before.

Except for a short delay at the very first startup, we actually don't
see any noticeable performance degradation of ANY kind with the .NET
framework and components.

And productivity and speed of development are WAY UP - so from my
point of view, .NET "ROCKS* and makes it just that much easier and
quicker to develop great Windows apps


Okay, I believe you. I just wish I could say that.
Nov 15 '05 #11
My working hypothesis, right now, is that .NET has exposed some kind of bug
in a few video drivers, because a couple of people have reported lots of
flicker, and the rest of us have never seen it happen.
Nov 15 '05 #12
It must be a device driver problem because in 3+ years of .NET (since the
NGWS alpha) I have never seen this, even after working for dozens of
clients.

--
-----
Sam Gentile
Microsoft MVP - C#/.NET
..NET Blog http://samgentile.com/blog/

Please do NOT contact me directly but respond to
the newsgroup instead.
---------
"Michael A. Covington" <lo**@www.covingtoninnovations.com.for.address> wrote
in message news:uD**************@TK2MSFTNGP11.phx.gbl...
My working hypothesis, right now, is that .NET has exposed some kind of
bug
in a few video drivers, because a couple of people have reported lots of
flicker, and the rest of us have never seen it happen.

Nov 15 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andy Todd | last post by:
Hi We have just moved an ASP.NET application into the live environment which is as follows: Sun Proxy Server / Firewall Windows 2000 Server / IIS5 The URL for the site maps to the Sun...
4
by: John MacIntyre | last post by:
Hi, I have a page with a series of child pages loaded into an iframe. When I move from page to page, I store an object containing the child's control data in a variable on the main page, then...
0
by: Jay Allard | last post by:
Hello I posted this in the vb.net group on the 2/25/2004, but didn't get any response. Here's attempt 2. Does anyone know of a more appropriate place to post this? One new piece of...
6
by: kenneth fleckenstein nielsen | last post by:
Hi guru's It runs ok on my developmaschine, and on the test server that i've set up. but fails after installing on the customers server. I made a XML webservice that does these steps: a) access a...
7
by: SevDer | last post by:
Hi I have a class library that needs to download the HTML in a specific page of ours with provided querystring. When I open this URL with any browser, it loads fine. When I do WebRequest from Web...
1
by: comp.lang.php | last post by:
Consider my code: if ($this->isSuccessful && is_file($_FILES)) { // STEP 6: MOVE RESUME TO DIRECTORY $uuid = $this->sfug->getUUID(); if (!$uuid) $this->sfug->setUUID(); $uuid =...
2
by: Richard Hsu | last post by:
// code #include "stdio.h" int status(FILE * f) { printf("ftell:%d, feof:%s\n", ftell(f), feof(f) != 0 ? "true" : "false"); } int case1() { FILE * f = fopen("c:\\blah", "wb+"); int i = 5;
2
by: Anbu | last post by:
Sorry for cross posting the query. But I need a resolution as early as possible. I have developed an application to authenticate the user based on LDAP Search and authentication. The Windows...
12
by: Jim Rodgers | last post by:
I have a big asp file that has an error under certain conditions -- totally repeatable. However, it only fails when I set response.buffer = True at the top. WHen I set it False in order to debug...
2
by: =?Utf-8?B?YWxiZXJ0b3Nvcmlh?= | last post by:
Hi, I'm using Threads, and when I try to do Server.Transfer, I recieved an error. (child object does not exist...) My Code: Dim t As New Thread(AddressOf Hilo) Private Sub Hilo()...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.