denim
mummy
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.
denim
-
My Node.js is a bit Rusty
Related: you can write a Node.js module in Nim with Denim: https://github.com/openpeeps/denim
-
Nim v2.0 Released
Somewhat related, you can call Nim code from Node.js/Bun using Denim: https://github.com/openpeeps/denim. It works by creating a Node add-on.
This is great for reusing Nim code in a web app, and possibly for performance critical code.
-
Node vs Flask for Scaling
Something I'm just starting for one of my projects, is to use Node on front-end and back-end (mostly for GraphQL). Then write the majority of the back-end in Nim and compile it to a Node add-on with Denim (https://github.com/openpeeps/denim). Nim can call Python with Nimpy if I ever need to call it.
mummy
- Nim v2.0 Released
- Mummy – web server written in Nim that returns to the ancient ways of threads
-
Nim version 2.0.0 release candidate
Personally this preciseness is just a distraction, but it sounds like you have learned from the constraints and can now take the training wheels off again.
Very curious about those cases, yet to find one myself that was not because of a bad design decision. Though I am also very big on the idea of `ambiguous grammar, rigorous implementation`, for natural language too. (Toki Pona is a somewhat extreme example but the contextual grammar, and holistic minimalism is fascinating)
Not to make it longer than needs to be; But take the example code in this readme: https://github.com/guzba/mummy
Being able to quickly script this without thinking about cases or style on the first pass is a really lovely way of reducing friction imho.
-
Mummy, a new multithreaded HTTP + WebSocket server that returns to the ancient ways of threads
Added a WebSocket chat example here: https://github.com/guzba/mummy/blob/master/examples/chat.nim
What are some alternatives?
nodejs - Alternative StdLib for Nim for NodeJS/JavaScript targets, hijacks NodeJS StdLib for Nim
nim-chronos - Chronos - An efficient library for asynchronous programming
node-webrtc - node-webrtc is a Node.js Native Addon that provides bindings to WebRTC M87
nim-results - Friendly value-or-error type
genepi - Automatic generation of N-API wrapper from a C++ library
fungus - Object variants done like other langugaes
nim-webui - Use any web browser as GUI, with Nim in the backend and HTML5 in the frontend.
jester - A sinatra-like web framework for Nim.
gintro - High level GObject-Introspection based GTK3/GTK4 bindings for Nim language
owlkettle - A declarative user interface framework based on GTK 4
napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API
mvb-opencv - Minimum Viable Bindings to OpenCV for Nim