Hello,
I have started learning .NET and I have a question: what are, in your
opinion, weak sides of .NET 2.0.
Thank you very much for your answers.
/RAM/ 11 1596
This is a very open question as alot of it is language specific.
As an example a static vs dynamic typing laguage. .NET has both and both
have their strengths and weaknesses.
It also brings up questions of what you are trying to compare it to? If you
are comparing it to C I would say that there are many spots where it will be
much slower.
Cheers,
Greg Young
MVP - C# http://codebetter.com/blogs/gregyoung
"R.A.M." <r_********@poc zta.onet.pl> wrote in message
news:ri******** *************** *********@4ax.c om... Hello, I have started learning .NET and I have a question: what are, in your opinion, weak sides of .NET 2.0. Thank you very much for your answers. /RAM/
Hello R.A.M.,
My point is weak of "real-time" support for critical systems
R> Hello,
R> I have started learning .NET and I have a question: what are, in your
R> opinion, weak sides of .NET 2.0.
R> Thank you very much for your answers.
R> /RAM/
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
VS 2005 is still Beta IMHO. .NET 2.0 foundation seems OK (still lacking all
the features I would like) but that is primarily due to the fact it is
really just wrapper code around the OS core. If you have mission critical
items, I would avoid using .NET.
"R.A.M." <r_********@poc zta.onet.pl> wrote in message
news:ri******** *************** *********@4ax.c om... Hello, I have started learning .NET and I have a question: what are, in your opinion, weak sides of .NET 2.0. Thank you very much for your answers. /RAM/
Hello Michael,
..NET (any version) is not meant to be used for real-time processing. It's
not in it's design specs, and the documentation clearly states not to even
attempt it.
-Boo Hello R.A.M.,
My point is weak of "real-time" support for critical systems
R>> Hello,
R>> I have started learning .NET and I have a question: what are, in
R>> your
R>> opinion, weak sides of .NET 2.0.
R>> Thank you very much for your answers.
R>> /RAM/ --- WBR, Michael Nemtsev :: blog: http://spaces.msn.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche
R.A.M. <r_********@poc zta.onet.pl> wrote: I have started learning .NET and I have a question: what are, in your opinion, weak sides of .NET 2.0.
..NET library in particular? I would say:
* The drawing performance of WinForms applications, and general lack of
maturity of WinForms and GDI+.
* The steady and continuing pollution of System.* namespaces with
ugly Win32-isms (System.Diagnos tics.* in particular).
* The lack of some classical collections including trees etc. for
guaranteed logarithmic performance.
..NET runtime in particular? I would say:
* Debugging interop with native code can be confusing, because managed
code is at a different abstraction level (there's no easy way out of
this one, though.)
* Lack of flexibility in the underlying virtual machine model for
implementing dramatically different language features (e.g.
continuation passing style, poor tail-call performance, coroutines,
lightweight threading models).
* The existence of the .NET libraries requires languages to interoperate
well with its object model in order to leverage it. This in turn
forces languages with different object models to change their object
model, or be an awkward and strange member of the world of .NET, or
have two similar but subtly different object models.
-- Barry
-- http://barrkel.blogspot.com/
All in all. .NET is great. Visual Studio is a tad ambitious and thus buggy.
My biggest gripe is lack of MI (Multiple Inheritance); I grew up with it and
miss it dearly. Enhance the CLR and C# to handle MI and you'd pretty much
have my dream environment.
"R.A.M." <r_********@poc zta.onet.pl> wrote in message
news:ri******** *************** *********@4ax.c om... Hello, I have started learning .NET and I have a question: what are, in your opinion, weak sides of .NET 2.0. Thank you very much for your answers. /RAM/
Barry Kelly wrote: * The lack of some classical collections including trees etc. for guaranteed logarithmic performance.
The SortedDictionar y in 2.0 is implemented as a red black tree.
Hello GhostInAK,
I know, and it's could be considered as weak side
G> Hello Michael,
G>
G> .NET (any version) is not meant to be used for real-time processing.
G> It's not in it's design specs, and the documentation clearly states
G> not to even attempt it.
G>
G> -Boo
G> Hello R.A.M.,
My point is weak of "real-time" support for critical systems
R>>> Hello,
R>>> I have started learning .NET and I have a question: what are, in
R>>> your
R>>> opinion, weak sides of .NET 2.0.
R>>> Thank you very much for your answers.
R>>> /RAM/ --- WBR, Michael Nemtsev :: blog: http://spaces.msn.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
"Brian Gideon" <br*********@ya hoo.com> wrote: Barry Kelly wrote: * The lack of some classical collections including trees etc. for guaranteed logarithmic performance.
The SortedDictionar y in 2.0 is implemented as a red black tree.
Sure, but it's a map, not a set. If you look at the range of the
possibilities in the JDK, you'll see what I mean:
Interfaces:
* List
* Map
* Set
* SortedMap
* SortedSet
Classes:
* ArrayList
* HashMap
* HashSet
* TreeMap
* TreeSet
* PriorityQueue
* LinkedList
* LinkedHashMap
* LinkedHashSet
* EnumMap
* EnumSet
And some concurrent collections, many which use lock-free programming
techniques, so you don't have to (and they're hard to get right):
* ArrayBlockingQu eue
* LinkedBlockingQ ueue
* PriorityBlockin gQueue
* DelayQueue
* CopyOnWriteArra yList
* CopyOnWriteArra ySet
* ConcurrentHashM ap
* ConcurrentLinke dQueue
* SynchronousQueu e
The same level of choice for implementation of the same basic interfaces
doesn't exist in .NET at the moment.
This is not to say that JDK's collections are superior where comparable;
I don't think that's true. I far prefer .NET's List<T> to JDK's
ArrayList<T>.
-- Barry
-- http://barrkel.blogspot.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gabriel Zachmann |
last post by:
Is it correct to say that strong/weak typing does not make a difference
if one does not use any pointers (or adress-taking operator)?
More concretely, I am thinking particularly of Python vs C++.
So, are there any examples (without pointers, references, or adress-taking),
which would have a different result in Python and in C++?
I would appreciate all insights or pointers to literature.
TIA,
|
by: Vinay |
last post by:
Hello
My question is regarding "weak external symbols". Consider the
following eg.
class test
{
public :
int func1(void); {cout <<"func1";}
int func2(void);
|
by: memememe |
last post by:
I see weak reference on the .net api, but I do not see soft or phantom, are
they supported on .net?
|
by: Derrick |
last post by:
I'm loading a boatload of data into a DataSet. The memory usage grows and
grows for the app while loading that data. Calling GC.Collect() reduces the
consumption slightly. When I minimize the app though, the usage goes to
about 500k, and then grows when maximizing the app and working with DataSet.
The DataSet still appears to have all data when mem footprint was many many
megs at the end of loading it.
Two questions:
1) I'm guessing...
|
by: Matthew Herrmann |
last post by:
Hi,
I've heard from groups that listeners to event handlers cause
references to be kept alive, if the targets are marked to stay alive. I
need to make sure that attaching events to objects will not cause them
to be kept open.
I created a test which has "target" listening to "source" for events.
After plugging source into target, I then let go of source. Since I'm
still holding onto target, if delegates were a strong reference, then
| |
by: Neelesh Bodas |
last post by:
Hi all,
does C++ give a way to declare a specific symbol as a "weak symbol"?
In 'C', one can use #pragma directive.
Is this still a legal way in C++ ? Is there a (better?) alternative?
|
by: John Nagle |
last post by:
Are weak refs slower than strong refs? I've been considering making the
"parent" links in BeautifulSoup into weak refs, so the trees will release
immediately when they're no longer needed. In general, all links back
towards the root of a tree should be weak refs; this breaks the loops
that give reference counting trouble.
John Nagle
|
by: Henri.Chinasque |
last post by:
Hi all,
I've been considering that my objects should subscribe to an event via
a weak reference, however I've found several warnings that this
approach comes with concurrency considerations, like the fact that the
event handler method on the subscriber could be called and be
executing while the object is being garbage collected.
Not being super strong in the multithreaded department, I am having a
hard time coming up with other...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |