Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Clang Complete new try?

<< < (3/5) > >>

ollydbg:

--- Quote from: golgepapaz on May 16, 2013, 03:45:49 am ---
--- Quote from: ollydbg on May 16, 2013, 02:12:20 am ---
Great Job!!!
Can you show us the source link so that someone can build and test it? Thanks.


--- End quote ---
Thanks . Unfortunately this is at its preliminary stages and not worthy of publishing yet.(lots of bugs ,frequent crashes)
Since I detest the c interface of libclang I am writing this against the officially unstable c++ libraries
and this stuff is huge and requires more work on my part.But I am getting there...


--- End quote ---
Ok, I see, When it's ready, I'd like to test it, thanks for the contribution!

oBFusCATed:

--- Quote from: golgepapaz on May 16, 2013, 03:45:49 am ---Since I detest the c interface of libclang I am writing this against the officially unstable c++ libraries
and this stuff is huge and requires more work on my part.

--- End quote ---
Why are you detesting it? Does it limit you? How?
If there is no other benefit other than you feeling happy of using c++ instead of c, then you're doing it wrong.

Because:
1. Use c interfaces are better because they are more stable - most of the time you can update the library without the need to recompile
2. You're not tempted to use modern c++11 stuff (your plugin should compile with gcc4.1 in order to be included in C::B!)
3. You're not tempted to use modern c++ template stuff (makes code slow to compile, produces tons of useless symbols)
4. Most of the times c interfaces are simpler to use and understand
5. If you're serious about your plugin then you'll use the stable interface, otherwise it is just an experiment and then we'll have the same topic started again in an year.

p.s. if you're not using local repo for your project you're also doing it wrong

koonschi:
Wow this looks amazing.
BTW That's exactly why I was asking if there was already someone working on it :D

The icons look very MS-ish though, they remember me of my VB 6.0 times.

If you need help, I'd be very happy to assist you.

Alpha:
I rather prefer Code::Blocks style icons, but that may just be me.

golgepapaz:

--- Quote from: oBFusCATed on May 16, 2013, 09:30:26 am ---
Why are you detesting it? Does it limit you? How?
If there is no other benefit other than you feeling happy of using c++ instead of c, then you're doing it wrong.

Because:
1. Use c interfaces are better because they are more stable - most of the time you can update the library without the need to recompile
2. You're not tempted to use modern c++11 stuff (your plugin should compile with gcc4.1 in order to be included in C::B!)
3. You're not tempted to use modern c++ template stuff (makes code slow to compile, produces tons of useless symbols)
4. Most of the times c interfaces are simpler to use and understand
5. If you're serious about your plugin then you'll use the stable interface, otherwise it is just an experiment and then we'll have the same topic started again in an year.

p.s. if you're not using local repo for your project you're also doing it wrong


--- End quote ---

1. Well it's just that c interface does not click with me with the necessary indirections and I've wanted
something more powerful than what libclang provides. Although I admit there are not much I cannot do with libclang
until now.
2. Yes I do use c++11 and new standard library features (although nothing major and can't do without boost).I am also
contemplating ditching wxWidgets 2.8.12 in favor of 2.9.5 (hopefully would be released soon) to be able to use CallAfter() (Tree Control double click issue,disconnecting a event
handler inside a handler etc.) and some other stuff. I did not know there was an requirement as such but again I don't expect it to work at every platform for now.
3. I assure you no kittens were harmed when I practice my insane template metaprogramming skills  ;). Seriously no fancy stuff other than provided by the boost itself.
   Those issues are not a great concern compared the other stuffies and thingies such as speed and memory footprint.
4. That's debatable and up the personal taste but I digress. The point one is the motivation here.
5. It's not that unstable. I would eventually need to delve in the class hierarchy for some stuff I am imagining doing.

p.s. I do have a Git repo set up but I am not using it extensively yet though.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version