Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
136 user(s) are online (126 user(s) are browsing Forums)

Members: 1
Guests: 135

amigait, more...

Support us!

Headlines

 
  Register To Post  

Boost asio?
Home away from home
Home away from home


See User information
Do we have a working boost asio? From memory, our boost port is rather old and incomplete.

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: Boost asio?
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: Boost asio?
Home away from home
Home away from home


See User information
@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

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: Boost asio?
Home away from home
Home away from home


See User information
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

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: Boost asio?
Just can't stay away
Just can't stay away


See User information

Go to top
Re: Boost asio?
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: Boost asio?
Home away from home
Home away from home


See User information
@kas1e
I'm considering using Wt.

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: Boost asio?
Home away from home
Home away from home


See User information
@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!
AmigaOS4 on youtube
Go to top
Re: Boost asio?
Home away from home
Home away from home


See User information
@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

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project