cosmonim
gcc
cosmonim | gcc | |
---|---|---|
3 | 1 | |
116 | 14 | |
- | - | |
2.5 | 0.0 | |
about 1 year ago | 4 days ago | |
Nim | ||
MIT License | GNU General Public License v3.0 only |
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.
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
gcc
-
Patching GCC to Build Portable Executables
Dereferencing the runtime symbol with a function sounds interesting! If you can show me an example of where it works, I'd be happy to try it out. I like the if-else-goto arrangement because it fit in perfectly with the other parts of gcc -- if you look at my patch[1], you will find that I had to change very little of gcc's existing code to add this capability.
[1]: https://github.com/ahgamut/gcc/tree/portcosmo-11.2
What are some alternatives?
rust-ape-example - A simple example with Rust and Cosmopolitan Libc
blink - tiniest x86-64-linux emulator
superconfigure - wrap autotools configure scripts to build with Cosmopolitan Libc
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
go - The Go programming language
cosmopolitan - build-once run-anywhere c library
lnav - Log file navigator