473,396 Members | 2,102 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,396 software developers and data experts.

Scribble

I built the C# example of Scribble and played around with it for a while. I
have found these following problems with the program:

1. It starts horribly slowly. I understand MSIL code must be JIT-compiled
before they can be run but Scribble is such a simple program and it should
not take nearly a minute to start up on my Pentium IV 2.4 Hz machine running
windows xp.

2. The strokes are bulky--there are white "holes" in the strokes especially
when it is drawn really slowly. At first I thought it was a sort of texture
applied for fun, but with some experiments taken it surely isn't the case.

3. The re-paint process is rather slow! This time the same group of painting
methods are activated repeatedly and theoretically it should not take too
long since the JIT compilation is carried out only at the first activation
of a method. If you try to scribble up the entire painting area and drag a
dialog box (the about box) across you'll find repainting around the dialog
box and the box becomes difficult to move.

4. The re-paint is not complete! I scribbled up the whole painting area with
a thick pen and the painting area becomes simply plain black. Now after some
dialog box dragging and menu popping, it happens some white holes (rather
big) comes up which indicates that the area is not completely repainted.

I also tried to build same Scribble written in C++ and the MFC library
(non-dotnet stuff). The repaint process is still slow but visibly faster
than the C# example; problem 1, 3 and 4 does not appear.

As a critical conclusion, C# programs are slow at least in drawings, and the
GDI+ .Net interface seems buggy.

ben

Nov 16 '05 #1
0 1152

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

Similar topics

6
by: Ian Gibbons | last post by:
Firstly what type is %x as I've not encountered it before? Now the problem: I'm trying to alter a host masking system for ircd so that it masks all but the isp name and location (if .uk.us etc..)....
57
by: Xarky | last post by:
Hi, I am writing a linked list in the following way. struct list { struct list *next; char *mybuff; };
24
by: Massimo Soricetti | last post by:
Hello, I'm not a C newbie, but I'm teaching C programming (well... FIRST programming and then C) to other guys these days and it's driving me to some reflexions on the language. It's not...
2
by: Serge Klokov | last post by:
Hi! 1. Please, help with example "paint on form by mouse" 2. Below is my example, but it clear the line after each Refresh()... how to fix? 3. How to draw the line in Mouse_Move event? ...
0
by: benben | last post by:
I built the C# example of Scribble and played around with it for a while. I have found these following problems with the program: 1. It starts horribly slowly. I understand MSIL code must be...
1
by: benben | last post by:
I built the C# example of Scribble and played around with it for a while. I have found these following problems with the program: 1. It starts horribly slowly. I understand MSIL code must be...
2
by: bh | last post by:
i haven't the scroibble in my cd of visual c++ if someone can help me for find this in the net because i hope to learn how can i use visual c++ for developping my applications with interface...
1
by: Charles A. Lackman | last post by:
Hello, I have an aspx web page and would like to add a box where the visitor can scribble inside of it with their mouse and save it to their hard drive. I know how to accomplish it in a desktop...
59
by: Jeff Bowden | last post by:
For ease of configuration and other reasons, I would like for my single-user GUI app to be able to use postgresql in-process as a library accessing a database created in the users home directory. ...
2
by: Bill Q | last post by:
Hello, I am trying to learn vsc#. I downloaded the sample project for scribble and was wondering if there is a tutorial to read and walk me through the code. If there is if I could get some hint...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.