<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 03.02.2008 LibSydney and PulseAudio development</title>
	<atom:link href="http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/</link>
	<description>Just another GNOME Blogs weblog</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:04:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stefan Westerfeld</title>
		<link>http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/comment-page-1/#comment-22</link>
		<dc:creator>Stefan Westerfeld</dc:creator>
		<pubDate>Sun, 10 Feb 2008 04:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/#comment-22</guid>
		<description>&gt; Can’t do object orientation in C? Tell that to the people who wrote GObject.

I have not said that it is not possible to do object oriented programming in C. I just said that it is suboptimal, because the language does not support it. And I know Tim Janik who wrote lots of GObject code - we have studied at the University of Hamburg together; and we are both working on BEAST.

Since we started using C++ in BEAST, we see that the amount of source code you need to write to implement a plugin, a widget or some other part of the program is usually quite a bit smaller than the C code. So I am not saying that you cannot do object orientation in C (GIMP for instance is an excellent object oriented application written in C); my point is only that coding the same functionality in C++ is less work than in doing it in plain C.</description>
		<content:encoded><![CDATA[<p>&gt; Can’t do object orientation in C? Tell that to the people who wrote GObject.</p>
<p>I have not said that it is not possible to do object oriented programming in C. I just said that it is suboptimal, because the language does not support it. And I know Tim Janik who wrote lots of GObject code &#8211; we have studied at the University of Hamburg together; and we are both working on BEAST.</p>
<p>Since we started using C++ in BEAST, we see that the amount of source code you need to write to implement a plugin, a widget or some other part of the program is usually quite a bit smaller than the C code. So I am not saying that you cannot do object orientation in C (GIMP for instance is an excellent object oriented application written in C); my point is only that coding the same functionality in C++ is less work than in doing it in plain C.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Munk</title>
		<link>http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/comment-page-1/#comment-20</link>
		<dc:creator>Jens Munk</dc:creator>
		<pubDate>Fri, 08 Feb 2008 16:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/#comment-20</guid>
		<description>Ups

Never seen this syntax before. Just tested the source using gdb. No memory is allocated twice.

Sorry for the inconvenience

Jens</description>
		<content:encoded><![CDATA[<p>Ups</p>
<p>Never seen this syntax before. Just tested the source using gdb. No memory is allocated twice.</p>
<p>Sorry for the inconvenience</p>
<p>Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Munk</title>
		<link>http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/comment-page-1/#comment-19</link>
		<dc:creator>Jens Munk</dc:creator>
		<pubDate>Fri, 08 Feb 2008 16:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/#comment-19</guid>
		<description>Hi Stefan

I ran across a FIR filter of yours, where you have made a nice templated class for memory alignment. I have a question for you

What is the point in 

malloc&#039;ing

and afterwards

new (data + i) T()

You allocate memory twice. You can equally well allocate an array of struct/class/unions and use the __atribute(aligned(16)).

Cheers
Jens</description>
		<content:encoded><![CDATA[<p>Hi Stefan</p>
<p>I ran across a FIR filter of yours, where you have made a nice templated class for memory alignment. I have a question for you</p>
<p>What is the point in </p>
<p>malloc&#8217;ing</p>
<p>and afterwards</p>
<p>new (data + i) T()</p>
<p>You allocate memory twice. You can equally well allocate an array of struct/class/unions and use the __atribute(aligned(16)).</p>
<p>Cheers<br />
Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Me</title>
		<link>http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/comment-page-1/#comment-16</link>
		<dc:creator>Me</dc:creator>
		<pubDate>Mon, 04 Feb 2008 06:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/#comment-16</guid>
		<description>Can&#039;t do object orientation in C? Tell that to the people who wrote GObject.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t do object orientation in C? Tell that to the people who wrote GObject.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rui</title>
		<link>http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/comment-page-1/#comment-15</link>
		<dc:creator>Rui</dc:creator>
		<pubDate>Sun, 03 Feb 2008 11:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/#comment-15</guid>
		<description>It&#039;s factually correct that C doesn&#039;t support modern OOP. That said, a lot of people (the majority of GNOME) don&#039;t mind doing OOP with GObject despite its verbosity. What&#039;s your problem with GObject?</description>
		<content:encoded><![CDATA[<p>It&#8217;s factually correct that C doesn&#8217;t support modern OOP. That said, a lot of people (the majority of GNOME) don&#8217;t mind doing OOP with GObject despite its verbosity. What&#8217;s your problem with GObject?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lurgy</title>
		<link>http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/comment-page-1/#comment-14</link>
		<dc:creator>lurgy</dc:creator>
		<pubDate>Sun, 03 Feb 2008 04:47:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/#comment-14</guid>
		<description>But it is certainly possible to use the OO paradigm in C!  It is true that C++ was implemented with OO in mind, but that doesn&#039;t mean you can&#039;t do it in C too :)

That is a significant misconception ^_^</description>
		<content:encoded><![CDATA[<p>But it is certainly possible to use the OO paradigm in C!  It is true that C++ was implemented with OO in mind, but that doesn&#8217;t mean you can&#8217;t do it in C too <img src='http://blogs.gnome.org/stw/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p>That is a significant misconception ^_^</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/stw/2008/02/03/03022008-libsydney-and-pulseaudio-development/feed/ ) in 1.25298 seconds, on Feb 11th, 2012 at 4:47 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 11th, 2012 at 5:47 am UTC -->
