[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6457":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":14,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":21,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":26,"discoverSource":27},6457,"nanomsg","nanomsg\u002Fnanomsg","nanomsg library","",null,"C",6277,1032,415,2,0,6,66.64,"Other",false,"master",true,[],"2026-06-12 04:00:28","Welcome to nanomsg\n==================\n\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002Fnanomsg\u002Fnanomsg.svg)](https:\u002F\u002Fgithub.com\u002Fnanomsg\u002Fnanomsg\u002Freleases\u002Flatest)\n[![MIT License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg)](https:\u002F\u002Fgithub.com\u002Fnanomsg\u002Fnanomsg\u002Fblob\u002Fmaster\u002FCOPYING)\n[![Linux](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fnanomsg\u002Fnanomsg\u002Flinux.yml?branch=master&logoColor=grey&logo=linux&label=)](https:\u002F\u002Fgithub.com\u002Fnanomsg\u002Fnanomsg\u002Factions\u002Fworkflows\u002Flinux.yml)\n[![Windows](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fnanomsg\u002Fnanomsg\u002Fwindows.yml?branch=master&logoColor=grey&logo=windows&label=)](https:\u002F\u002Fgithub.com\u002Fnanomsg\u002Fnanomsg\u002Factions\u002Fworkflows\u002Fwindows.yml)\n[![Darwin](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fnanomsg\u002Fnanomsg\u002Fdarwin.yml?branch=master&logoColor=grey&logo=apple&label=)](https:\u002F\u002Fgithub.com\u002Fnanomsg\u002Fnanomsg\u002Factions\u002Fworkflows\u002Fdarwin.yml)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F639573728212156478?label=&logo=discord)](https:\u002F\u002Fdiscord.com\u002Fchannels\u002F639573728212156478\u002F639574516812742686)\n\nThe nanomsg library is a simple high-performance implementation of several\n\"scalability protocols\". These scalability protocols are light-weight messaging\nprotocols which can be used to solve a number of very common messaging\npatterns, such as request\u002Freply, publish\u002Fsubscribe, surveyor\u002Frespondent,\nand so forth.  These protocols can run over a variety of transports such\nas TCP, UNIX sockets, and even WebSocket.\n\nFor more information check the [website](http:\u002F\u002Fnanomsg.org).\n\nPrerequisites\n-------------\n\n1. Windows.\n   * Windows Vista or newer (Windows XP and 2003 are *NOT* supported)\n   * Microsoft Visual Studio 2010 (including C++) or newer, or mingw-w64.\n     (Specifically mingw and older Microsoft compilers are *NOT* supported,\n     and we do not test mingw-w64 at all, so YMMV.)\n   * CMake 2.8.12 or newer, available in $PATH as `cmake`\n\n2. POSIX (Linux, MacOS X, UNIX)\n   * ANSI C compiler supporting C89\n   * POSIX pthreads (should be present on all modern POSIX systems)\n   * BSD sockets support for both TCP and UNIX domain sockets\n   * CMake (http:\u002F\u002Fcmake.org) 2.8.12 or newer, available in $PATH as `cmake`\n\n3. Documentation (optional)\n   * asciidoctor (http:\u002F\u002Fasciidoctor.org\u002F) available as `asciidoctor`\n   * If not present, docs are not formatted, but left in readable ASCII\n   * Available on-line at http:\u002F\u002Fnanomsg.org\u002Fdocumentation\n\nQuick Build Instructions\n------------------------\n\nThese steps here are the minimum steps to get a default Debug\nbuild.  Using CMake you can do many other things, including\nsetting additional variables, setting up for static builds, or\ngeneration project or solution files for different development\nenvironments.  Please check the CMake website for all the various\noptions that CMake supports.\n\n## POSIX\n\nThis assumes you have a shell in the project directory, and have\nthe cmake and suitable compilers (and any required supporting tools\nlike linkers or archivers) on your path.\n\n1.  `% mkdir build`\n2.  `% cd build`\n3.  `% cmake ..`\n4.  `% cmake --build .`\n5.  `% ctest .`\n6.  `% sudo cmake --build . --target install`\n7.  `% sudo ldconfig` (if on Linux)\n\n## Windows\n\nThis assumes you are in a command or powershell window and have\nthe appropriate variables setup to support Visual Studio, typically\nby running `vcvarsall.bat` or similar with the appropriate argument(s).\nIt also assumes you are in the project directory.\n\n1.  `md build`\n2.  `cd build`\n3.  `cmake ..`\n4.  `cmake --build . --config Debug`\n5.  `ctest -C Debug .`\n6.  `cmake --build . --config Debug --target install`\n    *NB:* This may have to be done using an Administrator account.\n\nAlternatively, you can build and install nanomsg using [vcpkg](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvcpkg\u002F) dependency manager:\n\n1.  `git clone https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fvcpkg.git`\n2.  `cd vcpkg`\n3.  `.\u002Fbootstrap-vcpkg.bat`\n4.  `.\u002Fvcpkg integrate install`\n5.  `.\u002Fvcpkg install nanomsg`\n\nThe nanomsg port in vcpkg is kept up to date by microsoft team members and community contributors.\nIf the version is out of date, please [create an issue or pull request](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fvcpkg) on the vcpkg repository.\n\nStatic Library\n--------------\n\nWe normally build a dynamic library (.so or .DLL) by default.\n\nIf you want a static library (.a or .LIB), configure by passing\n`-DNN_STATIC_LIB=ON` to the first `cmake` command.\n\n### POSIX\n\nPOSIX systems will need to link with the libraries normally used when building\nnetwork applications.  For some systems this might mean -lnsl or -lsocket.\n\n### Windows\n\nYou will also need to define `NN_STATIC_LIB` in your compilation environment\nwhen building programs that use this library.  This is required because of\nthe way Windows changes symbol names depending on whether the symbols should\nbe exported in a DLL or not.\n\nWhen using the .LIB on Windows, you will also need to link with the\nws2_32, mswsock, and advapi32 libraries, as nanomsg depends on them.\n\nSupport\n-------\n\nThis library is considered to be in \"sustaining\" mode, which means that new\nfeature development has ended, and bug fixes are made only when strictly\nnecessary for severe issues.\n\nNew development is now occurring in the [NNG](https:\u002F\u002Fgithub.com\u002Fnanomsg\u002Fnng)\nproject, which offers both protocol and API compatibility with this project.\nPlease consider using NNG for new projects.\n\nPlease see the file SUPPORT for more details.\n","nanomsg 是一个高性能的轻量级消息传递库，实现了多种可扩展协议。它支持请求\u002F响应、发布\u002F订阅、调查者\u002F受访者等常见消息模式，并且可以在TCP、UNIX套接字甚至WebSocket等多种传输层上运行。该库使用C语言编写，具有跨平台特性，支持Windows（Vista及以上）、Linux、MacOS X和UNIX系统。nanomsg 适用于需要高效、可靠且易于集成的消息传递解决方案的应用场景，如分布式系统、微服务架构或物联网设备之间的通信。","2026-06-11 03:07:03","top_language"]