Fabian
121a5170f2
minor refactoring (remove readfile, use direct import for libv86.js)
2025-04-16 09:26:13 -07:00
Fabian
611bc7d394
use newer arch state for benchs
2025-04-16 09:26:13 -07:00
Fabian
51bd604cc5
remove "use strict" (is default in es6 modules)
2025-04-16 09:26:13 -07:00
Rob Blanckaert
a9219613af
Switch to es6 modules.
2025-04-06 08:53:49 -07:00
SuperMaxusa
69d0751b95
add "tcp terminal" example for fetch-based networking
2025-03-09 21:42:22 -07:00
Fabian
23411f337e
use emulator.destroy() over emulator.stop() to properly remove v86 instances
...
emulator.stop sometimes works (when the GC can figure out that .start()
is unreachable and nothing can call into the instance). However, some
resources, such as any WebSocket connection, need to be closed manually.
2024-12-20 10:41:09 -07:00
Fabian
1598f9eb04
examples/broadcast-network: add description
2024-12-20 10:41:03 -07:00
SuperMaxusa
8f5d58b029
examples: add "Networking between browser windows/tabs using the Broadcast Channel API" ( #1196 )
2024-12-16 20:19:05 +01:00
Fabian
725a4e3b47
update buildroot image
...
with 6.8 kernel, virtio drivers (virtio-net, virtio-balloon,
virtio-console) and some networking utils (socat and tcpdump)
Thanks @SuperMaxusa
2024-09-15 16:31:48 -06:00
Fabian
50e3c68e9a
two instances example: show how to configure network
2024-09-12 21:31:40 -06:00
Fabian
a66e3a2bfb
fewer blank lines
2024-07-24 16:23:44 +02:00
Fabian
037afdc3d9
alpine: add script to automatically build state image using nodejs
2024-05-26 17:47:16 +09:00
Fabian
2e5b6e100c
remove debian image build scripts
...
The alpine scripts are much simpler, don't need root and alpine runs
better in v86
2024-05-26 17:08:40 +09:00
Fabian
17448cd419
add alpine example
2024-05-26 17:02:53 +09:00
Robert Aboukhalil
4928c9165d
(breaking change) replace *-output-char with *-output-byte ( #928 )
2023-09-21 05:30:35 +02:00
Fabian
080482da89
s/V86Starter/V86
2023-09-20 08:57:41 -05:00
Fabian
38f5327dbc
Add sectorc example ( #899 )
2023-08-31 18:00:47 -06:00
Fabian
0c17fea221
Remove serial0-output-line, fix stack overflow in serial debug output ( fix #741 )
2022-11-15 10:14:28 +09:00
Nitin Tejuja
0615be5d60
Fixed issue #632 async/await ( #633 )
...
Co-authored-by: Fabian <copy@copy.sh>
2022-07-25 14:55:07 +02:00
hello-smile6
a50c6e2bbc
Connect guest network adapters ( #704 )
...
You'll still need to assign a static IP to each VM, but they can communicate!
2022-07-14 10:20:56 +02:00
Николай Шангин
558e0f9d7c
Improve Debian build info ( #696 )
2022-06-24 10:30:27 +02:00
hello-smile6
f69706c709
Use buildroot for lua example
...
The linux4 image on k.copy.sh no longer has Lua. However, Buildroot has it.
(Linux 2.6 does too, but it's an older version)
2022-02-05 17:55:41 -06:00
Fabian
73fd991c87
Fix example
2021-01-03 17:47:25 -06:00
Fabian
497f618cab
Merge branch 'wasm' into master
2021-01-03 02:07:20 -06:00
Fabian
e0bbc019a7
Update examples
2021-01-01 21:51:17 -06:00
Fabian
a172304f8d
Add path to wasm module to examples
2020-12-31 19:14:30 -06:00
mprey
131f4e128b
Fix tabulators from escaping CLI (copy#217)
2019-11-24 19:52:35 -06:00
copy
9211c4fc87
Destroy emulator ( fix #283 )
2019-07-11 19:44:48 -03:00
copy
9357484862
Remove trailing whitespace
2016-01-01 17:50:13 +01:00
copy
8e5e34403e
Terminate cleanly
2015-12-30 21:00:37 +01:00
copy
e8d8d6166b
Split nodejs example
2015-12-30 18:18:23 +01:00
copy
3fdfd79500
Adapt path
2015-09-12 00:35:44 +02:00
copy
b3c3d4d4a0
Move examples from docs/samples/ to examples/
2015-08-22 16:37:55 +02:00