Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
47 user(s) are online (38 user(s) are browsing Forums)

Members: 0
Guests: 47

more...
Support us!
Recent OS4 Files
OS4Depot.net





Boost asio?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2196
Do we have a working boost asio? From memory, our boost port is rather old and incomplete.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: Boost asio?
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5536
@Hans
Yeah, our boost port both old and incomplete. But as we was told many times boost in general only collection of includes, except some parts like threading, fileio (so asio too probably) and co which need to be ported, but which is also should be not hard. At least some of our devs do port parts of boosts for their internal needs, so it doable

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Boost asio?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2196
@kas1e

Thanks. I tried building the library I was interested in (Wt) on Cygwin, and it failed with ASIO and timeval related errors. Not a good sign... I might consider that lib later if they completely remove the boost dependency. The most important stuff is part of the C++11 and newer standard library.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: Boost asio?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2196
The alternative library I tried has easier dependencies, but is very lacking in tutorials, documentation, and looks like it would require more coding to get basics up and running. So I may need to reconsider...

The (full and updated) boost libraries would be useful to have in general. Who would be able to help getting boost updated? Porting stuff is NOT my strong point.

Quote:
At least some of our devs do port parts of boosts for their internal needs, so it doable

Collecting and merging these partial ports into one place for everyone to use would be a good start.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: Boost asio?
Quite a regular
Joined:
2007/7/14 20:30
From Lothric
Posts: 803

   Report Go to top

Re: Boost asio?
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5536
@Hans
Checked more about asio, its writen that it depends on what you need to use. In general boost's asio its just a headers, which, can in some conditions want boost.system library (for error codes) and boost.thread (if you launch threads using boost::thread).

You also may need to compile with -DBOOST_ERROR_CODE_HEADER_ONLY. (that macro should get around the need to link with Boost.System).
Also probabaly you will need to add -DBOOST_SYSTEM_NO_DEPRECATED as well.

Also you should not use regex is not used and SSL, if want to stay with asio as headers only.

Have you test-case which we can try to compile to see what need it ,etc ?

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Boost asio?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2196
@kas1e
I'm considering using Wt.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: Boost asio?
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5536
@Hans
As you know yourself from warp3d bugreports simple test cases which we can just try to build and check if boost's asyncio works is need it :)

But somethining make me think, if you want to use it with some network toolkit, it mean it will use and threads,and all the stuff..

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Boost asio?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2196
@kas1e

Sorry, but I have *never* used ASIO, so I have no "simple test cases." I've only ever used boost's shared pointers, and only in pre-C++11 code.

The Wt toolkit uses C++11/14 features wherever possible (e.g., std::thread), but does use a few other items such as boost/algorithm for which there's no stdlib equivalent.

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project