Re: [Geany-Devel] Let's use Vala

2013-11-13 Thread Steven Blatnick
Wow, you found the article :-) From what I've seen of geany, the code looks much better than some code I've seen. It didn't take as long to familiarize myself with the basic structure since the code files are well named and the directory structure is far from deep ;-) One of the reasons I

Re: [Geany-Devel] Let's use Vala

2013-11-13 Thread Matthew Brush
On 13-11-13 08:21 AM, Steven Blatnick wrote: Wow, you found the article :-) From what I've seen of geany, the code looks much better than some code I've seen. It didn't take as long to familiarize myself with the basic structure since the code files are well named and the directory structure

Re: [Geany-Devel] Let's use Vala

2013-11-12 Thread Matthew Brush
On 13-11-11 11:48 PM, Steven Blatnick wrote: That sounds pretty good. Is that a lot like python and gtk? I get the impression its better since I don't think python compiles to equivolent c code? If by better you mean faster, leaner, and more compatible with existing C code, yep. It

Re: [Geany-Devel] Let's use Vala

2013-11-12 Thread Steven Blatnick
I'm thinking vala sounds like a good idea the more I hear about it... :-) On 11/12/2013 02:36 AM, Matthew Brush wrote: On 13-11-11 11:48 PM, Steven Blatnick wrote: That sounds pretty good. Is that a lot like python and gtk? I get the impression its better since I don't think python compiles

Re: [Geany-Devel] Let's use Vala

2013-11-12 Thread Frank Lanitz
I cannot add much to the vala yes/no question, as the only part of ala I've seen by know are Matthews's plugin in g-p. Two or maybe three things are important to me, in case of: - Geany needs to keep its small memory footprint - Created code needs to run on all plattforms Geany currently is

Re: [Geany-Devel] Let's use Vala

2013-11-12 Thread Matthew Brush
On 13-11-12 07:50 AM, Frank Lanitz wrote: I cannot add much to the vala yes/no question, as the only part of ala I've seen by know are Matthews's plugin in g-p. Two or maybe three things are important to me, in case of: - Geany needs to keep its small memory footprint Yes, I don't think

Re: [Geany-Devel] Let's use Vala

2013-11-12 Thread Steven Blatnick
I hope I don't have to rewrite my plugins again for this editor ;-) I will admit though, seg faulting all of geany in a plugin gets annoying :-) Maybe I'm spoiling the party, but like with gnome 2, sometimes sticking with what you have is better than seemingly needless upgrades. I'm running

Re: [Geany-Devel] Let's use Vala

2013-11-11 Thread Matthew Brush
On 13-11-11 05:37 AM, Thomas Martitz wrote: Am 10.11.2013 21:04, schrieb Matthew Brush: Maybe it's something specific to that Gist, so I re-pasted it in a new one: https://gist.github.com/codebrainz/7403171 Impressive. Unfortunately only a tiny fraction of Geany's code can be vala'fied

Re: [Geany-Devel] Let's use Vala

2013-11-11 Thread Steven Blatnick
Disclaimer: I know little to nothing about Vala. I like how lean Geany is. From the discussion, it sounds like Vala does its own memory management. Currently geany only uses between 9 and 13 MB of memory on my box. Would Vala inadvertantly make geany use more memory? I don't want to use

Re: [Geany-Devel] Let's use Vala

2013-11-11 Thread Lex Trotman
On 12 November 2013 03:38, Steven Blatnick steve8tr...@yahoo.com wrote: Disclaimer: I know little to nothing about Vala. I like how lean Geany is. From the discussion, it sounds like Vala does its own memory management. Currently geany only uses between 9 and 13 MB of memory on my box.

Re: [Geany-Devel] Let's use Vala

2013-11-11 Thread Thomas Martitz
Am 12.11.2013 05:52, schrieb Steven Blatnick: By the way, I should point out that these remarks also apply to the geany direction thread. I also should point out this doesn't necessarily mean I'm opposed to vala, I'm just expressing concerns. From this thread, it sounds like vala binds

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Lex Trotman
[...] Not what it says here https://wiki.gnome.org/Vala/Manual/Errors and anything that can throw through C code can cause leaks since the C code doesn't clean up. Same as C++, you can't use exceptions mixed with C code. Trust me, I generated lots of C code from Vala, when you throw an

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Pavel Roschin
Maybe, rewriting some parts of boating complicated leaky code (e.g. build.c:) isn't bad idea and suitable in this situation. You don't need much bindings for editor and Vala shouldn't be a pain. But AFAIK Geany don't use GObject and writing on Vala may cause deep refactoring that will take your

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Thomas Martitz
Am 10.11.2013 05:44, schrieb Matthew Brush: Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for allowing the use of Vala for new/re-written Geany code. The pros and cons likely will be

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 02:00 AM, Pavel Roschin wrote: Maybe, rewriting some parts of boating complicated leaky code (e.g. build.c:) isn't bad idea and suitable in this situation. You don't need much bindings for editor and Vala shouldn't be a pain. But AFAIK Geany don't use GObject and writing on Vala may

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 07:40 AM, Colomban Wendling wrote: Le 10/11/2013 05:44, Matthew Brush a écrit : Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for allowing the use of Vala for new/re-written

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Thomas Martitz
Am 10.11.2013 20:27, schrieb Matthew Brush: On 13-11-10 07:40 AM, Colomban Wendling wrote: Le 10/11/2013 05:44, Matthew Brush a écrit : Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 11:45 AM, Thomas Martitz wrote: Am 10.11.2013 20:27, schrieb Matthew Brush: On 13-11-10 07:40 AM, Colomban Wendling wrote: Le 10/11/2013 05:44, Matthew Brush a écrit : Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 01:44 AM, Lex Trotman wrote: [...] Not what it says here https://wiki.gnome.org/Vala/Manual/Errors and anything that can throw through C code can cause leaks since the C code doesn't clean up. Same as C++, you can't use exceptions mixed with C code. Trust me, I generated lots

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Lex Trotman
On 11 November 2013 02:40, Colomban Wendling lists@herbesfolles.orgwrote: Le 10/11/2013 05:44, Matthew Brush a écrit : Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for allowing

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Lex Trotman
[...] Yes, I understand how the throws are implemented in vala, but as I said, the existing C code isn't designed to handle that. Much of the existing code uses GError-style errors, and any existing C code that was made to to call Vala generated code would do the same, no biggie. It's not

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 03:02 PM, Lex Trotman wrote: [...] Yes, I understand how the throws are implemented in vala, but as I said, the existing C code isn't designed to handle that. Much of the existing code uses GError-style errors, and any existing C code that was made to to call Vala generated

Re: [Geany-Devel] Let's use Vala

2013-11-09 Thread Lex Trotman
On 10 November 2013 15:44, Matthew Brush mbr...@codebrainz.ca wrote: Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for allowing the use of Vala for new/re-written Geany code. The pros and