[Freeswitch-dev] C or C++ Development for Freeswitch Modules

Vik Killa vipkilla at gmail.com
Wed Mar 5 16:09:36 MSK 2014


Is there a particular reason why you would favor C++ over C?
I was not aware the modules Brian West pointed out were written in C++
I looked over mod_v8 source and it doesn't look any different than C
Thanks.


On Tue, Mar 4, 2014 at 11:56 PM, Brian West <brian at freeswitch.org> wrote:

> Here are some that are written in or use C++
>
> mod_stress
> mod_mongo
> mod_mp4
> mod_h323
> mod_soundtouch
> mod_komp
> mod_opal
> mod_lua (wrapped switch_cpp + swig)
> mod_event_zmq
> mod_v8
> mod_managed  (wrapped switch_cpp + swig)
> mod_java  (wrapped switch_cpp + swig)
> mod_perl  (wrapped switch_cpp + swig)
> mod_python  (wrapped switch_cpp + swig)
>
> So use what you want really.
>
> --
> Brian West
> brian at freeswitch.org
> FreeSWITCH Solutions, LLC
> PO BOX 2531
> Brookfield, WI 53008-2531
> Twitter: @FreeSWITCH , @briankwest
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
> iNUM: +883 5100 1420 9001
> ISN: 410*543
> Skype:briankwest
> PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Mar 4, 2014, at 8:36 PM, Aaron Scott <rony at botl.au.com> wrote:
>
> > Hi All,
> >
> > I am working on a module for Freeswitch which could benefit from C++.  I
> > have written modules before in C++ and didn't find any particular
> > problem.  However, I can't help but notice that the majority of the
> > modules that come with Freeswitch are written in C. Is there a
> > compelling reason to choose C over C++ for Freeswitch module
> > development?  I realise that C can produce more efficient binaries and
> > is better suited for low latency tasks but are there any reasons aside
> > from this?
> >
> > Kind Regards,
> >
> > Aaron
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140305/07779817/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list