denim
nlvm
denim | nlvm | |
---|---|---|
3 | 11 | |
39 | 683 | |
- | - | |
8.1 | 6.9 | |
16 days ago | 3 months ago | |
Nim | Nim | |
MIT License | 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.
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.
nlvm
- Nlvm: LLVM-based compiler for the Nim language
-
Nim v2.0 Released
That looks interesting. Unfortunately it looks like it hasn't been updated in a while? Is that because it's complete or a lack of interest?
For example, the approach mentioned at the bottom of the README of integrating via nlvm (https://github.com/arnetheduck/nlvm) sounded great but appears to be unpursued.
- Nim and Go programs identified as malware on Windows
- The counter-intuitive rise of Python in scientific computing (2020)
- Is Nim a Transpiler?
-
Nim Version 1.6 Released
Being able to compile to C, C++, ObjC, and JavaScript natively (and LLVM using https://github.com/arnetheduck/nlvm ), along with an excellent FFI (including to and from Python) means you don't need to rewrite dependencies as you can use them directly. Nim is great at glue code - arguably better than Python.
Along with general language characteristics such as being high level and productive like Python, but with intricate "bare metal" control when you want it, really does make it suitable for writing almost everything.
-
Time to raid Area 51
Check out nlvm https://github.com/arnetheduck/nlvm
What are some alternatives?
nodejs - Alternative StdLib for Nim for NodeJS/JavaScript targets, hijacks NodeJS StdLib for Nim
godot-nim - Nim bindings for Godot Engine
node-webrtc - node-webrtc is a Node.js Native Addon that provides bindings to WebRTC M87
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
genepi - Automatic generation of N-API wrapper from a C++ library
INim - Interactive Nim Shell / REPL / Playground
nim-webui - Use any web browser as GUI, with Nim in the backend and HTML5 in the frontend.
cmdchallenge
gintro - High level GObject-Introspection based GTK3/GTK4 bindings for Nim language
pixie - Full-featured 2d graphics library for Nim.
napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API
nimbus-eth2 - Nim implementation of the Ethereum Beacon Chain