Coder Social home page Coder Social logo

对标netty的nio吗? about nbio HOT 2 CLOSED

qinguoyi avatar qinguoyi commented on June 1, 2024 1
对标netty的nio吗?

from nbio.

Comments (2)

qinguoyi avatar qinguoyi commented on June 1, 2024 1

好的,感谢

from nbio.

lesismal avatar lesismal commented on June 1, 2024

异步非阻塞IO、epoll这些不是netty独有的、而是比编程语言更加基础的编程模式或系统接口,nio也只是异步非阻塞、对epoll这些的一种封装、框架。
nbio是异步非阻塞IO的框架,没有对标其他库或者框架,都是按照我自己的代码风格实现的、比较偏面向过程,我个人喜欢直观、不喜欢层层封装,所以除了因为底层复杂而所需的一些复杂实现,并没有什么不必要的设计模式,跟netty、java肯定也是相去甚远。
因为我对设计模式学不太会(层层封装太恶心人了、看十几秒就看不下去所以没有花足够时间去学)、也没怎么研究过netty,好像gnet那些库的代码风格有参考netty吧、具体不太清楚,但是其他的golang epoll库的功能相对比较少、对TLS、HTTP、Websocket这些的支持比较弱

欢迎来体验nbio

from nbio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.