digitalmars.D.learn - Does D have high-performance sockets
- D Day (4/4) Jun 12 2012 Are there any implementations of this anywhere for D?
- Regan Heath (7/11) Jun 13 2012 Not in the standard library as yet. The thing holding this back, I
- Dmitry Olshansky (6/10) Jun 13 2012 Take a look at vibe.d. While it looks like framework it could be used as...
- "Jarl =?UTF-8?B?QW5kcsOpIg==?= <jarl.andre gmail.com> (9/20) Jun 13 2012 My solution might be too simple. I made a simple socket server
- Dejan Lekic (2/23) Jun 13 2012 There is also this nice project: https://github.com/meh/nucular
- D Day (9/36) Jun 13 2012 I should of mentioned my interest is purely asynchronous TCP/UDP.
Are there any implementations of this anywhere for D? I really only care about the windows platform - and have considered writing this myself with IOCP and std.socket, but I figure someone else must have already done something similar?
Jun 12 2012
On Tue, 12 Jun 2012 22:29:58 +0100, D Day <damianday hotmail.co.uk> wrote:Are there any implementations of this anywhere for D? I really only care about the windows platform - and have considered writing this myself with IOCP and std.socket, but I figure someone else must have already done something similar?Not in the standard library as yet. The thing holding this back, I believe, is the difficulty making it work "the same" cross platform. Someone might have their own tho.. R -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Jun 13 2012
On 13.06.2012 1:29, D Day wrote:Are there any implementations of this anywhere for D? I really only care about the windows platform - and have considered writing this myself with IOCP and std.socket, but I figure someone else must have already done something similar?Take a look at vibe.d. While it looks like framework it could be used as library just as easy. http://vibed.org/ -- Dmitry Olshansky
Jun 13 2012
On Wednesday, 13 June 2012 at 10:24:58 UTC, Dmitry Olshansky wrote:On 13.06.2012 1:29, D Day wrote:My solution might be too simple. I made a simple socket server that is single threaded, based on std.socket. Its really neat as a need to have socket server library but I wouldn't recommend using it in high performance applications. It imitates actually QuickServer in Java, and the code shows clearly that I come from a Java background https://github.com/jarlah/d2-simple-socket-serverAre there any implementations of this anywhere for D? I really only care about the windows platform - and have considered writing this myself with IOCP and std.socket, but I figure someone else must have already done something similar?Take a look at vibe.d. While it looks like framework it could be used as library just as easy. http://vibed.org/
Jun 13 2012
On Wednesday, 13 June 2012 at 15:53:15 UTC, Jarl André wrote:On Wednesday, 13 June 2012 at 10:24:58 UTC, Dmitry Olshansky wrote:There is also this nice project: https://github.com/meh/nucularOn 13.06.2012 1:29, D Day wrote:My solution might be too simple. I made a simple socket server that is single threaded, based on std.socket. Its really neat as a need to have socket server library but I wouldn't recommend using it in high performance applications. It imitates actually QuickServer in Java, and the code shows clearly that I come from a Java background https://github.com/jarlah/d2-simple-socket-serverAre there any implementations of this anywhere for D? I really only care about the windows platform - and have considered writing this myself with IOCP and std.socket, but I figure someone else must have already done something similar?Take a look at vibe.d. While it looks like framework it could be used as library just as easy. http://vibed.org/
Jun 13 2012
On Wednesday, 13 June 2012 at 17:21:15 UTC, Dejan Lekic wrote:On Wednesday, 13 June 2012 at 15:53:15 UTC, Jarl André wrote:I should of mentioned my interest is purely asynchronous TCP/UDP. Anyways, there are some great projects here. I had no idea vibe.d could be used as a TCP server/client! Nucular does also seem to be promising and a good fit for my projects. Thanks for the information, and if there are any other great projects out there, please do share it will benefit us all I'm sure.On Wednesday, 13 June 2012 at 10:24:58 UTC, Dmitry Olshansky wrote:There is also this nice project: https://github.com/meh/nucularOn 13.06.2012 1:29, D Day wrote:My solution might be too simple. I made a simple socket server that is single threaded, based on std.socket. Its really neat as a need to have socket server library but I wouldn't recommend using it in high performance applications. It imitates actually QuickServer in Java, and the code shows clearly that I come from a Java background https://github.com/jarlah/d2-simple-socket-serverAre there any implementations of this anywhere for D? I really only care about the windows platform - and have considered writing this myself with IOCP and std.socket, but I figure someone else must have already done something similar?Take a look at vibe.d. While it looks like framework it could be used as library just as easy. http://vibed.org/
Jun 13 2012