From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: solidius4747@gmail.com Newsgroups: gmane.emacs.help Subject: Re: A guide on setting up C/C++ development environment for Emacs Date: Wed, 27 Aug 2014 08:01:11 -0700 (PDT) Message-ID: <657f2c39-422b-4289-a02e-3d03dc386166@googlegroups.com> References: <513ad0e2-f7f4-484c-b17b-7c94a8c2fc7a@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409151927 24961 80.91.229.3 (27 Aug 2014 15:05:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2014 15:05:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 27 17:05:22 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XMemn-0000Ow-TR for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Aug 2014 17:05:22 +0200 Original-Received: from localhost ([::1]:60095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMemn-0002H4-93 for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Aug 2014 11:05:21 -0400 X-Received: by 10.236.105.197 with SMTP id k45mr9322657yhg.19.1409151672706; Wed, 27 Aug 2014 08:01:12 -0700 (PDT) X-Received: by 10.50.18.17 with SMTP id s17mr743931igd.10.1409151672478; Wed, 27 Aug 2014 08:01:12 -0700 (PDT) Original-Path: usenet.stanford.edu!news.glorb.com!i13no3587628qae.1!news-out.google.com!aw9ni2igc.0!nntp.google.com!r2no8437947igi.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=14.161.13.65; posting-account=c2AWuQoAAACA36o69JJJEmXY5MOg4YNp Original-NNTP-Posting-Host: 14.161.13.65 User-Agent: G2/1.0 Injection-Date: Wed, 27 Aug 2014 15:01:12 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:207144 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99421 Archived-At: V=C3=A0o 21:39:59 UTC+7 Th=E1=BB=A9 t=C6=B0, ng=C3=A0y 27 th=C3=A1ng t=C3= =A1m n=C4=83m 2014, Thien-Thi Nguyen =C4=91=C3=A3 vi=E1=BA=BFt: > () Tu Hoang Do >=20 > () Wed, 27 Aug 2014 20:18:27 +0700 >=20 >=20 >=20 > CEDET is not slow. >=20 >=20 >=20 > Maybe it's time someone implemented a MEEPS >=20 > (Millions of Emacs Evaluations Per Second) counter. >=20 > Then, we can qualify that statement w/ "on a N MEEPS" >=20 > system and people on old M MEEPS (M<=20 > snort w/ wonder... :-D >=20 >=20 >=20 > --=20 >=20 > Thien-Thi Nguyen >=20 > GPG key: 4C807502 >=20 > (if you're human and you know it) >=20 > read my lisp: (responsep (questions 'technical) >=20 > (not (via 'mailing-list))) >=20 > =3D> nil Because real parsing takes time and such a task, while possible using Emacs= Lisp, but is too much for current Emacs implementation. CEDET does some ni= ce optimizations to speed it up as fast as it can: idle parsing, caching an= d incremental parsing to reduce computational time. Consider someone using = Clang to generate tag database: https://github.com/drothlis/clang-ctags#per= formance: "Running clang-ctags over a much larger input, such as the entire llvm C/C+= + sources (7k files, 1.8 million lines of code) took 98 minutes and a peak = memory usage of 140MB." It's just 1.8 million lines of code. And that's Clang. GNU Global only need= s a few minutes to generate tag database for Linux kernel, which is more th= an 14 million lines of code and more than 40k files. Do you say Clang is wo= rse than GNU Global?