Thread: What's the best API?

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 What's the best API? 
    TriConnectivity™
    Guest
    Title says all..

    Cjay0991 says it's Raw NIO.

    Some people say netty.

    Some other people say Grizzly.

    Tell me cause I'm getting so fucking confused rofl.
    Reply With Quote  
     

  2. #2  
    Renown Programmer and Respected Member
    Maxi's Avatar
    Join Date
    Jun 2008
    Posts
    3,197
    Thanks given
    281
    Thanks received
    1,095
    Rep Power
    1366
    All the frameworks you are talking about above are based of NIO. Simply find the one that suits you best in how it works and its documentation, as long as you're not gonna write something extremely good you won't find that much significant difference amongst the different frameworks.
    As for raw NIO, it requires somewhat more time to write a good asynch event driven networking framework, which is already done in all the networking frameworks you are talking about.
    Reply With Quote  
     

  3. #3  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,147
    Thanks given
    2,656
    Thanks received
    3,731
    Rep Power
    5000
    Actually Maxi, Netty can be used with NIO or normal IO.
    .
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Aug 2009
    Posts
    1,712
    Thanks given
    96
    Thanks received
    198
    Rep Power
    78
    I use raw IO lol
    removed
    Reply With Quote  
     

  5. #5  
    Java/C++ Programmer

    Join Date
    Jun 2008
    Age
    27
    Posts
    1,377
    Thanks given
    203
    Thanks received
    387
    Rep Power
    815
    Personally, I like Netty.
    Reply With Quote  
     

  6. #6  
    :doge:

    Join Date
    Jan 2009
    Posts
    3,758
    Thanks given
    221
    Thanks received
    817
    Rep Power
    2116
    i like netty personally, and iirc, netty has an asynchronous io feature.
    Reply With Quote  
     

  7. #7  
    Ż̿ ̿|̿ ̿ |̶ ̶ ̶ ̶| |̶͇̿ ̶͇̿ ͇̿ Haskelle

    Join Date
    Nov 2007
    Age
    29
    Posts
    1,227
    Thanks given
    329
    Thanks received
    517
    Rep Power
    1133
    If you want full control on how your server is running, just use non-blocking new I/O
    Monads are just Monoids in the category of Endofunctors. What is the problem?
    Costate Comonad Coalgebra is equivalent of Java's member variable update technology for haskell. Problem?
    Reply With Quote  
     

  8. #8  
    :doge:

    Join Date
    Jan 2009
    Posts
    3,758
    Thanks given
    221
    Thanks received
    817
    Rep Power
    2116
    Arian.. Non blocking new io???? i think you mean non blocking io.. just call it nio
    Reply With Quote  
     

  9. #9  
    Renown Programmer

    Sean's Avatar
    Join Date
    May 2007
    Age
    32
    Posts
    2,757
    Thanks given
    264
    Thanks received
    1,090
    Rep Power
    4393
    i personally like Apache Mina
    Reply With Quote  
     

  10. #10  
    Doctor p - Sweet Shop

    Join Date
    Apr 2007
    Age
    31
    Posts
    6,835
    Thanks given
    150
    Thanks received
    584
    Rep Power
    2595
    I personally like threads in the correct section.

    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •