Re: Fwd: I released the refactoring tool

LluĂ­s <[email protected]> Tue, 17 Feb 2015 15:23:20 +0100
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
David Engster writes:
> Tu Do writes:
[...]
>> - Async: this alone is worth it.
>> - Code querying with a popular and robust language. This will enable people to
>> write small utilities using SQL, such as code metrics or statistics. With an
>> actual database engine, we can do operation like searching for all functions
>> that call current function, accurately; or all files that include a particular
>> header files; or see all the included files that contain the definitions of
>> tags in a current class; or simply creating a class index of a project (similar
>> to what Ebrowse does, but for large index, it took Emacs really long to load
>> all).... All of this can be delegated to a fast database engine. All we need is
>> a properly designed database for tags.

> I agree this all sounds nice. I'm skeptical because I wouldn't want to
> see CEDET's complexity increased even further. Maintaining a second
> database backend for Semantic would be a very big burden, and I feel
> we're already struggling just keeping up with Emacs development and
> maintaining the status quo. In my opinion, CEDET's main problem is not
> that it cannot deal with large code bases, but that it's still not
> reliable enough and too complicated to set up. This should not
> discourage you from trying Sqlite, of course.

I have not investigated the root, but while developing code for the Linux kernel
or QEMU, I often have to disable many of semantic's features (all those
appearing on the Development menu) or otherwise emacs eats up all my cpu. Also,
sometimes I want to kill some large buffer to keep the semantic memory footprint
low (it generated lots of tags, either directly or through includes), but I just
cannot (I think semantic takes a lot of time to serialize its information to the
disk).

This is most probably fixable in CEDET without resorting to a new database
backend, but I just wanted to make it "public" (although it's probably well
known).


Thanks,
  Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk