SERVING THE QUANTITATIVE FINANCE COMMUNITY

 
User avatar
Hansi
Posts: 3300
Joined: January 25th, 2010, 11:47 am

C++ package manager

May 9th, 2015, 8:59 am

I know of some people that use NuGet for VC++ similar to herehttp://blogs.msdn.com/b/vcblog/archive/2013/04/26/nuget-for-c.aspxhttp://blog.nuget.org/20130426/native-support.htmlI've also heard of linux shops just using a custom apt setup for it. Also heard about mingw-get but never heard of anyone that uses it.The boost people tried to do it in the past with ryppl.Found this via Google:
 
User avatar
Polter
Posts: 2526
Joined: April 29th, 2008, 4:55 pm

C++ package manager

May 9th, 2015, 10:28 am

Yeah, tried Biicode (also mentioned in the thread Hansi linked), seems promising so far (after some configuration it boils down to include-and-go for building a project using a third party library like Boost or POCO). Still new and, consequently, doesn't have that many libs (last time I've checked), and need to find out how to tweak it (would rather have the dependencies in a single shared location instead of the per-project default). But, overall, seems promising.
Last edited by Polter on May 8th, 2015, 10:00 pm, edited 1 time in total.
 
User avatar
Hansi
Posts: 3300
Joined: January 25th, 2010, 11:47 am

C++ package manager

May 10th, 2015, 10:55 am

QuoteOriginally posted by: outrunBut why is it so userfriendly in other languages, is there consensus on how to manage dependencies, but not with C++?Someone put the effort into it at an early stage in the languages use. Simple, that's the reason.
 
User avatar
katastrofa
Posts: 8969
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

C++ package manager

May 12th, 2015, 9:55 am

VS13 has NuGet, as mentioned by Hansi. I didn't find it easy to use though.I used to use Netlib sometimes; it's a code (not package) repository, in C, some C++, but mainly Fortran afair (something like sourceforge and github, in case anyone doesn't know it)...
Last edited by katastrofa on May 11th, 2015, 10:00 pm, edited 1 time in total.
 
User avatar
tagoma
Posts: 18351
Joined: February 21st, 2010, 12:58 pm

C++ package manager

May 12th, 2015, 10:21 am

QuoteOriginally posted by: katastrofaVS13 has NuGet, as mentioned by Hansi. I didn't find it easy to use though.I share your view kata. Using MS NuGet ([$]\neq[$]McNuggets) is a bit like stepping into a huge store with lots of colors ('Online') . There, you'll probably be tempted by items you even don't need. And sure it is MS's point.BTW a tool à la Python's pip would be just great.My humble opinion above.
Last edited by tagoma on May 11th, 2015, 10:00 pm, edited 1 time in total.
 
User avatar
bojan
Posts: 347
Joined: August 8th, 2008, 5:35 am

C++ package manager

May 13th, 2015, 8:03 am

Since C++ packages are directory based and fairly simple general purpose package managers can do the job of managing C++ packages quite well. I quite like NiX
 
User avatar
Polter
Posts: 2526
Joined: April 29th, 2008, 4:55 pm

C++ package manager

May 14th, 2015, 1:05 pm

 
User avatar
Polter
Posts: 2526
Joined: April 29th, 2008, 4:55 pm

C++ package manager

May 16th, 2015, 8:20 pm

More interesting slides from C++Now 2015:Biicode, a C/C++ dependency manager with a hosting servicehttp://github.com/boostcon/cppnow_presentations_2015/raw/master/files/dep_manager_workshop.pdfWhy in heaven there is no dependency management for C++?http://github.com/boostcon/cppnow_prese ... ger.pdfBig Projects, and CMake, and Git, Oh My!http://github.com/boostcon/cppnow_prese ... y.pdfBoost 2.0 - Library Deploymenthttp://www.blincubator.com/C++Now2015/slide9.html
Last edited by Polter on May 15th, 2015, 10:00 pm, edited 1 time in total.
 
User avatar
wejgomi
Posts: 7
Joined: February 7th, 2015, 10:49 pm

C++ package manager

June 8th, 2015, 10:05 pm

I am not sure regarding its current status, but I think Apple ( LLVM ) are or were working on this, initially targeted for C++11 but the best possibility looks like C++17http://stackoverflow.com/questions/3596147/c-modules-why-were-they-removed-from-c0x-will-they-be-back-later-onhttp://llvm.org/devmtg/2012-11/Gregor-Modules.pdf
 
User avatar
Hansi
Posts: 3300
Joined: January 25th, 2010, 11:47 am

C++ package manager

December 3rd, 2015, 11:14 am

ABOUT WILMOTT

PW by JB

Wilmott.com has been "Serving the Quantitative Finance Community" since 2001. Continued...


Twitter LinkedIn Instagram

JOBS BOARD

JOBS BOARD

Looking for a quant job, risk, algo trading,...? Browse jobs here...


GZIP: On