Home » Developing U++ » U++ Developers corner » clangd
Re: clangd [message #58384 is a reply to message #57574] |
Mon, 16 May 2022 10:38   |
 |
mirek
Messages: 14256 Registered: November 2005
|
Ultimate Member |
|
|
mirek wrote on Thu, 30 September 2021 12:57After thinking about it for a while, I decided that I am not going to add clangd to TheIDE _myself_:
- it is quite a lot of work
- it does not meet my requirements for speed
- most importantly, I believe that people that want this would actually be even happier with Visual Studio Code (or some other "normal" IDE/editor). To integrate U++ with it seems to be much less work that to add clangd to TheIDE.
- U++ semiheuristic parser is work in progress, but it is MUCH faster than "real compiler" and the current architecture is fine in regards of what it can achieve. I believe that adding missing features to it is in the end less work that to integrate clangd. And much more fun too 
That said, if somebody wants to have a try at this, I will be more that happy to watch the progress!
Mirek
OK, I am reconsidering and willing to give clang a try. However, not clangd - clang ast seems pretty reasonable and I think I can do better using blitz and stuff for performance.
That said, if I run clang for anything nontrivial with dump-ast (that dumps ast in human readable form), it takes 20s to generate 400MB file. Meanwhile, emit-ast is fast and creates 40MB of binary file. Has anybody any experience in parsing this binary data or willing to give it a try?
The ideal solution should at max use what is already in win32 release (- I mean, it is ok to use any .dll from clang). I believe libclang-cpp.dll in fact contains whole clang api, so that should be doable.
Mirek
|
|
|
 |
|
clangd
By: mirek on Thu, 16 September 2021 08:49
|
 |
|
Re: clangd
By: Novo on Thu, 16 September 2021 18:42
|
 |
|
Re: clangd
By: Novo on Thu, 16 September 2021 19:02
|
 |
|
Re: clangd
By: mirek on Thu, 16 September 2021 23:43
|
 |
|
Re: clangd
By: Novo on Fri, 17 September 2021 00:06
|
 |
|
Re: clangd
By: Novo on Fri, 17 September 2021 00:19
|
 |
|
Re: clangd
By: Novo on Fri, 17 September 2021 00:20
|
 |
|
Re: clangd
By: Novo on Fri, 17 September 2021 00:25
|
 |
|
Re: clangd
By: Novo on Fri, 17 September 2021 16:15
|
 |
|
Re: clangd
By: mirek on Fri, 17 September 2021 18:49
|
 |
|
Re: clangd
By: Novo on Fri, 17 September 2021 21:09
|
 |
|
Re: clangd
By: mirek on Fri, 17 September 2021 22:52
|
 |
|
Re: clangd
By: Novo on Fri, 17 September 2021 23:55
|
 |
|
Re: clangd
By: Novo on Sat, 18 September 2021 00:17
|
 |
|
Re: clangd
By: Novo on Sat, 18 September 2021 00:20
|
 |
|
Re: clangd
By: Novo on Sat, 18 September 2021 00:43
|
 |
|
Re: clangd
By: mirek on Sat, 18 September 2021 00:31
|
 |
|
Re: clangd
By: Novo on Sat, 18 September 2021 13:46
|
 |
|
Re: clangd
By: mirek on Thu, 30 September 2021 08:18
|
 |
|
Re: clangd
By: mirek on Thu, 30 September 2021 12:57
|
 |
|
Re: clangd
By: mirek on Mon, 16 May 2022 10:38
|
 |
|
Re: clangd
By: Novo on Mon, 04 October 2021 21:58
|
 |
|
Re: clangd
By: mirek on Mon, 04 October 2021 23:18
|
 |
|
Re: clangd
By: Novo on Mon, 04 October 2021 23:39
|
 |
|
Re: clangd
By: mirek on Tue, 05 October 2021 00:18
|
 |
|
Re: clangd
By: Novo on Tue, 05 October 2021 06:24
|
 |
|
Re: clangd
By: mirek on Tue, 05 October 2021 09:09
|
 |
|
Re: clangd
By: Novo on Tue, 05 October 2021 17:21
|
 |
|
Re: clangd
By: mirek on Tue, 05 October 2021 17:54
|
 |
|
Re: clangd
By: shawnx on Sun, 27 November 2022 18:48
|
 |
|
Re: clangd
By: Novo on Sun, 27 November 2022 22:30
|
 |
|
Re: clangd
By: shawnx on Sun, 27 November 2022 22:43
|
 |
|
Re: clangd
By: Novo on Sun, 27 November 2022 22:59
|
 |
|
Re: clangd
By: mirek on Mon, 28 November 2022 17:48
|
 |
|
Re: clangd
By: mirek on Mon, 28 November 2022 16:35
|
 |
|
Re: clangd
By: shawnx on Mon, 28 November 2022 16:47
|
 |
|
Re: clangd
By: Klugier on Mon, 28 November 2022 16:54
|
 |
|
Re: clangd
By: mirek on Mon, 28 November 2022 17:53
|
 |
|
Re: clangd
By: Novo on Tue, 13 December 2022 01:26
|
Goto Forum:
Current Time: Wed Apr 30 05:15:01 CEST 2025
Total time taken to generate the page: 0.04736 seconds
|