Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Nick Treleaven
On 29/08/2013 06:47, Lex Trotman wrote: On the topic of exceptions, remember many STL operations and "new" can throw. Of course only throwing on uncorrectable errors like out of memory is fine, it just exits the application. Thats what will happen to a throw from Scintilla in current Geany, its

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Nick Treleaven
On 29/08/2013 13:52, Lex Trotman wrote: I would even go so far as to say it's silly to not use C++11 since it's such a major improvement over previous C++ versions, in both performance I'm curious, why does it perform better? I'm putting words in Matthews mouth here, but things like move

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Lex Trotman
On 1 September 2013 00:05, Nick Treleaven wrote: > On 29/08/2013 06:47, Lex Trotman wrote: > >> On the topic of exceptions, remember many STL operations and "new" can >> throw. Of course only throwing on uncorrectable errors like out of memory >> is fine, it just exits the application. Thats wha

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Lex Trotman
[...] > Readability is definitely better in C++11 when avoiding iterators and >>> using lambdas, but I was kind of hoping we could avoid those ugly cases. >>> I >>> wasn't thinking of using the STL heavily, just a few containers like >>> string, and perhaps others for any specialized use cases. >

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Matthew Brush
On 13-08-29 05:08 AM, Nick Treleaven wrote: On 29/08/2013 02:39, Matthew Brush wrote: [...] If we were to use C++, I think it'd be pointless to limit it to CFront/CwithClasses-style 1980's C++. We should use common/standard stuff like standard library containers, inheritance (maybe not multip

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Lex Trotman
[...] > >> > Just for fun I wrote some theoretical code that could be used in a program > like Geany to compare styles between various C's and C++'s (note: none of > it tested). > > http://pastebin.geany.org/**gYFMO/ As discussed on IRC here's another way of d

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Matthew Brush
On 13-08-31 07:42 PM, Lex Trotman wrote: [...] Just for fun I wrote some theoretical code that could be used in a program like Geany to compare styles between various C's and C++'s (note: none of it tested). http://pastebin.geany.org/**gYFMO/ As discu

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Matthew Brush
On 13-08-31 07:05 AM, Nick Treleaven wrote: On 29/08/2013 06:47, Lex Trotman wrote: [...] Nick has offered that C++ "might" attract him to contribute more, I "might" have time at the end of my current contract, unless I get another quickly, I guess Colomban is out, Matthew? anybody else? I'

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-31 Thread Matthew Brush
On 13-08-31 04:37 PM, Lex Trotman wrote: On 1 September 2013 00:05, Nick Treleaven wrote: On 29/08/2013 06:47, Lex Trotman wrote: [...] On using gtkmm, personally I think it is *way* better than the C interface to GTK, but I don't know if it can be mixed with C GTK easily, and changing *