www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - I want to introduce boost_asio to dlang

reply "zhmt" <zhmtzhmt qq.com> writes:
I am a gameserver developer, my programming lang is java now.

I want to change java to dlang, and I like boost_asio and it's 
coroutine,
so, I want to create a binding of boost_asio.

But I am not familiar with dlang, so I want to find someone help 
me, or develope this binding with me.

I will put the asio binding on github, and opensource, and free.

Anybody help or join?
Mar 04 2015
next sibling parent reply ketmar <ketmar ketmar.no-ip.org> writes:
On Thu, 05 Mar 2015 06:05:55 +0000, zhmt wrote:

 But I am not familiar with dlang
this is the root of the problem. please, make yourself familiar before=20 starting to wrap boost crap. you may find that you don't need it at all.=
Mar 04 2015
next sibling parent reply "zhmt" <zhmtzhmt qq.com> writes:
On Thursday, 5 March 2015 at 07:38:35 UTC, ketmar wrote:
 On Thu, 05 Mar 2015 06:05:55 +0000, zhmt wrote:

 But I am not familiar with dlang
this is the root of the problem. please, make yourself familiar before starting to wrap boost crap. you may find that you don't need it at all.
I see. mastering dlang will take a long time, maybe two years or more. That means I cant start my work with dlang. I have studied for half a year, so I want to learn it in work, in solving problems.
Mar 04 2015
parent ketmar <ketmar ketmar.no-ip.org> writes:
On Thu, 05 Mar 2015 07:46:04 +0000, zhmt wrote:

 I have studied for half a year, so I want to learn it in work,
 in solving problems.
that's a good way to learn. but starting from writing wrappers for=20 something is not a good way. ;-) if you want a wrapper for something, it's always better to ask if D needs=20 it at all. i.e. the proper question is something like: "i want to do async=20 I/O in the spirit of boost::asio, are there any libraries for D that does=20 such thing?" and you will immideately be pointed at vibe.d. ;-)=
Mar 05 2015
prev sibling parent reply "Messenger" <no u.blarp> writes:
On Thursday, 5 March 2015 at 07:38:35 UTC, ketmar wrote:
 On Thu, 05 Mar 2015 06:05:55 +0000, zhmt wrote:

 But I am not familiar with dlang
this is the root of the problem. please, make yourself familiar before starting to wrap boost crap.
Unwarranted tone imo. Let's play nice.
Mar 05 2015
parent ketmar <ketmar ketmar.no-ip.org> writes:
On Fri, 06 Mar 2015 03:12:44 +0000, Messenger wrote:

 On Thursday, 5 March 2015 at 07:38:35 UTC, ketmar wrote:
 On Thu, 05 Mar 2015 06:05:55 +0000, zhmt wrote:

 But I am not familiar with dlang
this is the root of the problem. please, make yourself familiar before starting to wrap boost crap.
=20 Unwarranted tone imo. Let's play nice.
ah, no offense intended. and hey, boost *IS* a pile of shit! ;-)=
Mar 06 2015
prev sibling parent reply "Jack Applegame" <japplegame gmail.com> writes:
On Thursday, 5 March 2015 at 06:05:56 UTC, zhmt wrote:
 I am a gameserver developer, my programming lang is java now.

 I want to change java to dlang, and I like boost_asio and it's 
 coroutine,
 so, I want to create a binding of boost_asio.

 But I am not familiar with dlang, so I want to find someone 
 help me, or develope this binding with me.

 I will put the asio binding on github, and opensource, and free.

 Anybody help or join?
There is no need to do it. Just use http://vibed.org/ instead of boost::asio.
Mar 05 2015
parent reply "zhmt" <zhmtzhmt qq.com> writes:
On Thursday, 5 March 2015 at 08:22:33 UTC, Jack Applegame wrote:
 On Thursday, 5 March 2015 at 06:05:56 UTC, zhmt wrote:
 I am a gameserver developer, my programming lang is java now.

 I want to change java to dlang, and I like boost_asio and it's 
 coroutine,
 so, I want to create a binding of boost_asio.

 But I am not familiar with dlang, so I want to find someone 
 help me, or develope this binding with me.

 I will put the asio binding on github, and opensource, and 
 free.

 Anybody help or join?
There is no need to do it. Just use http://vibed.org/ instead of boost::asio.
It sounds like a good choice, is it as good as boost::asio?
Mar 05 2015
next sibling parent ketmar <ketmar ketmar.no-ip.org> writes:
On Thu, 05 Mar 2015 09:38:25 +0000, zhmt wrote:

 There is no need to do it. Just use http://vibed.org/ instead of
 boost::asio.
It sounds like a good choice, is it as good as boost::asio?
no. it's alot better.=
Mar 05 2015
prev sibling parent reply "Atila Neves" <atila.neves gmail.com> writes:
On Thursday, 5 March 2015 at 09:38:27 UTC, zhmt wrote:
 On Thursday, 5 March 2015 at 08:22:33 UTC, Jack Applegame wrote:
 On Thursday, 5 March 2015 at 06:05:56 UTC, zhmt wrote:
 I am a gameserver developer, my programming lang is java now.

 I want to change java to dlang, and I like boost_asio and 
 it's coroutine,
 so, I want to create a binding of boost_asio.

 But I am not familiar with dlang, so I want to find someone 
 help me, or develope this binding with me.

 I will put the asio binding on github, and opensource, and 
 free.

 Anybody help or join?
There is no need to do it. Just use http://vibed.org/ instead of boost::asio.
It sounds like a good choice, is it as good as boost::asio?
Having used both, it's better. Atila
Mar 05 2015
parent reply "zhmt" <zhmtzhmt qq.com> writes:
Thanks for all the suggestions and pointing the right direction,I 
will learn and try vibe.d, try to use it in my gameserver.
Mar 05 2015
parent reply ketmar <ketmar ketmar.no-ip.org> writes:
On Fri, 06 Mar 2015 01:19:40 +0000, zhmt wrote:

 Thanks for all the suggestions and pointing the right direction,I will
 learn and try vibe.d, try to use it in my gameserver.
i've seen people using vibe.d to write warcraft server, so it's=20 definitely is working. you can find that on github, i believe. but=20 there's too many code to use it for learning. i just wanted to show you=20 that vibe.d is perfectly usable for such things. ;-)=
Mar 06 2015
parent "zhmt" <zhmtzhmt qq.com> writes:
On Friday, 6 March 2015 at 09:30:51 UTC, ketmar wrote:
 On Fri, 06 Mar 2015 01:19:40 +0000, zhmt wrote:

 Thanks for all the suggestions and pointing the right 
 direction,I will
 learn and try vibe.d, try to use it in my gameserver.
i've seen people using vibe.d to write warcraft server, so it's definitely is working. you can find that on github, i believe. but there's too many code to use it for learning. i just wanted to show you that vibe.d is perfectly usable for such things. ;-)
Thanks for your information, I am using vibe.d to write a simple proxy server, to check if it is suitable for me.
Mar 06 2015