huntlabs / collie Goto Github PK
View Code? Open in Web Editor NEWAn asynchronous event-driven network framework( port netty ) written in D.
An asynchronous event-driven network framework( port netty ) written in D.
Hi! Can you point me into it?
I seen protobuf in dub description:
https://github.com/huntlabs/collie/blob/master/dub.json#L3
Hello,
When trying to run under OSX 10.11:
Igors-MacBook-Pro:collie igor$ dub test Generating test runner configuration '__test__library__' for 'library' (library). Performing "unittest" build using dmd for x86_64. collie 0.7.0: building configuration "__test__library__"... source/collie/socket/acceptor.d(162,56): Error: undefined identifier '_inSocket' source/collie/socket/eventloop.d(172,18): Error: no property 'timer' for type 'AsyncEvent*' source/collie/socket/eventloop.d(177,29): Error: no property 'timer' for type 'AsyncEvent*' source/collie/socket/eventloop.d(182,18): Error: no property 'timer' for type 'AsyncEvent*' source/collie/socket/eventloop.d(254,23): Error: template instance collie.socket.eventloop.EventLoopImpl!(KqueueLoop) error instantiating dmd failed with exit code 1.
http2 can instead of websocket.
The following assert fails when doing “dub test” with DMDv2.071.1 on revision 6b2f132:
vec.removeAny(2);
assert(vec.dup == [15, 3, 4, 0, 1, 2, 3, 4, 5, 6, 7]);
You can find the backtrace below:
??:? _d_unittest [0x819cbc4]
??:? void collie.utils.vector.__unittest_fail(int) [0x819aaac]
source/collie/utils/vector.d:248 void collie.utils.vector.__unittestL243_21() [0x8195d43]
??:? void collie.utils.vector.__modtest() [0x819aa47]
??:? int core.runtime.runModuleUnitTests().foreachbody2(object.ModuleInfo) [0x81ca470]
??:? int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo)).lambda2(immutable(object.ModuleInfo)) [0x819c4bc]
??:? int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo))).foreachbody2(ref rt.sections_elf_shared.DSO) [0x81a414e]
??:? int rt.sections_elf_shared.DSO.opApply(scope int delegate(ref rt.sections_elf_shared.DSO)) [0x81a433f]
??:? int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo))) [0x81a40f3]
??:? int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo)) [0x819c4a0]
??:? runModuleUnitTests [0x81ca34b]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])).runAll() [0x81a03c4]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])).tryExec(scope void delegate()) [0x81a036c]
??:? _d_run_main [0x81a02fe]
??:? main [0x815414b]
??:? __libc_start_main [0xb752f195]
Program exited with code 1
我使用dmd2.8.0,dub1.9编译hunt框架的demo时遇到了重复定义HTTPForm.FormFile的问题,链接失败。
trying to compile under archlinux i get
../../../source/collie/bootstrap/serversslconfig.d:31: error: undefined reference to 'SSLv3_method'
any ideas?
is there a way to use botan https://github.com/etcimon/botan/ ?
> dub
Performing "debug" build using dmd for x86.
collie 0.7.13: building configuration "default"...
use CustomTimer!!!!
C:\Users\bubenkov_di\AppData\Roaming\dub\packages\collie-0.7.13\collie\source\collie\socket\eventloop.d(303,36): Error: safe
function 'collie.socket.eventloop.CWheelTimer.onTimeOut' cannot call system function 'collie.socket.common.EventCallInterface
.onRead'
dmd failed with exit code 1.
\dub\packages\collie-0.10.16\collie\source\collie\channel\pipeline.d(185,9): Deprecation: front ? _ctxs = addBefore(_ctxs, ctx) : _ctxs must be surrounded by parentheses when next to operator ~=
\dub\packages\collie-0.10.16\collie\source\collie\channel\pipeline.d(188,13): Deprecation: front ? _inCtxs = addBefore(_inCtxs, ctx) : _inCtxs must be surrounded by parentheses when next to operator ~=
\dub\packages\collie-0.10.16\collie\source\collie\channel\pipeline.d(193,13): Deprecation: front ? _outCtxs = addBefore(_outCtxs, ctx) : _outCtxs must be surrounded by parentheses when next to operator ~=
$ dmd --version
DMD32 D Compiler v2.091.0-dirty
$ dub --version
DUB version 1.20.0, built on Mar 9 2020
No English documentation and no examples with Protobuffers or Flatbuffers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.