Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Nim Metaprogramming Projects
-
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).
Project mention: Removing Garbage Collection from the Rust Language (2013) | news.ycombinator.com | 2023-09-1120 milliseconds? On my 7 year old Linux box, this little Nim program https://github.com/c-blake/bu/blob/main/wsz.nim runs to completion in 275 microseconds when fully statically linked with musl libc on Linux. That's with a stripped environment (with `env -i`). It takes more like 318 microseconds with my usual 54 environment variables. The program only does about 17 system calls, though.
Additionally, https://github.com/c-blake/cligen makes decent CLI tools a real breeze. If you like some of Go's qualities but the language seems too limited, you might like Nim: https://nim-lang.org. I generally find getting good performance much less of a challenge with Nim, but Nim is undeniably less well known with a smaller ecosystem and less corporate backing.
-
polymorph
A fast and frugal entity-component-system library with a focus on code generation and compile time optimisation.
Project mention: ECS: Rules, dos and don'ts and best practices for Systems | /r/gamedev | 2022-10-25For a simpler example, check out the particle demo here. This is really only two systems - one for movement and one for calculating force as distance from the mouse (the 3rd system is just for colouring). The rest of the code is creating textures and other setup. For something even simpler, have a look at this simple physics example.
-
Mergify
Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.
Nim Metaprogramming related posts
- Ask HN: How long does it take to find a job?
- Nim lang version 2 released
- Nim for Python Programmers
- Ada and C: differences as the language for system programming (1993) [pdf]
- Nim for Python Programmers
- Buckets Relay Docker Hosting
- What's the fastest high level language?
-
A note from our sponsor - SonarQube
www.sonarqube.org | 22 Sep 2023