Questions tagged [boost]

26 questions
18
votes
5 answers

How to share memory between applications written in C/C++

I'm going through a program written in C/C++ for control in robotics. Basically, three different programs run at the same time, and they communicate via shared memory. Google-ling around I found thinks like vxWorks and the boost libraries…
cauchi
  • 1,192
  • 2
  • 13
  • 22
17
votes
3 answers

Where to start learning to use the Boost libraries?

Boost has recently become available on the project on which I'm working, and I don't have much experience with it. The library has so many parts and features that it's hard to know where to get started in learning it - especially since I'll be…
John Humphreys
  • 289
  • 2
  • 7
6
votes
2 answers

Thread class design?

I have a method like this in my UI code: void MyDialog::OnCommandSaveData() { std::list objects; service_->GetAll(objects); dataService_->SaveObjects(objects); AddMessage("Saved data.\n"); } Because this method can take…
User
  • 1,541
  • 2
  • 16
  • 30
5
votes
1 answer

Guidelines for using BOOST

I am planning to use boost libraries, as it is quiet rich, and will save lots of time. But my question is, what are the guidelines i have to follow, so that I can replace some part of boost with standard C++ as and when they are supported,…
rakesh
  • 151
  • 4
3
votes
1 answer

Will the portions of Boost that are incorporated into the new C++ standard continue to be developed?

What will happen to the portions of the Boost library that are incorporated into the new C++ standard? Will they continue to evolve and any changes be reincorporated into the standard which follows C++0x?
jonsca
  • 585
  • 3
  • 10
  • 28
3
votes
1 answer

Serializing network messages

I am writing a network wrapper around boost::asio and was wondering what is a good and simple way to serialize my messages. I have a message factory which can take care of dispatching the data to the correct builder, but I want to know if there are…
mtsvetkov
  • 151
  • 4
2
votes
0 answers

How to separate a serialization code from application in a large c++ project

I'm working on a fairly large c++ project which uses boost's serialization. The issue that I have with the way it is currently organized is that serialization is weaved into the main source code on all levels of the application from gui to the core.…
Glinka
  • 129
  • 3
2
votes
2 answers

How do objects fit into modern C++ (stl, policy-classes, functional) style?

I'm a bit confused so the question is a bit confusing. TL;dr: how to mix STL and OOP? From the comment to Best overview to modern C++ paradigms? and http://www.boost.org/community/generic_programming.html there isn't much about objects-oriented…
kirill_igum
  • 123
  • 6
2
votes
1 answer

C++ Multithreading on Unix

I have two related questions: Are there any good books for multithreading in C++, especially now that C++11 contains multithreading in the standard library? I have the Wrox Programming on Unix book (1000 pages fat red one) and within it, it uses…
Roger
  • 137
  • 5
2
votes
1 answer

What are the personal benefits from writing a boost library

Among the reasons for a developer to publish a self-written library as open source library, there is definitely fame. Now when it comes to Boost Libraries, they are available and promoted in a very anonymous and impersonalized form. The name of the…
user4514
  • 121
  • 2
2
votes
4 answers

Unix as opposed to Windows (Java and C++)

Firstly I should explain the background. I am interested in high frequency trading programming roles. After looking at many job specs it is very clear that there is a big demand for programmers who have programmed Java and C++ on Unix as opposed to…
user997112
  • 1,469
  • 2
  • 19
  • 24
1
vote
1 answer

Async I/O operations - proper way to avoid deleting object

Using async I/O operations from boost::asio I often need shared pointers (and enable_shared_from_this and shared_from_this in callbacks) to avoid deleting objects too early. I think that it could be done by keeping unique_ptr or just object…
pawell55555
  • 219
  • 2
  • 6
1
vote
0 answers

Switching from Node.js class techniques to C++

I'm going to be rewriting a project from Node.js into C++11. The device the Node.js scripts are being run on are ARM based, and Node.js is slow to start up on the device. In the Node.js program, I have a class for everything to separate code. I also…
1
vote
1 answer

TLS alternatives that do not require a central authority?

I am creating a peer to peer program that runs on client computers connecting to other clients. I will be using Boost.Asio. The only options that I am aware of for securing these connections is using TLS, but it is not practical for every client to…
mm865
  • 11
  • 2
1
vote
0 answers

Boost Software License seems to extend disclaimer of warranty automatically but the author says it doesn't

Here is a copy of the Boost software license. Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce,…
Lone Learner
  • 85
  • 1
  • 5
1
2