|5 months ago||1 day ago|
|Apache License 2.0||GNU General Public License v3.0 or later|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
We haven't tracked posts mentioning Dasynq yet.
Tracking mentions began in Dec 2020.
Non blocking write to a file
3 projects | reddit.com/r/C_Programming | 3 Jan 2022
If you want real non-blocking IO, the C standard library doesn't support this and the OS-specific APIs tend to be difficult to use (and non-portable), so I would recommend something like libuv.
Ask HN: Where are the resources for complex architectures for Node.js?
5 projects | news.ycombinator.com | 30 Dec 2021
> How should exceptions be managed? [...] Has there been a debate about best practice? Where can I find it?
I suggest you handle the errors you can and otherwise let it crash. Debates in NodeJS-land have steered towards more monadic/Result-like structures and working synchronous-looking try/catch onto async/await. NodeJS and its various components are open source, you'll have a lot of luck looking around on GH for issues & PRs related to a feature -- same for the language, ECMAScript officially.
Since you mentioned Clojure, have you looked at ClojureScript? That may be a good entry to JS authors & articles you'd enjoy.
> I have the impression that NodeJS is a bit more magical than the JVM [...] Is that correct? Where are good resources on this subject?
As other replies have mentioned, you're really talking about V8 for the "JSVM" executing that code. A thing I've seen throw some people for a loop is how minimalist the specification actually is. The magic in NodeJS is certainly from V8 and the rate of optimizations there but also libuv, what actually powers the infamous event loop.
Hope that helps!
: Borrowing from Erlang, see Making reliable distributed systems in the presence of software errors, Joe Armstrong, page 104 "Error Handling Philosophy" https://erlang.org/download/armstrong_thesis_2003.pdf
: _Most_ kinds of errors will cause the process to crash if you don't handle them, https://nodejs.org/dist/latest-v16.x/docs/api/errors.html . Promise rejections don't (yet) though it emits an error, and callback-based APIs will always consist of an [error, data] tuple for the arguments
: Because Oracle owns the trademark, of course: http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=
: "ECMAScript as defined here is not intended to be computationally self-sufficient; indeed, there are no provisions in this specification for input of external data or output of computed results. Instead, it is expected that the computational environment of an ECMAScript program will provide not only the objects and other facilities described in this specification but also certain environment-specific objects, whose description and behaviour are beyond the scope of this specification except to indicate that they may provide certain properties that can be accessed and certain functions that can be called from an ECMAScript program." https://tc39.es/ecma262/#sec-overview
Introduction to NodeJS
1 project | dev.to | 22 Nov 2021
Node uses Libuv as the event loop implementation. To use a Node asynchronous API, you pass a callback function as an argument to that API function, and during the event loop, your callback is executed.
io_uring based networking in prod experience
3 projects | reddit.com/r/linux | 3 Nov 2021
We don't use Rust (yet) for this service, but the tokio design doc is a great read with links to other art/impl, and libuv's issue/PR about it were all great helps in "crossing into gain" territory.
I need a good and simple networking library for C++
2 projects | reddit.com/r/gamedev | 6 Oct 2021
cmake include(FetchContent) FetchContent_Declare(libuv URL "https://github.com/libuv/libuv/archive/master.zip") FetchContent_MakeAvailable(libuv)
Entendendo o Node.js e seu funcionamento
1 project | dev.to | 17 Sep 2021
Node Bindings untuk binding dari C++ pada Node.js
5 projects | dev.to | 12 Aug 2021
Can i make PHP as fast as Node.js?
2 projects | reddit.com/r/node | 7 Aug 2021
Is nodejs single threaded or multi threaded
1 project | reddit.com/r/node | 26 Jul 2021
IO is still mostly single threaded. Node.js is based on a library called libuv which handles all the IO.
How to properly port C++ classes to C?
1 project | reddit.com/r/C_Programming | 9 Jul 2021
An interesting codebase to look for inspiration is libuv. Look at include/uv.h, especially anything pertinent to uv_handle_t. (It gets messy, but that's the ugly guts of a multi-platform C library that ultimately has a very nice public API.)
What are some alternatives?
libevent - Event notification library
Boost.Asio - Asio C++ Library
libev - Full-featured high-performance event loop loosely modelled after libevent
uvw - Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
C++ Actor Framework - An Open Source Implementation of the Actor Model in C++
benchmarks - Some benchmarks of different languages
librespot - Open Source Spotify client library
rotor - Event loop friendly C++ actor micro-framework
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
ncspot - Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins