Author Topic: GCC could help CodeCompletion in future  (Read 7106 times)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
GCC could help CodeCompletion in future
« on: April 18, 2008, 11:34:55 pm »
Looks like all the parsing, symbol storage etc. may not be needed anymore. Tom Tromey has started to work on turning GCC into an Incremental Compiler - such approach will require gcc to work as a server.
One of side effect of such architecture is that gcc could also work as an information server for IDEs providing informations about code.

More info here

Regards
   BYO

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: GCC could help CodeCompletion in future
« Reply #1 on: April 19, 2008, 12:17:52 am »
thats cool :D, but it will take a while

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: GCC could help CodeCompletion in future
« Reply #2 on: May 15, 2008, 12:20:25 pm »
Hello,

it looks really interesting :). Let see how things will evolve.

All the best
Michael

Offline Barking_Mad

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: GCC could help CodeCompletion in future
« Reply #3 on: October 13, 2008, 05:19:49 am »
This does look intresting, but i notice there hasnt been an [incremenal] branch patch in several months.
WooF! WooF! - Ubuntu 8.10 & CB 5432 & GCC 4.3.2
To see the world in a grain of sand and heaven in a wild flower
To hold infinity in the palm of your hand and eternity in an hour - W.B

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5376
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: GCC could help CodeCompletion in future
« Reply #4 on: February 16, 2009, 05:01:17 am »
I found this message in the gnu wiki

http://gcc.gnu.org/wiki/IncrementalCompiler

and I checked the svn branches. and the last update was in 2008 -05 -21 :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.