News for hackers. Stuff that matters.
Re:A Modern C Development Environment by harry8 on Thursday August 10, 2023 @09:41PM (#37084091)
https://projects.eclipse.org/projects/tools.cdt

Really. I'm not kidding. It's all there. Not for everybody but /clearly/ very much for you. (Unless you move the incredibly complex goalpost you've set up here).

It has a learning curve to configure and to use but if the above 28 is what you want as you say you /can/ have them all.

All of them. For real. Working. It's on you now.

Re:A Modern C Development Environment by badsectoracula on Friday August 11, 2023 @01:07AM (#37085296)
All of them? Including things like the modify a function while the application is running, either directly or using an old version from VCS and things like know all the available libraries, the symbols they export and what header files to include to use them and then be able to do that "type gl, press ctrl+space (or whatever), have glClear (or whatever) show up and have the IDE automatically add #include <GL/gl.h> at the top and 'libgl' as a required library on Linux, 'opengl32' on Windows and 'OpenGL framework' on Mac OS X with Ctrl+Z undoing all that stuff"?

If so i'd be impressed - and TBH ~17 years ago i did use Eclipse CDE and found it superior for C and even C++ code compared to what i saw people praise MSVC for (though MSVC's debugger was better than the GDB front-end functionality Eclipse CDE provided), so i don't think it is unlikely. I do remember it having some neat integration with Trac back then too. I mainly stopped using it because the computer i had at the time struggled to run both Eclipse and Mozilla at the same time :-P. But ~17 years ago i always praised it with the only annoyance (resource usage aside) being that weird "workspace" approach, but that was minor.

I didn't think much about it because it seemed to have fallen out of fashion since then so i thought it is just limping along.

I think i'll be trying it out then :-) perhaps it is time to go back to Eclipse CDT if that is the case.

Re:A Modern C Development Environment by harry8 on Friday August 11, 2023 @01:54AM (#37085530)
Well I missed that. No you can't modify running code in C and hope it's going to end well unless your C program is carefully designed to allow that.

You'll have to set paths on the installation or project so it knows where the relevant libraries and headers are. You won't configure it all correctly in the first week.

If you do give it a go, use a makefile project. If you're using something else to build, just have the call to that in the Makefile and nothing much else. Maybe it does cmake etc now? Haven't tried. I only use it occasionally nowadays. Brilliant for any refactor.

Re:A Modern C Development Environment by badsectoracula on Friday August 11, 2023 @02:10AM (#37085622)
Check my edit, i did try things and didn't work out as i described in my post.
Re:A Modern C Development Environment by harry8 on Friday August 11, 2023 @02:27AM (#37085712)
You have to want it to succeed and do some work to make it function the way you want. It does work if you care to put some time into it when you're /learning/ how it all works. I did, works great for me but isn't my nirvana. Just another useful tool.

>So, eh, i don't think Eclipse CDT is it :-P.

Don't confuse, "I didn't get it to work first time with very little effort" "does not work" Also note that like any complex tool, once you've worked it out, which takes time, you don't have to do that again. Like the people who say vi is garbage because you can't quit.

If you don't spend the time and give up early, that's fine too and shows you how much you do or don't want these things and /any/ answer there is by definition correct.

Edit: Editing a post above a response with wholly new info is a pain, don't do that. Just hit reply.

Re:A Modern C Development Environment by badsectoracula on Friday August 11, 2023 @02:57AM (#37085890)
> Don't confuse, "I didn't get it to work first time with very little effort" "does not work" Also note that like any complex tool, once you've worked it out, which takes time, you don't have to do that again.

I don't confuse the two, the program didn't do what i explicitly wrote in my post. If you think it can do what i asked, please explain how, because right now from what i can see it fails to do what i want from it. I didn't try everything i mentioned because it failed at pretty much everything i tried from the very first thing, so it didn't give me any confidence to keep on trying.

Also you seem to misunderstand something important even from my initial post: almost everything i wrote can be done by stringing together various tools and/or have various workaround, even the "modify code while it runs" could be done by using one of the libraries or tools mentioned elsewhere.

But the point is having the IDE actually do all that in a single place and with good UX (for example i didn't mentioned the part about checking a library's name in a listbox of libraries in a project's settings for fun, i mentioned because i expect at least that sort of user experience and convenience for the user! Eclipse CDE fails at that part because it needs all filling all sorts of forms in various places to see the library - my requirement wont be met by ignoring the requirement, the entire point of it was to request good user experience).

It is all about having a good user experience, if the program fails at that, it fails at the core of what i asked.

> Edit: Editing a post above a response with wholly new info is a pain, don't do that. Just hit reply.

When i edited the post there wasn't any reply, you replied while i was typing the edit.

Re:A Modern C Development Environment by harry8 on Friday August 11, 2023 @08:34PM (#37095696)
>It is all about having a good user experience, if the program fails at that, it fails at the core of what i asked.

You don't want what you said you wanted because you won't do the work to get it. It's not even that much work tbh. That's fine. It does work for me and the "user experience" is fine. I'm not associated with the project, nor pushing anything. You can pretend it's because I'm so much smarter or this is my con or something else to explain that but I doubt these lines of reasoning.

Best.

Re:A Modern C Development Environment by badsectoracula on Thursday August 17, 2023 @01:44AM (#37157697)
> You don't want what you said you wanted because you won't do the work to get it.

I do want what i wrote i want, but the program doesn't provide what i want though, that is my point.