Clone and equal method in Eiffel [closed] - c#

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Why define a clone or equal method in Eiffel gives greater protection with respect to types problems in comparison to something similar in C#?

clone and equal don't offer anything great actually. These 2 routines are on their way out, replaced respectively by twin and the operator ~ in the latest estudio versions.
The problem with both of these routines was that don't offer great protection. The both take objects of type ANY (which is a problem). Their new counterparts are much safer and provide better control at compile time.

Related

Why are ValueTypes in Object Oriented Languages like C# ,Java [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Hi I just want to know for knowledge why there are Value Types in C# or Java . Why they all are not Reference Types?. I can see two reasons for my own:
1)Performance: All commonly used DataTypes are Value types since Value Types have single round where as Reference Types have two rounds first to stack and then to heap.So performance can be the reason. 2)Assigning Values.Any help will be highly appericiated.Thanks
Part of it is performance but a bigger reason is the resulting behavior. You tend to think of integers (for example) as immutable value types. However, if you're dealing with an object, you would be surprised if updating a field in that object wasn't maintained in a calling method because you were modifying a copy.

Is There Any Way To Make A Self JIT Compiled Program? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Instead of needing something like Java, is there a way I could make a program that has a small piece of machine code to compile itself?
It is theoretically possible. But in practice, it would be a lot of work, and the result would not be a small program. In fact, it would be roughly equivalent in size and functionality / complexity to a standard JVM. Which leads to the obvious point that it is unlikely to be worth the effort.
I suggest that you just use a standard JVM, and leverage the (probably) hundreds of man-years of effort that the implementors have put into building high quality JIT compilers ...

Need guidelines to improved image processing library [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am working on image processing library in c#.
want to improve performance/speed and better memory management.
I am using Bitmap class and its just array manipulations.
Can someone suggest me, how to improve it. any guidelines?
The first thing to do is to find out where your problem lies. I would suggest using the built-in Visual Studio profiler to figure out where your execution performance bottlenecks are.
There's an MSDN article here that explains how to use the profiler.

The art of programming: Python vs C# [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
Over the last few years I have grown rather fond of python. I enjoy coding in it a lot more than in other languages. Recently, a coworker told me that he preferred C#. I am having a hard time understanding his choice. When ever I code with C# I feel like its Java but for Microsoft products only. He also added that he is very pleased with the work Microsoft has put into C#. This seems to contradict what I have been lead to believe.
Anyways, which language would you say is more expressive? Which would you use to develop an application and why? What are some of the advantages and disadvantages of using one over the other?
Thanks!

What's the best freely available C# wrapper for BITS? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
BITS, the Windows background intelligent transfer service.
Looks like there are a few C# wrappers around that manage the interop to BITS, does anybody have any opinions on the best one?
I found problems with using the Managed_BITS codeproject article and I found an even better wrapper:
http://www.codeplex.com/sharpbits
http://nuget.org/packages/SharpBITS
Less code, a lot cleaner and unlike the codeproject, it did not hide away those parts of the BITS interface that I actually need to use.
Check out the following:
http://www.codeproject.com/KB/cs/Managed_BITS.aspx
http://www.simple-talk.com/dotnet/.net-tools/using-bits-to-upload-files-with-.net/

Categories