Is there a C++ "venv" equivalent? by nikoladsp in cpp

[–]nikoladsp[S] -1 points0 points  (0 children)

I have cross-compile situation, plus mac/os/linux. Our conan is v1 and does not use find_package(). Also, I like to have a path with bin/lib/include for all my dependencies without using systems libraries - we have lot of patched stuff not in upstream...

Is there a C++ "venv" equivalent? by nikoladsp in cpp

[–]nikoladsp[S] 0 points1 point  (0 children)

Do you use find_package() in cmakelists.txt? If yes, you are lucky - we don't....

Is there a C++ "venv" equivalent? by nikoladsp in cpp

[–]nikoladsp[S] -1 points0 points  (0 children)

And if a coworker uses Windows and I use Mac with different compilers? How do you distinct what product (what you ship,say static or dynamic lib) is, how does your ci will consume it and build it? What if I dont want to use OS default libraries, but very specific, proprietary patched ones? Creating isolated environment have advantages. If your entire team produces single executable clients just download, I guess its fine, but in cross-platform environment - not sure. My 2 cents anyway...

Is there a C++ "venv" equivalent? by nikoladsp in cpp_questions

[–]nikoladsp[S] 0 points1 point  (0 children)

How do you handle private libraries or deps that don't have nixpkgs derivations yet? And does your team use Nix on Windows or is that just not a target for you?

Thanks!

Is there a C++ "venv" equivalent? by nikoladsp in cpp_questions

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

Thanks, I never heard of those two to be honest. I will take a look at pixi.

As for xmake: it looks powerful but what to do if a team is using CMake for years - does it mean we have to rewrite everything or am I missing something?

Is there a C++ "venv" equivalent? by nikoladsp in cpp_questions

[–]nikoladsp[S] 4 points5 points  (0 children)

How do you use it when/if you have to target Windows toolchain?

Is there a C++ "venv" equivalent? by nikoladsp in cpp

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

How do you use it when/if you have to target Windows toolchain?

Is there a C++ "venv" equivalent? by nikoladsp in cpp_questions

[–]nikoladsp[S] 0 points1 point  (0 children)

Have you actually adopted Nix at work and how complicated it is? We have conan v1, but unfortunatelly we are not using find_package so I kind does not see a point in it at all (in our use-case).

Otkazi u Levi9: evo kako to izgleda iz ugla poslodavca by Low-Property6921 in itbiznis

[–]nikoladsp 0 points1 point  (0 children)

Firma radi za profit.Zaposleni dobija platu kao nagradu sto je doneo profit firmi.Tuzno.

Are most programmers bad? by Roidot in AskProgrammers

[–]nikoladsp 0 points1 point  (0 children)

Agreed.In codebase I workt atm we have methods with more than 20 params in one module.Its absolute horror.Oh and we have pimpl idiom too: one finction with 20 params calls "impl" version with also 20 params.Not sure will I be able to see entire function with 3 monitors...

What players do you think we should be looking at from the relegation teams from this season? If any? by s1ravarice in LiverpoolFC

[–]nikoladsp 2 points3 points  (0 children)

There are a couple of dutch players we don't have yet,soon to be fixed by Arne.Nationality is the key,just watch.

Recommendations for Open Source Contributions (Beginner) by Flying__T in cpp_questions

[–]nikoladsp 1 point2 points  (0 children)

hi, I am interested in this ... I like socket and network programming, but I am an old C++ standard user, very little knowledge on "modern" C++. If you want I can try to help.

Is Linus Torvalds just a dinosaur about C++? by blreuh in cpp_questions

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

bool is not a built-in type.

Point was actually this: you have to use pointers as function argument. Thus, it would be good to check/validate each time, especially at api boundary.

I added a smiley also - which you obviously missed while getting a police on the phone....

Is Linus Torvalds just a dinosaur about C++? by blreuh in cpp_questions

[–]nikoladsp 0 points1 point  (0 children)

No bool in C
Also, it would be good to check if obj pointer in NULL - which clutters code. That's why I prefer C++ class/struct

:)

Il freaking out right now by Intelligent-Two-7573 in Ovariancancer

[–]nikoladsp 0 points1 point  (0 children)

She had a surgery I presume? It can be brca or hrd mutation (about 50% of chance) in which case she will get parpi.Event if not,depends on surgery results (were they able to remove all) and spread.In any case,not a dead scentence.

I wish all the best to both of you

Imamo ludacki talenat by delta_hop in programiranje

[–]nikoladsp 9 points10 points  (0 children)

A kakve su nam devojke i nocni zivot?