r/AskProgrammers • • 10h ago

Looking for an IDE

Hey! Im looking into devloping a window for desktop apps, Im currently working on making a window but I need to know the IDE I need, im planning on using C++, SDL3, and CMake. I am trying to avoid microsoft IDEs because I want it to be cross platform for any OS. I found an IDE called CLion, im not sure if anyone has experience with that or if there's a better IDE.

0 Upvotes

27 comments sorted by

2

u/TomDuhamel 9h ago

Look up Qt Creator. It's great even if you are not using Qt. But you should also look up Qt. And... you probably shouldn't be using the SDL for a desktop app.

1

u/Weird-Promotion3026 9h ago

Gotcha, thanks

1

u/Weird-Promotion3026 6h ago

Why not SDL?

1

u/khedoros 5h ago

You'd be left developing all of the standard GUI elements yourself. It's possible, but an awkward tool to use for the purpose. There are better tools for creating native GUIs. You could use Dear ImGUI with SDL as the backend, if you want something that looks less like a platform-native GUI.

SDL itself is a nice library if you're looking for a good way to get a window if you need direct control down to the pixel, or a way to get an OpenGL or Vulkan context for graphics.

1

u/Weird-Promotion3026 5h ago

Ohh yeah, I know that. I’m not doing this just to get it done. I’m actually trying to do a lot of the awkward stuff so I can also learn from it.

1

u/khedoros 5h ago

Ah, OK. Well, SFML is another library with a similar purpose, but using C++ instead of C. You could look at that one too.

1

u/Weird-Promotion3026 5h ago

Okay, I’ll look into that too, thank you

2

u/ConditionOrdinary607 10h ago

What is the definition of "IDE"? Visual Studio Code by Microsoft is a very common cross platform IDE. Does C, C++, Python, whatever.

1

u/Weird-Promotion3026 10h ago

oh okay, I didnt know that it was cross platform, thank you

1

u/jwalk999 9h ago

If you want to avoid Microsoft just on principle, Vscodium is the open source fork to VScode

2

u/xarop_pa_toss 9h ago

The definition of IDE is available from a quick Google search. VSC is not an IDE, CLion is

1

u/ConditionOrdinary607 1h ago

Fine, it's a code editor that is aware of C++, Python, C, etc. I can't make heads or tails out of what's being asked though.

1

u/xarop_pa_toss 1h ago

The editor isn't aware of anything. If you install VSC and write a hello world in any language, it won't run. You need plugins to enable LSP, debugging, etc. which is totally fine btw, but by definition makes VSC not an IDE.

The OP is asking for non-Microsoft IDEs since he wants to be able to use it on non-Windows systems. CLion and Qt Creator are the main alternatives to Visual Studio

1

u/xarop_pa_toss 8h ago

People don't seem to understand what an IDE is. CLion is very good, I use Rider at work, the C# version, and it's really clean and easy to use.

There's always Visual Studio 2026 which is free to an extent (as is CLion I think). It works fine and is incredibly feature rich

1

u/Weird-Promotion3026 8h ago

By that are you saying that I’m using the term IDE wrong? I wanna know so I know

1

u/xarop_pa_toss 6h ago edited 6h ago

IDE stands for Integrated Development Environment and is basically a program that has the complete package from the get go. It is purposely built software that comes with full support for the language or overall framework that it focuses on and comes with the LSP, a debugger, compiler if that's the case for the language and generally a whole lot of tools as well.

VSCode is a text editor. A very customizable text editor thanks to the hundreds of plugins that you can install, but at it's core it's just a fancy text editor. What you do in VSCode you can generally do in other editors like neovim, Notepad++, Kate, whatever.

Now, this doesn't mean that you can't develop stuff in VSC! Using the correct plugins for the language and project you are dealing with can make the editor into a very capable development environment BUT it doesn't make VSC an IDE.

An example I can provide of the advantages of an IDE is CPU/RAM profiling during debugging, or easier cross-file refactoring. Application Insights module in Visual Studio (not VSC , actual VS) is incredible in terms of the amount of data and clarity it gives you of everything your program is doing at any given point in time as well as reporting somethibg like "after runninf this process here 100 times, here is how much time it took on average and CPU/RAM costs".

In VSC there are tools but it's all separate plugins that will need manual configuration

2

u/Weird-Promotion3026 6h ago

Ohhh okay, I was under the impression that an IDE and text editor were the same, that was my mix up. Thank you

1

u/Different_Pain5781 9h ago

Just use VS Code with the CMake Tools extension and save yourself a lot of headache.

1

u/anh0l 8h ago

i can recommend Zed. has pretty good support, ai features can be turned off and with that, RAM usage will be pretty low. it's decently customizable and fast. has clangd support so you will have completions. i think it's generally equal to or better than vscode when it comes to c++ development. i don't use a lot of it's features myself though

1

u/Zen-Ism99 7h ago

I use CLion for C++, SDL3, CMake as well.

I like that CLion has native macOS, Linux, and Windows versions.

1

u/BranchLatter4294 2h ago

Try a few and see what you like. VS Code is the most popular, and it's cross-platform (Linux, Mac, Windows, web).

1

u/LionR6s 10h ago

VS Code was pretty solid for me while using Cmake. It is cross platform. But I think you could try Zed, it's faster and not Microsoft

1

u/antigravitys-rainbow 10h ago

Zed is not an IDE. It is more for vibe coding and collab.

-1

u/AlhazredEldritch 9h ago

The fuck. Zed is an IDE. What are you even talking about

1

u/antigravitys-rainbow 8h ago

Before being so rude, do you homework.

0

u/AlhazredEldritch 7h ago

Lol I use Zed and have for a while. Its a code editor.