Re: Yu(玉) - 0.0.3 : A Dlang's Toolkit in My Used

2017-04-20 Thread DLangLearner via Digitalmars-d-announce

On Tuesday, 18 April 2017 at 09:26:28 UTC, Dsby wrote:

On Tuesday, 18 April 2017 at 09:24:39 UTC, Dsby wrote:

[...]


In github : https://github.com/dushibaiyu/yu
In dub : http://code.dlang.org/packages/yu


It sounds great, I'll try it out, thanks for sharing it.


Re: Yu(玉) - 0.0.3 : A Dlang's Toolkit in My Used

2017-04-18 Thread Dsby via Digitalmars-d-announce

On Tuesday, 18 April 2017 at 09:24:39 UTC, Dsby wrote:

[...]


In github : https://github.com/dushibaiyu/yu
In dub : http://code.dlang.org/packages/yu


Yu(玉) - 0.0.3 : A Dlang's Toolkit in My Used

2017-04-18 Thread Dsby via Digitalmars-d-announce


algorithm
snowflkeId.d : Twitter's Snowflke ID generate 
algorithm.to generate only ID

container : the container base std.experimental.allocator
cirularqueue : Cirular Queue Struct Template.
vector : Like as C++'s std::vector
eventloop : the io(Net) event loop. support EPOLL, KQUEUE , 
IOCP.
asyncsocket : The async socket base std.scoket and 
yu.eventloop
client : the easy Use TCP client. Has time out and 
connect try, and mitil-client
server : the easy Use TCP server. Has Time out and auto 
close .

Acceptor : Tcp listen and accept
TCPClient : Base Tcp client
TCPSocket : Base TCP connection
UDPSocket : Base Udp connection
timer : Timer
eventlooptimer : the timer base yu.eventloop
timingwheeltimer : Time wheel algorithm . base 
std.experimental.allocator

memory
allictor : the yuAlloctor and easy make object base 
yuAlloctor. Base std.experimental.allocator

gc : gcFree to easy free the memory in GC
scopedref : the Unique Ptr/Ref like C++'s std::unique_ptr.
sharedref : the RC Ptr/Ref like C++'s std::shared_ptr
smartref : easy to create the scopedref and sharedref
array : Extend Phobos's std.array. IAppender base 
std.experimental.allocator

bytes : add find in byte or ubyte.
exception : Extend Phobos's std.exception.
functional : add bind use delegate.
string : Extend Phobos's std.string.
task : the task base std.experimental.allocator
thread : auto attach thread
traits : : Extend Phobos's std.traits.