digitalmars.D.learn - RPC module for D ?
- luis (1/1) Jan 30 2012 There are any RPC module for D ??
- David Nadlinger (5/6) Jan 30 2012 I implemented support for Apache Thrift during last summer's GSoC, it's
- Zardoz (5/13) Jan 30 2012 I will try it. I only need to make a remote "hello world" , do a short d...
- luis (6/20) Feb 03 2012 I think that It not would show D awesomeness. The code of D thrift
- Zardoz (42/50) Jan 30 2012 I try to build it and when i did make check to see it all works I get tw...
- David Nadlinger (10/12) Jan 30 2012 Oh, I'm afraid you caught me in a bad moment – because the version for...
- Zardoz (4/19) Jan 30 2012 At least I can say that the Tutorial client & server works (async_client...
- David Nadlinger (5/6) Jan 30 2012 Because you don't have libevent installed (the tutorial makefile doesn't...
- luis (11/20) Jan 31 2012 I'm trying to compile thrift in other computer. I have libevent-dev
- Jacob Carlborg (5/6) Jan 30 2012 The Mango project has some support for RPC. But this if for D1 with
On 1/30/12 5:27 PM, luis wrote:There are any RPC module for D ??I implemented support for Apache Thrift during last summer's GSoC, it's currently under review for inclusion into Thrift trunk: http://klickverbot.at/code/gsoc/thrift/ David
Jan 30 2012
I will try it. I only need to make a remote "hello world" , do a short description , and compare with other RPCs in other 3 languages (university homework...) . On Mon, 30 Jan 2012 17:30:59 +0100, David Nadlinger wrote:On 1/30/12 5:27 PM, luis wrote:-- Yep, I'm afraid that I have a blog : zardoz.esThere are any RPC module for D ??I implemented support for Apache Thrift during last summer's GSoC, it's currently under review for inclusion into Thrift trunk: http://klickverbot.at/code/gsoc/thrift/ David
Jan 30 2012
I think that It not would show D awesomeness. The code of D thrift server&client looks more long and complex that Python, Perl and Ruby examples with xml-rpc ... Why not are something more simple ? I think that D allow to something in the line of these xml-rpc implementations in Python or Ruby. El Mon, 30 Jan 2012 19:51:05 +0000, Zardoz escribió:I will try it. I only need to make a remote "hello world" , do a short description , and compare with other RPCs in other 3 languages (university homework...) . On Mon, 30 Jan 2012 17:30:59 +0100, David Nadlinger wrote:On 1/30/12 5:27 PM, luis wrote:There are any RPC module for D ??I implemented support for Apache Thrift during last summer's GSoC, it's currently under review for inclusion into Thrift trunk: http://klickverbot.at/code/gsoc/thrift/ David
Feb 03 2012
On Mon, 30 Jan 2012 17:30:59 +0100, David Nadlinger wrote:On 1/30/12 5:27 PM, luis wrote:I try to build it and when i did make check to see it all works I get two fails : thrift.transport.base.TTransportException src/thrift/transport/socket.d(255): Failed to connect to 127.0.0.1:11122. ---------------- ./unittest/debug/thrift/server/transport/socket(void thrift.server.transport.socket.__unittest3()+0x1ba) [0x45e2ea] ./unittest/debug/thrift/server/transport/socket(void thrift.server.transport.socket.__modtest()+0x9) [0x46529d] ./unittest/debug/thrift/server/transport/socket(extern (C) bool core.runtime.runModuleUnitTests().int __foreachbody272(ref object.ModuleInfo*)+0x30) [0x47f228] ./unittest/debug/thrift/server/transport/socket(int object.ModuleInfo.opApply(scope int delegate(ref object.ModuleInfo*))+0x55) [0x4712d9] ./unittest/debug/thrift/server/transport/socket(runModuleUnitTests+0xa7) [0x47f0f7] ./unittest/debug/thrift/server/transport/socket(extern (C) int rt.dmain2.main(int, char**).void runAll() +0x27) [0x47583f] ./unittest/debug/thrift/server/transport/socket(extern (C) int rt.dmain2.main(int, char**).void tryExec (scope void delegate())+0x2a) [0x4753ae] ./unittest/debug/thrift/server/transport/socket(main+0xd3) [0x47533f] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x2b67f2bc730d] FAIL: unittest/debug/thrift/server/transport/socket thrift.transport.base.TTransportException src/thrift/transport/socket.d(255): Failed to connect to 127.0.0.1:11122. ---------------- ./unittest/release/thrift/server/transport/socket(void thrift.server.transport.socket.__unittest3()+0x19f) [0x45e0a7] ./unittest/release/thrift/server/transport/socket(void thrift.server.transport.socket.__modtest()+0x9) [0x46372d] ./unittest/release/thrift/server/transport/socket(extern (C) bool core.runtime.runModuleUnitTests().int __foreachbody272(ref object.ModuleInfo*)+0x30) [0x47d32c] ./unittest/release/thrift/server/transport/socket(int object.ModuleInfo.opApply(scope int delegate(ref object.ModuleInfo*))+0x55) [0x46f749] ./unittest/release/thrift/server/transport/socket(runModuleUnitTests+0xa7) [0x47d1fb] ./unittest/release/thrift/server/transport/socket(extern (C) int rt.dmain2.main(int, char**).void runAll() +0x27) [0x473caf] ./unittest/release/thrift/server/transport/socket(extern (C) int rt.dmain2.main(int, char**).void tryExec (scope void delegate())+0x2a) [0x47381e] ./unittest/release/thrift/server/transport/socket(main+0xd3) [0x4737af] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x2b6f742c530d] FAIL: unittest/release/thrift/server/transport/socket -- Yep, I'm afraid that I have a blog : zardoz.esThere are any RPC module for D ??I implemented support for Apache Thrift during last summer's GSoC, it's currently under review for inclusion into Thrift trunk: http://klickverbot.at/code/gsoc/thrift/ David
Jan 30 2012
On 1/30/12 11:35 PM, Zardoz wrote:I try to build it and when i did make check to see it all works I get two fails : […]Oh, I'm afraid you caught me in a bad moment – because the version for upstream integration is frozen at Thrift's JIRA, I've been a bit more careless with multi-platform testing when pushing to my GitHub master (resp. d-gsoc) branch than normal – was an artifact of IPv6 support being rolled out, should be fixed now. Also, please note that the »all green« status on the project page applies to commit 73e7e5e (the one submitted for upstream integration), I didn't have time to check whether the IPv6 stuff works on Windows yet. David
Jan 30 2012
On Tue, 31 Jan 2012 00:17:18 +0100, David Nadlinger wrote:On 1/30/12 11:35 PM, Zardoz wrote:At least I can say that the Tutorial client & server works (async_client not compile) :) . For me it's enough . -- Yep, I'm afraid that I have a blog : zardoz.esI try to build it and when i did make check to see it all works I get two fails : […]Oh, I'm afraid you caught me in a bad moment – because the version for upstream integration is frozen at Thrift's JIRA, I've been a bit more careless with multi-platform testing when pushing to my GitHub master (resp. d-gsoc) branch than normal – was an artifact of IPv6 support being rolled out, should be fixed now. Also, please note that the »all green« status on the project page applies to commit 73e7e5e (the one submitted for upstream integration), I didn't have time to check whether the IPv6 stuff works on Windows yet. David
Jan 30 2012
On 1/31/12 12:29 AM, Zardoz wrote:At least I can say that the Tutorial client& server works (async_client not compile) :) . For me it's enough .Because you don't have libevent installed (the tutorial makefile doesn't have detection for that by design), or do you encounter another error? Thanks, David
Jan 30 2012
El Tue, 31 Jan 2012 00:33:36 +0100, David Nadlinger escribió:On 1/31/12 12:29 AM, Zardoz wrote:I'm trying to compile thrift in other computer. I have libevent-dev installed and I download deimos/libevent and put D files in /usr/include/ d/deimos and add a -I/usr/include/d/deimos to dmd.conf. When I run ./ configure I get this : checking for DMD... yes checking whether DMD uses OPTLINK... no checking for D module deimos.event2.event... no checking for D module deimos.openssl.ssl... no I need to add a flag to ./configure or do other thing to get working with libevent ???At least I can say that the Tutorial client& server works (async_client not compile) :) . For me it's enough .Because you don't have libevent installed (the tutorial makefile doesn't have detection for that by design), or do you encounter another error? Thanks, David
Jan 31 2012
On 2012-01-30 17:27, luis wrote:There are any RPC module for D ??The Mango project has some support for RPC. But this if for D1 with Tango: http://dsource.org/projects/mango -- /Jacob Carlborg
Jan 30 2012