Skip to main content

Posts

What is finalization in .Net C#?

Finalization is to release native resources. Finalization is a mechanism offered by the CLR that allows an object to perform some graceful cleanup prior to the garbage collector reclaiming the object’s memory. Any type that wraps a native resource, such as file, network connection, socket, mutex or other type, must support finalization. Basically, the type implements a method named Finalize . When the garbage collector determines that an object is garbage, it calls the object’s finalize method (if exists). In other words, any type that implements the Finalize method is in effect stating that all of its object want a last meal before they are killed.   DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, p...

Why there is no garbage collector in ANSI C++?

The reason is that a garbage collector must be able to identify an application’s roots and must also be able to find all object pointers. The problem with unmanaged C++ is that it allows casting a pointer from one type to another, and there’s no way to know what a pointer refers to. In the CLR, the managed heap always knows the actual type of an object and uses the metadata information to determine which members of an object refer to other objects.   DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liabilit...

iConcepts : Design, Architecture ,OOD and SOLID Programming (Snap Shots)

 Design, Architecture , OOD  and SOLID Programming (Snap Shots) Hi Friends : “ In practice, you will often find it difficult to differentiate architecture from detailed design”. And also adds: “You will not be alone, since experts generally agree about the broad strokes of architecture but disagree about the fine details, such as where architecture stops and detailed design begins”. Others say that architecture refers to high level details, and Design to low level details. Where is the line that clearly separates what is Architecture and what is Design? Where Architecture stops and where Design begins? If you are presented with any kind of software diagram, is that Architecture or Design? Also, I have read about  Modular Design  and Modular Architecture, same concept with a different title, which one is the most appropriate? I will try to answer these questions. The rule that I think we should use is: If the elements of a software diagram can be mappe...

iConcept : Hadoop Overview - Big data Control though Mobile

Hadoop Overview - Big data Control though Mobile  Hi Friends,  Here I am sharing about the overview of "Hadoop" framework and related projects which is necessary to improve the performance and maintains scalability for Big data. In future, I'll be adding how this stuffs are more useful for the Mobile end-client and computing in detail. Also, I have exposed here how Android smartphone does play with Hadoop concepts in practical. Apache Hadoop  is a software framework that supports data-intensive distributed applications under a free license. It enables applications to work with thousands of computational independent computers and petabytes of data. Hadoop was derived from Google's  MapReduce  and Google File System (GFS)  papers. Hadoop is a top-level Apache project being built and used by a global community of contributors, written in the Java programming language. Yahoo! has been the largest contributor to the project, and uses Hadoop e...