blink
cosmonim
blink | cosmonim | |
---|---|---|
28 | 3 | |
6,700 | 116 | |
- | - | |
7.9 | 2.5 | |
3 months ago | about 1 year ago | |
C | Nim | |
ISC License | 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.
blink
- Python Is Portable
- Porting a Micro Linux VM (Blink) to WebAssembly
-
Patching GCC to Build Portable Executables
> Consider offering APE for x64 but then still producing ARM binaries the old fashioned way.
The recent version of cosmopolitan generates ARM binaries for Linux and MacOS (https://github.com/jart/cosmopolitan#arm; mode aarch64). There is also blink that provides the x86-64 emulation layer for (APE and other) binaries on a variety of platforms (https://github.com/jart/blink).
-
Blink 1.0
Would love a second pair of eyes on the powerpc64le JIT, since it partially works but hangs on some tests. https://github.com/jart/blink/issues/17
-
Searchable Linux Syscall Table for x86 and x86_64
I've never used it, but https://github.com/jart/blink is pretty much that. It's tiny and:
> We regularly test that Blink is able run x86-64-linux binaries on the following platforms:
> Linux (x86, ARM, RISC-V, MIPS, PowerPC, s390x)
> macOS (x86, ARM)
> FreeBSD
> OpenBSD
> Cygwin
-
Blink virtual machine now supports running GUI programs
I wonder if blink could be used as a lightweight sandbox. Looking at PR46[0], it seems sandboxing is not one of the current features, but it would be cool to have a way to run arbitrary code (e.g: Python) in a sandboxed environment. Even cooler if you could limit the amount of memory/CPU used.
[0]: https://github.com/jart/blink/pull/46#pullrequestreview-1264...
-
jart/blink: tiniest x86-64-linux emulator
https://github.com/jart/blink/issues/8 Porting to webassembly
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?
chromium - The official GitHub mirror of the Chromium source
rust-ape-example - A simple example with Rust and Cosmopolitan Libc
blink - Blink Mobile Shell for iOS (Mosh based)
superconfigure - wrap autotools configure scripts to build with Cosmopolitan Libc
strace - strace is a diagnostic, debugging and instructional userspace utility for Linux
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
xserver-SIXEL - A X server implementation for SIXEL-featured terminals, based on @pelya's Xsdl kdrive server(https://github.com/pelya/xserver-xsdl)
gcc
go - The Go programming language
lnav - Log file navigator