cib
v86
cib | v86 | |
---|---|---|
5 | 153 | |
825 | 19,159 | |
- | - | |
0.0 | 9.1 | |
over 1 year ago | 8 days ago | |
C++ | Rust | |
- | BSD 2-clause "Simplified" 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.
cib
-
Compile and execute C++ in browser
[2]: https://tbfleming.github.io/cib/
-
Using Firecracker and Go to run short-lived, untrusted code execution jobs
Here are some more ports of LLVM and clang to the browser:
* https://github.com/kripken/llvm-js
* https://github.com/tbfleming/cib
* https://github.com/jprendes/emception
LLVM just does pure computation, really, so it's not hard to port to wasm - much simple than say Python (which has also been ported several times). The only challenges with LLVM are the build system (which has self-execution), working around some issues like clang wanting to open a subprocess, and adding some ifdefs.
-
Show HN: How to compile C/C++ for WASM, pure Clang, no libs, no framework
That is half of what I would need for a project, the other half being Clang itself running in the browser (to use for teaching), in theory there is [1] since many years, but in practice it never worked for me (even now I get "Runtime error: memory access out of bounds")
[1] https://tbfleming.github.io/cib/
-
Do any Browser Based C Static Code Analysis Tools Exist?
It seems that there's a project doing exactly that: https://github.com/tbfleming/cib
-
Rust programming concepts for JavaScript developers
It takes some work (mostly due to LLVM building code to run later in its build system as it goes), but it's very feasible. LLVM has been ported to Wasm (and before that to JS) many times, for example:
https://github.com/jprendes/emception (2021)
https://github.com/tbfleming/cib (2017)
https://github.com/kripken/llvm.js (2012)
I agree it would be great to see this repl running 100% in the browser!
v86
- Run Windows on the browser with WASM power
-
WASI 0.2.0 and Why It Matters
> As a thought experiment, we're almost there! We could technically have `win95.img + bochs86vm.wasm + autorun.inf + msword.exe` wrapped in a "browser evaluator"
I looked into this and... holy crap! We are there. Not for modern programs quite yet, sure, but this is amazing. You can use Windows 2000 from your browser.
https://copy.sh/v86/?profile=windows2000
-
Is offline-first not enough? Do we need "serverfree"?
I think you are looking for Shadow.
https://shadow.goose.icu
Or just the whole kitchen sink. Why not?
http://copy.sh/v86/?profile=windows98
- Virtual Computer Museum – VNC into Archaic Windows Systems
-
Container2wasm: Convert Containers to WASM Blobs
Also: https://github.com/copy/v86 - more productized browser x86 runtime, used by eg https://github.com/snaplet/postgres-wasm
-
Show HN: SQL Polyglot
Wonder if you could put all those databases in a Linux image and boot it using v86 [0], eliminating the need for a server.
[0] https://github.com/copy/v86
- Hot Dog Linux
-
Kolibri OS: fits on a floppy disk, programmed using interrupts
Trying it out in https://copy.sh/v86/?profile=kolibrios , it's also clearly a love letter to Windows 95 in particular. That could be an unstated goal here, create a very particular PC experience under very particular constraints. I don't know anything about the creator but it's very possible that this kind of work was actually their career in the 90s.
It's incredible how much work was done. Maybe this should be an internet curiosity like how TempleOS has become, though Terry's personality was a unique factor.
-
VMware is now part of Broadcom
hmm, why would people still use VMWare? Isn't vbox open source, or even things such as https://copy.sh/v86/ would do most virtualization trick now days?
-
Running Windows 98 on the Browser
Oh, there are more OSes one can use at the parent page:
https://copy.sh/v86/
My highlights:
- First version of Windows (1.01)
- SerenityOS <3
- and even ReactOS
What are some alternatives?
skybison - A fork of Instagram's experimental performance oriented greenfield implementation of Python. It features small objects; a moving GC; hidden classes; bytecode inline caching; type-specialized bytecode; an experimental template JIT.
Chicago95 - A rendition of everyone's favorite 1995 Microsoft operating system for Linux.
clang-wasm - How to build webassembly files with nothing other than standard Clang/llvm.
webvm - Virtual Machine for the Web
wefx - Basic WASM graphics package to draw to an HTML Canvas using C. In the style of the gfx library
yoroi-frontend - Yoroi Wallet - Cardano ADA Wallet - Your gateway to the financial world (extension frontend)
chip8-book - An introduction to Chip-8 emulation using Rust
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
howto-wasm-minimal - How to create minimal wasm module with plain C/C++
macos-virtualbox - Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
wajic - WebAssembly JavaScript Interface Creator
uBlock-issues - This is the community-maintained issue tracker for uBlock Origin