digitalmars.D.learn - What is best way to communicate between computer in local network ?
- bioinfornatics (9/9) Jun 27 2014 Hi,
- Adam D. Ruppe (14/16) Jun 27 2014 you could use websocket in D but if you are talking between two
- bioinfornatics (3/19) Jun 27 2014 Yes I bought your book i will read this chapter.
- John Colvin (4/13) Jun 27 2014 It's an application and network dependant decision, but I would
- bioinfornatics (2/19) Jun 27 2014 Thanks i go to take a look
- Sean Kelly (6/9) Jun 28 2014 Yeah, this would be my first choice. Or HTTP if integration with
- John Colvin (3/13) Jun 28 2014 An MPI backend for std.concurrency would be a game-changer for D
- John Colvin (3/17) Jun 28 2014 Note: I don't have much love for MPI, but it's the only practical
- Russel Winder via Digitalmars-d-learn (21/25) Jun 28 2014 Pragmatically, I think this would be a good idea=E2=80=A6
- Sean Kelly (3/7) Jun 28 2014 That's fine. I have zero free time until August.
- ponce (4/13) Jun 29 2014 Not efficient in any means, but DHSL allows to create super
Hi, I have a linux network and i would like to know if they are a D library to communicate between computer efficiently. I do not know if that is better to use websocket and if they exists into dlang: - http://planet.jboss.org/post/rest_vs_websocket_comparison_and_benchmarks Thanks for your help Regards
Jun 27 2014
On Friday, 27 June 2014 at 12:51:45 UTC, bioinfornatics wrote:I do not know if that is better to use websocket and if they exists into dlang:you could use websocket in D but if you are talking between two separate D programs you can just use a regular socket http://dlang.org/phobos/std_socket.html If you have a copy of my book, I have a brief how-to on std.socket in chapter 2. But for two computers just talking to one another all you have to do is on one: new Socket bind accept and on the other one: new Socket connect See the documentation for info on each of those methods.
Jun 27 2014
On Friday, 27 June 2014 at 13:02:55 UTC, Adam D. Ruppe wrote:On Friday, 27 June 2014 at 12:51:45 UTC, bioinfornatics wrote:Yes I bought your book i will read this chapter. ThanksI do not know if that is better to use websocket and if they exists into dlang:you could use websocket in D but if you are talking between two separate D programs you can just use a regular socket http://dlang.org/phobos/std_socket.html If you have a copy of my book, I have a brief how-to on std.socket in chapter 2. But for two computers just talking to one another all you have to do is on one: new Socket bind accept and on the other one: new Socket connect See the documentation for info on each of those methods.
Jun 27 2014
On Friday, 27 June 2014 at 12:51:45 UTC, bioinfornatics wrote:Hi, I have a linux network and i would like to know if they are a D library to communicate between computer efficiently. I do not know if that is better to use websocket and if they exists into dlang: - http://planet.jboss.org/post/rest_vs_websocket_comparison_and_benchmarks Thanks for your help RegardsIt's an application and network dependant decision, but I would suggest http://code.dlang.org/packages/zmqd as suitable for most situations.
Jun 27 2014
On Friday, 27 June 2014 at 13:03:20 UTC, John Colvin wrote:On Friday, 27 June 2014 at 12:51:45 UTC, bioinfornatics wrote:Thanks i go to take a lookHi, I have a linux network and i would like to know if they are a D library to communicate between computer efficiently. I do not know if that is better to use websocket and if they exists into dlang: - http://planet.jboss.org/post/rest_vs_websocket_comparison_and_benchmarks Thanks for your help RegardsIt's an application and network dependant decision, but I would suggest http://code.dlang.org/packages/zmqd as suitable for most situations.
Jun 27 2014
On Friday, 27 June 2014 at 13:03:20 UTC, John Colvin wrote:It's an application and network dependant decision, but I would suggest http://code.dlang.org/packages/zmqd as suitable for most situations.Yeah, this would be my first choice. Or HTTP if integration with other applications is an option. I really like JSON-RPC, though it seems to not get much attention. Longer term, I'd like to extend the messaging in std.concurrency to allow interprocess communication as well.
Jun 28 2014
On Saturday, 28 June 2014 at 16:08:18 UTC, Sean Kelly wrote:On Friday, 27 June 2014 at 13:03:20 UTC, John Colvin wrote:An MPI backend for std.concurrency would be a game-changer for D in certain scientific circles.It's an application and network dependant decision, but I would suggest http://code.dlang.org/packages/zmqd as suitable for most situations.Yeah, this would be my first choice. Or HTTP if integration with other applications is an option. I really like JSON-RPC, though it seems to not get much attention. Longer term, I'd like to extend the messaging in std.concurrency to allow interprocess communication as well.
Jun 28 2014
On Saturday, 28 June 2014 at 16:20:31 UTC, John Colvin wrote:On Saturday, 28 June 2014 at 16:08:18 UTC, Sean Kelly wrote:Note: I don't have much love for MPI, but it's the only practical option on many clusters currently.On Friday, 27 June 2014 at 13:03:20 UTC, John Colvin wrote:An MPI backend for std.concurrency would be a game-changer for D in certain scientific circles.It's an application and network dependant decision, but I would suggest http://code.dlang.org/packages/zmqd as suitable for most situations.Yeah, this would be my first choice. Or HTTP if integration with other applications is an option. I really like JSON-RPC, though it seems to not get much attention. Longer term, I'd like to extend the messaging in std.concurrency to allow interprocess communication as well.
Jun 28 2014
On Sat, 2014-06-28 at 16:21 +0000, John Colvin via Digitalmars-d-learn wrote:Pragmatically, I think this would be a good idea=E2=80=A6An MPI backend for std.concurrency would be a game-changer for=20 D in certain scientific circles.Note: I don't have much love for MPI, but it's the only practical option on many clusters currently.=E2=80=A6philosophically MPI sucks. The problem is that C, C++, Fortran, Chapel, X10 all assume MPI is the cluster transport. Fortunately in the Groovy, GPars, Java, Scala, Akka world, there are other options, ones that are much nicer :-) Sadly, I don't have time to contribute to any constructive work on this just now. And I ought to be doing a review and update to std.parallelism=E2=80=A6 --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jun 28 2014
On Saturday, 28 June 2014 at 17:11:51 UTC, Russel Winder via Digitalmars-d-learn wrote:Sadly, I don't have time to contribute to any constructive work on this just now. And I ought to be doing a review and update to std.parallelism…That's fine. I have zero free time until August.
Jun 28 2014
On Friday, 27 June 2014 at 12:51:45 UTC, bioinfornatics wrote:Hi, I have a linux network and i would like to know if they are a D library to communicate between computer efficiently. I do not know if that is better to use websocket and if they exists into dlang: - http://planet.jboss.org/post/rest_vs_websocket_comparison_and_benchmarks Thanks for your help RegardsNot efficient in any means, but DHSL allows to create super simple webservers. https://github.com/canidae/DHSL
Jun 29 2014