<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Difference Between</title>
	<atom:link href="http://www.differencebetween.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.differencebetween.net</link>
	<description>Difference Between Similar Terms and Objects</description>
	<lastBuildDate>Tue, 18 Jun 2013 20:36:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Differences Between Sql Exists And In</title>
		<link>http://www.differencebetween.net/technology/software-technology/differences-between-sql-exists-and-in/</link>
		<comments>http://www.differencebetween.net/technology/software-technology/differences-between-sql-exists-and-in/#comments</comments>
		<pubDate>Tue, 18 Jun 2013 20:36:19 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[EXISTS]]></category>
		<category><![CDATA[in]]></category>
		<category><![CDATA[SQL server]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.differencebetween.net/?p=29528</guid>
		<description><![CDATA[Sql Exists vs In Problem solving in TSQL is available through different methods and the desired results can be seen using any of them. One of the ways the end results can be achieved is through use of IN and EXISTS clauses. The use of the clauses helps filtration of the result set with reference [...]]]></description>
			<content:encoded><![CDATA[<p dir="ltr"><strong>Sql Exists vs In</strong></p>
<p dir="ltr">Problem solving in TSQL is available through different methods and the desired results can be seen using any of them. One of the ways the end results can be achieved is through use of IN and EXISTS clauses. The use of the clauses helps filtration of the result set with reference to a subquery that is available.  The execution of IN and EXISTS slightly differs and it is these differences that are evaluated.</p>
<p dir="ltr">There are various factors that determine whether or not IN or EXISTS will be rolled out. One of them is the data amount available in the table. A huge amount of data results in the SQL server returning to use of an index scan rather than using an Index Seek.</p>
<p dir="ltr"><strong>Differences</strong></p>
<p dir="ltr">The <a href="http://www.differencebetween.net/category/science/mathematics-statistics/" title="COMPARISON ARTICLES FILED UNDER THE CATEGORY STATISTICS">statistics</a> given also tell a lot about the execution plan that ought to be followed. The difference is shown when the server has accumulated enough statistics to make a valid decision and when there are no statistics the first time. The <a href="http://www.differencebetween.net/category/technology/hardware-technology/" title="COMPARISON OF VARIOUS HARDWARE COMPONENTS AND TERMS">hardware</a> in use also determines whether IN or EXISTS will be employed. This is largely dependent on the number of CPU’s available.</p>
<p dir="ltr">EXISTS are run when there is need to match results of a query with another subquery. IN on the other hand is used when retrieving the values of specific columns that lie within a list. The decision of which to use is solely based by appropriateness, i.e. when you feel that its use is appropriate.</p>
<p dir="ltr">In the event that a subquery is used and a null value is returned, the entire statement becomes NULL. This in effect points to the use of EXISTS keyword. The use of the IN keyword comes about when a comparison of various values in subqueries is required. The EXISTS keyword is mainly used in evaluation of true or false statements and IN is used in most corresponding subquery statements.</p>
<p dir="ltr">In general, EXISTS will be faster than IN,  the reason being that when EXISTS are run, the search has found a hit and will be reviewing whether the condition has proved to be true. When running IN, it collects all results from the subquery and presents them for further processing, and this process takes a while.</p>
<p dir="ltr">It is important to note that phrasing of the query must be done right and be checked prior to being run. Failure to ensure that the query is correct results to EXISTS and IN presenting different values, and this is not the aim of their use in SQL server.  The optimizer must always be optimal when working as it should.</p>
<p dir="ltr"><strong>Summary</strong></p>
<p dir="ltr">Problem solving in TSQL is commonly done with EXISTS and IN.</p>
<p dir="ltr">Slight differences are observed when rolling out EXISTS and IN, though optimization for each should give the same value.</p>
<p dir="ltr">Statistics is one of the determinants of whether EXISTS or IN will be rolled out</p>
<p dir="ltr">Hardware in use is also critical in determining if EXISTS or IN is to be deployed</p>
<p dir="ltr">The running of EXISTS will be useful when there is need to correlate the results of a given query with another subquery. EXISTS is also very common when true or false statements need evaluation.</p>
<p dir="ltr">IN is commonly used when there is a need to retrieve specific columns in a list. Also it is commonly used when value comparison in subqueries is required.</p>
<p dir="ltr">EXISTS is generally faster than IN as it runs, finds a hit, and reviews whether the condition has proved to be true</p>
<p dir="ltr">IN is slower as it collects all results from the subquery and processes it.</p>
<p dir="ltr">Although different executions are present, optimization should give similar results in EXISTS and IN.</p>
<div></div>
<div></div>
<p><strong>You might also like&#8230;</strong>
<ul class="similar-posts">
<li><a href="http://www.differencebetween.net/technology/differences-between-left-and-right-join/" rel="bookmark" title="June 12, 2013">Differences between Left and Right Join</a></li>
<li><a href="http://www.differencebetween.net/language/difference-between-fact-and-opinion/" rel="bookmark" title="September 6, 2009">Difference Between Fact and Opinion</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-ms-access-and-sql/" rel="bookmark" title="April 12, 2010">Difference Between MS Access and SQL</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-mysql-vs-sql/" rel="bookmark" title="April 3, 2010">Difference Between MySQL and SQL</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-sql-and-hql/" rel="bookmark" title="June 10, 2011">Difference Between SQL and HQL</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-application-server-and-web-server/" rel="bookmark" title="February 24, 2011">Difference Between Application Server and Web Server</a></li>
<li><a href="http://www.differencebetween.net/technology/hardware-technology/difference-between-table-and-view/" rel="bookmark" title="June 8, 2011">Difference Between Table and View</a></li>
</ul>
<p><!-- Similar Posts took 7.345 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.differencebetween.net/technology/software-technology/differences-between-sql-exists-and-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differences Between QTP and RFT</title>
		<link>http://www.differencebetween.net/technology/software-technology/differences-between-qtp-and-rft/</link>
		<comments>http://www.differencebetween.net/technology/software-technology/differences-between-qtp-and-rft/#comments</comments>
		<pubDate>Mon, 17 Jun 2013 20:33:47 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[Quick Test Professional]]></category>
		<category><![CDATA[Relational Functional Tester]]></category>
		<category><![CDATA[RFT]]></category>

		<guid isPermaLink="false">http://www.differencebetween.net/?p=29526</guid>
		<description><![CDATA[QTP vs RFT QTP refers to Quick Test Professional, a product developed by HP to provide functional and regression test automation for different software environments and applications that are developed. QTP is also widely used in enterprise quality assurance. RFT, on the other hand, refers to a Relational Functional Tester which is a tool for [...]]]></description>
			<content:encoded><![CDATA[<p dir="ltr"><strong>QTP vs RFT</strong></p>
<div>
<p dir="ltr">QTP refers to Quick Test Professional, a product developed by HP to provide functional and <a href="http://www.differencebetween.net/science/mathematics-statistics/difference-between-ancova-and-regression/" title="ANCOVA VS REGRESSION">regression</a> test automation for different <a href="http://www.differencebetween.net/category/technology/software-technology/" title="COMPARISONS OF SOFTWARE WITH SIMILAR FUNCTIONS">software</a> environments and applications that are developed. QTP is also widely used in enterprise quality assurance. RFT, on the other hand, refers to a Relational Functional Tester which is a tool for automated <a href="http://www.differencebetween.net/business/planning-activities/difference-between-testing-and-quality-assurance/" title="TESTING VS QUALITY ASSURANCE">testing</a> developed by IBM’s software division.  Users have the capability of creating tests that mirror the actions and assessments that would be given by a human tester. Although the face values of these two tools is similar, there are several differences observed between them.</p>
<p dir="ltr"><strong>Differences</strong></p>
<p dir="ltr">In script generation and language, RFT is capable of developing fully functional VB scripts as well as Java scripts.  QTP on the other hand can only generate VB scripts.  Looking at the scripts that these two create, the script in HP’s QTP is graphic user interface (GUI) based. On each step that is performed by the user, <a href="http://www.differencebetween.net/category/object/auto-object/" title="COMPARISON ARTICLES FILED UNDER THE CATEGORY AUTO">auto</a> documentation is done. All this is recorded in the table and in the keyword view, thus making a novice to feel confident and  making it easy to work with the tool. Any user of RFT must have a fair level of programming experience as it does not have a graphic interface as in QTP. A novice would therefore find using RFT extremely challenging.</p>
<p dir="ltr">In the playback of scripts, a replay of user actions performed during the recording phase is done. In contrast with RFT, which does not allow selection of multiple values (which is done by use of shift keys), QTP does support the selection of multiple values. Different test cases can be generated by the use of data driven commands in RFT, but the output of values has to be entered manually. QTP uses parametrization of tests in the generation of test cases.</p>
<p dir="ltr">In object identification, QTP is very good and can identify any custom object. RFT on the other hand targets standard objects but does not perform well for custom objects.  This goes on to test execution where QTP is seen to execute very quickly as opposed to RFT, which is significantly slower in execution.</p>
<p dir="ltr">In reporting capabilities, QTP employs standard reporting formats such as HTML and XML with the default format being its own user interface and HTML. RFT, on the other hand, only works with a single format, HTML, which is also the default format.  Custom coding is required if other interfaces are needed.</p>
<p dir="ltr">In the browsing capabilities, QTP is quite advanced and can support Internet Explorer 7.0 and Netscape 2.0. IBM’s RFT cannot support both Internet 7.0 and Netscape 2.0. The framework supported by RFT is keyword driven, data driven modularity. QTP, on the other hand, supports library architecture, modularity, keyword driven, and data driven.</p>
<p dir="ltr">The active screen availability does not have RFT available in it while QTP supports active screen availability. HP’s QTP supports a descriptive programming approach. Looking at the costs for procurement, RFT is significantly cheaper as opposed to procurement costs associated with QTP.</p>
<p dir="ltr"><strong>Summary</strong></p>
<p dir="ltr">There are major strengths and weaknesses of both QTP and RFT. A comparison of features shows that overall QTP has better features than RFT.</p>
<p dir="ltr">If a novice tester is looking for a good testing program, QTP is the recommended program as it is GUI based</p>
<p dir="ltr">RFT does not allow for multiple select feature using shift keys, which is however possible in QTP</p>
<p dir="ltr">Output values must be manually entered into the data pool in RFT</p>
<p dir="ltr">QTP allows for the generation of output during runtime</p>
<p dir="ltr">Costwise, RFT is cheaper than QTP</p>
</div>
<p><strong>You might also like&#8230;</strong>
<ul class="similar-posts">
<li><a href="http://www.differencebetween.net/technology/software-technology/differences-between-qtp-and-winrunner/" rel="bookmark" title="June 16, 2013">Differences Between QTP and WinRunner</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-pdf-and-html/" rel="bookmark" title="September 22, 2009">Difference Between PDF and HTML</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-php-and-html/" rel="bookmark" title="September 29, 2009">Difference Between PHP and HTML</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-jmeter-and-loadrunner/" rel="bookmark" title="November 2, 2011">Difference Between JMeter and LoadRunner</a></li>
<li><a href="http://www.differencebetween.net/technology/protocols-formats/difference-between-rtf-and-html/" rel="bookmark" title="February 23, 2012">Difference Between RTF and HTML</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-sax-and-dom/" rel="bookmark" title="March 25, 2010">Difference Between SAX and DOM</a></li>
<li><a href="http://www.differencebetween.net/technology/web-applications/difference-between-user-controls-and-custom-controls/" rel="bookmark" title="October 30, 2011">Difference Between User Controls and Custom Controls</a></li>
</ul>
<p><!-- Similar Posts took 7.344 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.differencebetween.net/technology/software-technology/differences-between-qtp-and-rft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differences Between QTP and WinRunner</title>
		<link>http://www.differencebetween.net/technology/software-technology/differences-between-qtp-and-winrunner/</link>
		<comments>http://www.differencebetween.net/technology/software-technology/differences-between-qtp-and-winrunner/#comments</comments>
		<pubDate>Sun, 16 Jun 2013 20:32:58 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[active screens]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[QTP]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[vbscript]]></category>
		<category><![CDATA[WinRunner]]></category>

		<guid isPermaLink="false">http://www.differencebetween.net/?p=29527</guid>
		<description><![CDATA[QTP vs WinRunner  Both WinRunner and QTP are programs that have been developed by HP’s software division mainly for testing purposes. WinRunner is software that is tasked to perform Graphic User Interface (GUI) testing and is also allowed to record and play back user interface interactions as test scripts. QTP, on the other hand, refers [...]]]></description>
			<content:encoded><![CDATA[<p><strong>QTP vs WinRunner </strong></p>
<p dir="ltr">Both WinRunner and QTP are programs that have been developed by HP’s <a href="http://www.differencebetween.net/category/technology/software-technology/" title="COMPARISONS OF SOFTWARE WITH SIMILAR FUNCTIONS">software</a> division mainly for <a href="http://www.differencebetween.net/business/planning-activities/difference-between-testing-and-quality-assurance/" title="TESTING VS QUALITY ASSURANCE">testing</a> purposes. WinRunner is software that is tasked to perform Graphic User Interface (GUI) testing and is also allowed to record and play back user interface interactions as test scripts. QTP, on the other hand, refers to Quick Test Professional, which is a product that has been developed for the provision of <a href="http://www.differencebetween.net/science/mathematics-statistics/difference-between-ancova-and-regression/" title="ANCOVA VS REGRESSION">regression</a> and functional test automation on different software environments. Software quality assurance testing also heavily relies on QTP. Both WinRunner and QTP come with functional differences relating to the tasks they perform and these are elaborated in detail below.</p>
<p dir="ltr">When it comes to the environment that is supported by both WinRunner and QTP, these two differ greatly. WinRunner supports an environment that has Powerbuilder, Delphi, Centura, Stingray, Forte, and SmallTalk. The environment that QTP works on includes .NET framework, Flash and XML <a href="http://www.differencebetween.net/category/technology/web-applications/" title="COMPARISON OF VARIOUS WEB APPLICATIONS">web</a> services.</p>
<p dir="ltr">The user model is also an issue of difference. This deals with the way in which users interact with the application.  With WinRunner users will interact with a focus on the test script, looking at requirements that have familiarity with the programming and searching for one that is very powerful. In QTP, users interact with applications using synchronized test scripts and an active screen. QTP also has an easy interface due to its GUI; however, there is a mode for experts to work with too. This makes QTP seem easy to use but it is also very powerful.</p>
<p dir="ltr">When it comes to the script recording modes, WinRunner is context sensitive and therefore uses a flat object hierarchy. Also WinRunner is analog and therefore captures any input inserted to it, be it keyboard input, a mouse path, or even a mouse click. QTP, on the other, uses a multi-level object hierarchy. Also, QTP is low-level and therefore only sues mouse coordinates.</p>
<p dir="ltr">WinRunner offers a programmatic representation when creating scripts. It uses TSL which is similar to C language. TSL is a procedural <a href="http://www.differencebetween.net/category/language/" title="COMPARISON ARTICLES FILED UNDER THE CATEGORY LANGUAGE">language</a> and uses objects from a GUI map. QTP on the other hand creates scripts in two modes. One of these can be icon based while the other can be a programmatic representation.  QTP uses VB script, which is an object-oriented language similar to VB. All the objects used come from the object repository.</p>
<p dir="ltr">In object storage and operations, WinRunner stores its content in a flat hierarchy and this can be viewed using a GUI spy.  The content is also stored in a GUI Map. For any new objects, a temporary GUI Map is developed by WinRunner to hold new objects. QTP on the other hand uses a multilevel object hierarchy for storage of its content. Just as in WinRunner it can be viewed using an object spy and is stored in the object repository. Content is automatically stored in the object repository.</p>
<p dir="ltr">Other areas of difference include transaction measurement that is handled by TSL programming in WinRunner, while in QTP it is done by VBScript programming. Any data-driven operations create iterations automatically in WinRunner. QTP on the other hand creates iterations automatically and programmatically for any data-driven operations. Finally, WinRunner handles exceptions using the exception editor while QTP uses Rec.</p>
<p dir="ltr">Summary</p>
<p dir="ltr">WinRunner and QTP were developed by HP</p>
<p dir="ltr">WinRunner users interact with a focus on the test script</p>
<p dir="ltr">QTP users interact with applications using synchronized test scripts and active screens</p>
<p dir="ltr">WinRunner uses TSL while QTP uses VBScript</p>
<p dir="ltr">WinRunner in object storage operations stores the objects in a flat hierarchy while QTP stores objects in a multilevel hierarchy</p>
<div></div>
<p><strong>You might also like&#8230;</strong>
<ul class="similar-posts">
<li><a href="http://www.differencebetween.net/technology/software-technology/differences-between-qtp-and-rft/" rel="bookmark" title="June 17, 2013">Differences Between QTP and RFT</a></li>
<li><a href="http://www.differencebetween.net/object/difference-between-qtp-and-loadrunner/" rel="bookmark" title="October 18, 2009">Difference Between QTP and LoadRunner</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-jmeter-and-loadrunner/" rel="bookmark" title="November 2, 2011">Difference Between JMeter and LoadRunner</a></li>
<li><a href="http://www.differencebetween.net/language/difference-between-urdu-and-punjabi/" rel="bookmark" title="May 17, 2011">Difference Between Urdu and Punjabi</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-mvc-and-mvp/" rel="bookmark" title="February 23, 2010">Difference Between MVC and MVP</a></li>
<li><a href="http://www.differencebetween.net/language/differences-between-punjabi-and-gurumukhi/" rel="bookmark" title="September 19, 2012">Difference Between Punjabi and Gurumukhi</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-sax-and-dom/" rel="bookmark" title="March 25, 2010">Difference Between SAX and DOM</a></li>
</ul>
<p><!-- Similar Posts took 5.801 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.differencebetween.net/technology/software-technology/differences-between-qtp-and-winrunner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difference between RSA and DSA</title>
		<link>http://www.differencebetween.net/technology/protocols-formats/difference-between-rsa-and-dsa/</link>
		<comments>http://www.differencebetween.net/technology/protocols-formats/difference-between-rsa-and-dsa/#comments</comments>
		<pubDate>Sat, 15 Jun 2013 20:28:07 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Protocols & Formats]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[DSA]]></category>
		<category><![CDATA[encrypting]]></category>
		<category><![CDATA[encryption algorithms]]></category>
		<category><![CDATA[RSA]]></category>

		<guid isPermaLink="false">http://www.differencebetween.net/?p=29525</guid>
		<description><![CDATA[RSA vs DSA When dealing with cryptography and encryption algorithms, there are two names that will appear in every once in a while. These are DSA and RSA. Both of these are encryption systems that are in common use when encrypting content. Both of them give good results and can be employed at will. However, [...]]]></description>
			<content:encoded><![CDATA[<p dir="ltr"><strong>RSA vs DSA</strong></p>
<div>
<p dir="ltr">When dealing with cryptography and encryption algorithms, there are two names that will appear in every once in a while. These are DSA and RSA. Both of these are encryption systems that are in common use when encrypting content. Both of them give good results and can be employed at will. However, if there is need of their specific abilities, some differences are noted. A thorough comparison of the two is discussed below.</p>
<p dir="ltr">The DSA commonly refers to the Digital Signature Algorithm. The RSA on the other hand refers to the initials of the people who created it. These are Ron Rivest, Adi Shamir, and Leonard Adleman. The DSA was designed as an encryption algorithm. The DSA was developed by the NSA to be used by the US <a href="http://www.differencebetween.net/business/management-business/difference-between-government-and-business/" title="GOVERNMENT VS BUSINESS">government</a> as a standard for digital signatures. This signature borrows heavily from the ElGamal Signature Algorithm from which most ideas were borrowed from. RSA, on the other hand, looks at the difficulty of factoring numbers as the main aspect of its development.</p>
<p dir="ltr">The name DSA spells out its main function. This is a program that is mainly built for signing, and therefore it is quite popular with digital signatures.  This however does not extend beyond the signature to the message itself. RSA, on the other hand, covers signing in encryption and encryption of the message contained as well.</p>
<p dir="ltr">As a result of dealing with digital signatures only, the use of DSA is preferred when faster key generation is needed. This is because DSA produces the keys very quickly. When faster encryption is required, RSA is preferred as it encrypts both message and signature for signing in. When in need of decryption, DSA is faster mainly due to the fact that it is specialized for a single function only. Digital signature generation work best with DSA while verification of the digital signature is faster when RSA is employed. In looking at how quickly either DSA or RSA handles a given task, it should be assessed whether fewer computer resources are used.</p>
<p dir="ltr">A perfect balance must be found which employs both DSA and RSA, as no single encryption algorithm can be rolled out alone. Both the RSA and DSA are crucial in rolling out encryption algorithms that can be employed in the server environment and with the client as well.</p>
<p dir="ltr">Both the RSA and DSA can be said to have similar cryptographic strengths. It is however the performance advantages when rolling out at specific points that make one or the other the preferred choice to be used at that specific point in time.</p>
<p dir="ltr">It can be generally concluded that the DSA is best suited for signing in and decrypting while verification and encryption can be left to the RSA. If any issue is noted with the performance, an evaluation can be done to find out if the right encryption algorithm has been rolled out.</p>
<p dir="ltr"><strong>Summary</strong></p>
<p dir="ltr">DSA and RSA are two common encryption algorithms that can be said to be of equal strength</p>
<p dir="ltr">The performance of the two is what distinguishes one from the other</p>
<p dir="ltr">DSA is faster when generating a key than RSA</p>
<p dir="ltr">RSA on the other hand is faster at encryption than DSA</p>
<p dir="ltr">When decrypting, DSA is faster, mainly due to its great decryption capability</p>
<p dir="ltr">If you need digital signing, DSA is the encryption algorithm of choice</p>
<p dir="ltr">For verification of the digital signature RSA is the best choice.</p>
<p dir="ltr">Depending on the circumstances, a choice will need to be made, but both DSA and RSA have equal encryption capabilities and the option with less demand on the resources should be chosen.</p>
<div></div>
</div>
<p><strong>You might also like&#8230;</strong>
<ul class="similar-posts">
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-encryption-and-hashing/" rel="bookmark" title="May 31, 2011">Difference Between Encryption and Hashing</a></li>
<li><a href="http://www.differencebetween.net/language/words-language/difference-between-rijndael-and-rijndaelmanaged/" rel="bookmark" title="January 4, 2012">Difference Between Rijndael and RijndaelManaged</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-pgp-and-gpg/" rel="bookmark" title="April 12, 2012">Difference Between PGP and GPG</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-pgp-and-smime/" rel="bookmark" title="January 11, 2011">Difference Between PGP and S/MIME</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-aes-and-3des/" rel="bookmark" title="August 7, 2010">Difference Between AES and 3DES</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-pdf-and-pdf-a/" rel="bookmark" title="September 16, 2011">Difference Between PDF and PDF/ A</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-a-law-and-u-law/" rel="bookmark" title="December 27, 2010">Difference Between A-law and u-Law</a></li>
</ul>
<p><!-- Similar Posts took 4.217 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.differencebetween.net/technology/protocols-formats/difference-between-rsa-and-dsa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difference between mmap and malloc</title>
		<link>http://www.differencebetween.net/technology/hardware-technology/difference-between-mmap-and-malloc/</link>
		<comments>http://www.differencebetween.net/technology/hardware-technology/difference-between-mmap-and-malloc/#comments</comments>
		<pubDate>Fri, 14 Jun 2013 20:25:17 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[malloc]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[mmap]]></category>
		<category><![CDATA[programming language]]></category>
		<category><![CDATA[UNIX system]]></category>

		<guid isPermaLink="false">http://www.differencebetween.net/?p=29524</guid>
		<description><![CDATA[mmap vs malloc There is dynamic memory in C and this points to allocation of memory in the C programming language through a set of functions present in the C standard library. One of these is malloc, which refers to memory allocation. In the UNIX system there is mmap, which refers to a memory mapped [...]]]></description>
			<content:encoded><![CDATA[<p dir="ltr"><strong>mmap vs malloc</strong></p>
<div>
<p dir="ltr">There is dynamic memory in C and this points to allocation of memory in the C programming <a href="http://www.differencebetween.net/category/language/" title="COMPARISON ARTICLES FILED UNDER THE CATEGORY LANGUAGE">language</a> through a set of functions present in the C standard library. One of these is malloc, which refers to memory allocation. In the UNIX <a href="http://www.differencebetween.net/category/business/structure-systems/" title="COMPARISON ARTICLES FILED UNDER BUSINESS SYSTEMS">system</a> there is mmap, which refers to a memory mapped system that comes with its own unique I/O. These two (mmap and malloc) will at face value perform the same function but further scrutiny reveals some differences. These differences, that arise from functionality, are outlined below.</p>
<p dir="ltr"><strong>Differences</strong></p>
<p dir="ltr">First off, it is important to establish whether there is any evidence indicating that there is significant stifling of the memory available. This is done through the measurement of the program’s performance against memory <a href="http://www.differencebetween.net/category/business/management-business/" title="COMPARISON ARTICLES FILED UNDER MANAGEMENT">management</a> .</p>
<p dir="ltr">The main memory allocation interface is malloc. This is the largest in the C library. Part of the management <a href="http://www.differencebetween.net/business/structure-systems/difference-between-universal-product-code-upc-and-stock-keeping-unit-sku/" title="UNIVERSAL PRODUCT CODE VS STOCK KEEPING NIT">code</a> contained in it is mmap.  When malloc is running, it gathers all available system facilities. Additional system facilities can be mobilized through the kernel, which is one of the memory management strategies that systems use to ensure that there is satisfactory memory allocation. The process is  not straightforward, though, and has been made to be complicated for the sole reason of preventing people from creating simple programs that can disorganize memory allocation and hence create <a href="http://www.differencebetween.net/language/words-language/difference-between-rich-and-poor/" title="RICH VS POOR">poor</a> performance.</p>
<p dir="ltr">‘mmap’ on the other hand is a system call that takes charge and requests the kernel to find an unused and contiguous region in an application’s address that is large enough to allow for the mapping of several pages of memory. There is also the creation of virtual memory management structures which in effect cannot result in a segfault.</p>
<p dir="ltr">Malloc generally functions in most of the memory management process. In the event the program requires additional memory, this is borrowed from the OS. Mmap on the other hand makes use of a context switch that converts into kernel land.</p>
<p dir="ltr">Malloc is best suited for allocating memory in any application running on the system as opposed to the use of mmap. This is what is required to happen by default, other than in special cases when it may be permitted.</p>
<p dir="ltr">Mmap can be used to speed up the <a href="http://www.differencebetween.net/science/biology-science/difference-between-stimulus-and-response/" title="STIMULUS VS RESPONSE">response</a> given by applications. This is however not advisable as it ends up sacrificing some bytes to pages so that the application can run smoothly. Although the data content may seem small in the beginning, extrapolating it when numerous applications want to run may in effect slow down the system even further.</p>
<p dir="ltr">After measuring performance and usage of resources, a thorough evaluation of data usage by all applications running on the system should be done.  If the lifetimes of the applications running can be shown it can become better.</p>
<p dir="ltr">Use of mmap for allocating memory comes with the disadvantage that the allocation and deallocation of data in chunks is expensive. This is because data is split into numerous areas, and also denies mmap from making system calls.</p>
<p dir="ltr">Mmap is advantageous over malloc because memory used up by mmap is immediately returned to the OS.   The memory used up by malloc is never returned unless there is a data segment break. This memory is specially kept to be reused.</p>
<p dir="ltr"><strong>Summary</strong></p>
<p dir="ltr">‘malloc’ stands for main memory allocation point</p>
<p dir="ltr">A mmap system calls and requests a kernel to find unused regions in application addresses which can accommodate mapping of several memory pages</p>
<p dir="ltr">Mmap is not recommended for allocating memory as it splits available memory and cannot make system calls</p>
<p dir="ltr">A benefit of mmap over malloc is the availability of memory, as opposed to malloc memory, which is reused.</p>
<div></div>
</div>
<p><strong>You might also like&#8230;</strong>
<ul class="similar-posts">
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-malloc-and-new/" rel="bookmark" title="June 6, 2011">Difference Between Malloc and New</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-sap-memory-and-abap-memory/" rel="bookmark" title="December 28, 2010">Difference Between SAP memory and ABAP memory</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-operating-system-and-kernel/" rel="bookmark" title="November 1, 2009">Difference Between Operating System and Kernel</a></li>
<li><a href="http://www.differencebetween.net/object/gadgets-object/difference-between-android-2-2-and-android-2-3-3/" rel="bookmark" title="May 30, 2013">Difference between Android 2.2 And Android 2.3.3</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-application-server-and-web-server/" rel="bookmark" title="February 24, 2011">Difference Between Application Server and Web Server</a></li>
<li><a href="http://www.differencebetween.net/technology/software-technology/difference-between-client-server-application-and-web-application/" rel="bookmark" title="May 15, 2011">Difference Between Client Server Application and Web Application</a></li>
<li><a href="http://www.differencebetween.net/technology/difference-between-vxworks-and-linux/" rel="bookmark" title="April 8, 2010">Difference Between VxWorks and Linux</a></li>
</ul>
<p><!-- Similar Posts took 6.921 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.differencebetween.net/technology/hardware-technology/difference-between-mmap-and-malloc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
