ripgrep
cosmonim
ripgrep | cosmonim | |
---|---|---|
1 | 3 | |
18 | 116 | |
- | - | |
8.6 | 2.5 | |
8 months ago | about 1 year ago | |
Rust | Nim | |
The Unlicense | MIT License |
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.
ripgrep
-
Patching GCC to Build Portable Executables
Also got ripgrep to work: https://github.com/ahgamut/ripgrep/tree/cosmopolitan
Might need to update the build scripts a little to handle the latest updates in Rust and Cosmo (we'll need gcc-11 now), but I expect to get Rust working again soon enough.
cosmonim
-
D Programming Language
In a word, yes.
In more words: You should be able to use Cosmopolitan libc: https://github.com/Yardanico/cosmonim
If something does not work for you, Yardanico is super duper helpful in all things Nim.
Nim also compiles to Javascript (nim js) and C++ for integration with legacy codebases, but that is probably more to the side of your interests.
-
Patching GCC to Build Portable Executables
I haven't used Nim much, but I remember a repo on Github had setup a build script for compiling Nim with Cosmopolitan Libc. https://github.com/Yardanico/cosmonim
This gcc patch makes such build scripts simpler, because you will need to change less of your code -- let me know how it works!
- Using Cosmopolitan Libc with Nim
What are some alternatives?
rust-ape-example - A simple example with Rust and Cosmopolitan Libc
gcc
blink - tiniest x86-64-linux emulator
superconfigure - wrap autotools configure scripts to build with Cosmopolitan Libc
musl-cross-make - Simple makefile-based build for musl cross compiler
go - The Go programming language
lnav - Log file navigator