FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

0.3 released

 
Post new topic   Reply to topic     Forum Index -> dnet
View previous topic :: View next topic  
Author Message
Dima-san



Joined: 25 Mar 2007
Posts: 33
Location: Almaty, Kazakhstan

PostPosted: Sat Jun 30, 2007 11:07 am    Post subject: 0.3 released Reply with quote

It's an another minor release, yet important one.

Things implemented:

  • packet sequencing
  • reliable data delivery
  • flow control (that is, packet transmission frequency is based on available bandwidth)


Stuff to be implemented in the nearest future:

  • message fragmentation/assembly
  • packet loss/latency simulation
  • simple object distribution framework


PS: I apologize for late post Embarassed
Back to top
View user's profile Send private message
bane



Joined: 01 May 2007
Posts: 41
Location: Pancevo, Serbia

PostPosted: Sat Jun 30, 2007 11:27 am    Post subject: Reply with quote

Mr. Dima-san is too modest with his apologize, considering the great job he is doing with dnet Smile
_________________
"I apologize only for my spelling" - a quote shamelessly stolen from some guy at unknown forum.
Back to top
View user's profile Send private message
h3r3tic



Joined: 30 Mar 2004
Posts: 261
Location: Torun, Poland

PostPosted: Sat Jun 30, 2007 6:30 pm    Post subject: Reply with quote

Nice! You guys are progressing pretty fast Smile We might try using DNet in Deadlock, as a networking backend alternative to RakNet. I can't promise anything yet, because we've got lots of issues to resolve and everyone in team0xf has his personal timelines external to Deadlock.

Anyway, I've quickly browsed thru the code and found a few 'issues':

- a bit too much dynamic memory allocation thru the GC
- the use of char[] for raw data instead of byte[] / ubyte[]
* char[] is meant for utf-8 strings, not binary data, ubyte[] is more self-explanatory
- '( 0 << 1 )' in connection.d is baffling...
* shouldn't that be '(1 << 0)' ?

Except for the first thing, they are rather minor issues. Additionally, are you planning Tango-compatibility?

Keep up the good work! Smile
Back to top
View user's profile Send private message MSN Messenger
Dima-san



Joined: 25 Mar 2007
Posts: 33
Location: Almaty, Kazakhstan

PostPosted: Tue Jul 03, 2007 11:43 am    Post subject: Reply with quote

h3r3tic
> a bit too much dynamic memory allocation thru the GC
I know. That'll be eliminated pretty soon.
> * shouldn't that be '(1 << 0)' ?
You're right Laughing Thank you for noticing.
> char[] is meant for utf-8 strings
You're right once again, but that way packet data can be printed to stdout without casting. Laughing bane gets lazy when it gets to typecasting Laughing
>Additionally, are you planning Tango-compatibility?
We do, but that'll have to wait.
Back to top
View user's profile Send private message
h3r3tic



Joined: 30 Mar 2004
Posts: 261
Location: Torun, Poland

PostPosted: Tue Jul 03, 2007 11:51 am    Post subject: Reply with quote

Dima-san wrote:
without casting. Laughing bane gets lazy when it gets to typecasting Laughing

Hahahah, what an excuse Laughing You could have a function that prints it, so the user doesn't touch any writeflns/printfs/whatnot. The cast would be in just one place and you could store the data in byte[]/ubyte[] Razz
Back to top
View user's profile Send private message MSN Messenger
Dima-san



Joined: 25 Mar 2007
Posts: 33
Location: Almaty, Kazakhstan

PostPosted: Wed Jul 04, 2007 11:25 am    Post subject: Reply with quote

>You could have a function that prints it
Yeah, I could. Cool
Anyway, I fixed that. No more char[]s.
Back to top
View user's profile Send private message
h3r3tic



Joined: 30 Mar 2004
Posts: 261
Location: Torun, Poland

PostPosted: Wed Jul 04, 2007 11:38 am    Post subject: Reply with quote

Wheee Very Happy
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> dnet All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group