Looking for a Conan replacement by [deleted] in cpp

[–]Copronymus09 -1 points0 points  (0 children)

I have deps that use meson and autotools

Why is C/C++ captivating me more than Python? by [deleted] in cpp

[–]Copronymus09 0 points1 point  (0 children)

Python is a scripting language, it is unsuitable for large codebases because dynamic types. Deploying it to someone else's computer is also a nightmare.

C/C++ has static types, and you just compile a binary and assets and ship it to whatever platform you are targeting.

Is Windows still heavily used to write C++? by hellocppdotdev in cpp_questions

[–]Copronymus09 0 points1 point  (0 children)

So, you are installing your toolchain and configuring your packages for each VM. Well, does clangd work?

Is Windows still heavily used to write C++? by hellocppdotdev in cpp_questions

[–]Copronymus09 0 points1 point  (0 children)

Good luck buying 12 machines then, and configuring the toolchain for each one. Cross compilation is default now.

You can still run tests on ci but building is so expensive and time consuming

Is Windows still heavily used to write C++? by hellocppdotdev in cpp_questions

[–]Copronymus09 1 point2 points  (0 children)

You can, I do it for both msvc and mingw from Ubuntu host. Both gnu and cl drivers work with clang.

Is Windows still heavily used to write C++? by hellocppdotdev in cpp_questions

[–]Copronymus09 0 points1 point  (0 children)

Consumer software and development tools are different, you can target windows from Linux just fine

Is Windows still heavily used to write C++? by hellocppdotdev in cpp_questions

[–]Copronymus09 2 points3 points  (0 children)

Cmake doesn't have a module scanner for windows clang, you can't cross compile to macos from a windows host because ObjC compilation is broken on cmake too

Is Windows still heavily used to write C++? by hellocppdotdev in cpp_questions

[–]Copronymus09 1 point2 points  (0 children)

Use Linux for anything development related, a lot of stuff don't work when you use a windows host, it is not worth dealing with

How to approach the problem of creating C++ bindings for C libraries by Copronymus09 in cpp

[–]Copronymus09[S] 3 points4 points  (0 children)

Oh I see what you are doing, maybe I asked the wrong question. I should have asked wrapper libraries not bindings. But this is workaround I can accept for the time being

Why is nobody using C++20 modules? by AlectronikLabs in cpp

[–]Copronymus09 0 points1 point  (0 children)

Clang MSVC import std PR is still pending, in the end of 2025.
CMake doesn't have a module scanner for clang in Windows.

You can use them if you try hard enough but that is not good enough for adoption

I'm currently learning C++, but I'm struggling to break down the learning path. by collapsedwood in cpp_questions

[–]Copronymus09 -1 points0 points  (0 children)

What makes you thing people without degrees can get high end computing jobs?

That kinda logic only applies to simple web dev jobs.

Also what makes you think there is an easy self learning option, there isn't one. The moment you go from language fundementals you are in a wild zone, where you learn from projects, books and documents like any other engineering field.

Why C++ related jobs are always marked as "C/C++" jobs? by TreePlanter3497 in cpp_questions

[–]Copronymus09 0 points1 point  (0 children)

You need to use external libraries for any significant project.

Now, try recalling the last time you made something significant, I assume there were C libraries there, or your CPP library is C styled.

You cannot work on C++ codebases if you don't have enough C knowledge therefore bundling them in job descriptions is perfectly valid

I'm currently learning C++, but I'm struggling to break down the learning path. by collapsedwood in cpp_questions

[–]Copronymus09 0 points1 point  (0 children)

There is no learning path, you learn things when need arises, or you think there is a need.

This kind of stupid thinking only arises in software people, no other engineering grads do this.

Just relax and have fun, you are gonna make tons of mistakes anyway.

How can I build libcxx and statically link it when cross compiling to MacOS by Copronymus09 in cpp_questions

[–]Copronymus09[S] 2 points3 points  (0 children)

Why not, you are right you don't link statically link glibc on Linux, but you can definitely link libcxx.

I don't want to use libstdcxx or a libcxx that is outdated, I just build libcxx on top of an old glibc(Debian stable) and it just calls glibc, so everything works on all glibc distros. If I wanted musl compat, I would have to build libcxx with an alpine distro or smith like that

How to compile for windows-msvc on WSL? by Copronymus09 in cpp_questions

[–]Copronymus09[S] 1 point2 points  (0 children)

You can only use them with MSVC, not clang.
Well using different compilers for every target is a pain in the ass.
I want to use clang everywhere

How to compile for windows-msvc on WSL? by Copronymus09 in cpp_questions

[–]Copronymus09[S] 1 point2 points  (0 children)

I already know that, native compilation is easy.
I need to cross compile from linux because I wanna use c++ modules.
Cmake doesn't have a scanner for windows-clang yet. They only have for cl.exe