473,405 Members | 2,171 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,405 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 1199

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...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.