Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yuri91
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Show HN: Codex CLI compiled to WASM running in the browser
(browsercode.io)
5 points
by
yuri91
29d ago
|
1 comments
2.
▲
Beyond WASI: Running any Rust application in the browser with BrowserPod 3.0
(labs.leaningtech.com)
2 points
by
yuri91
1mo ago
|
0 comments
3.
▲
A Linux-like kernel in a browser tab – deep dive in the BrowserPod architecture
(labs.leaningtech.com)
4 points
by
yuri91
4mo ago
|
0 comments
4.
▲
by
yuri91
5mo ago
if anyone is curious about the technical details, I recently gave a talk about BrowserPod's architecture at the Wasm I/O conference. The recordings of the talks are being published on their YT channel ( https://www.youtu
5.
▲
by
yuri91
6mo ago
I work on a project that does exactly that (and more): https://browserpod.io/ . Currently it supports Node, but we plan to add Python, Ruby, git, and more. You can see it in action in this demo: https://vitedemo.b
6.
▲
Show HN: BrowserPod – In-browser Node.js, Vite, and Svelte with full networking
(vitedemo.browserpod.io)
2 points
by
yuri91
11mo ago
|
0 comments
7.
▲
by
yuri91
1y ago
So using agents forces (or at least nudges) you to use go and tailwind, because they are simple enough (and abundant in the training data) for the AI to use correctly. Does this mean that eventually in a world where we all use this stuff, n
8.
▲
by
yuri91
1y ago
On the Web, you can do that today. This is what https://webvm.io does for example. It jit-compiles Wasm modules at runtime from the original X86.
9.
▲
by
yuri91
1y ago
For reference, when loading https://browsercraft.cheerpj.com for the first time (up to loading a world), my browser downloaded ~32MB. The second time almost nothing.
10.
▲
by
yuri91
2y ago
Looking forward to progress on the memory control proposal(s). Another reason to want more than 4GB of memory is to have more address space, assuming that you have the ability to map it. With that capability Wasm64 could be useful also for
11.
▲
by
yuri91
2y ago
it does if you log in with Tailscale (networking tab in the side bar). The terminal-based https://webvm.io has it pre-installed but the graphical demo running Alpine does not. Luckily, the package manager also works so you can i
12.
▲
by
yuri91
2y ago
It is a bit unfair to Wasmer, because it incur in the (presumed) overhead of `wasmer run ...`, but I could not figure out if the actual clang binary is directly available after it is downloaded the first time.
13.
▲
by
yuri91
2y ago
very unscientific benchmark of `clang hello.c`, after a few runs to make sure the code is downloaded/cached: jslinux: 4.7s wasmer: 1.3s webvm: 1.2s
14.
▲
by
yuri91
2y ago
It's now possible to run Java Web Start applications fully in the browser without any plugins: https://cheerpj.com/cheerpj-jnlp-runner/ It's based on CheerpJ, a JVM that runs in the browser (using JS and Wasm
15.
▲
Adding AddressSanitizer support to the Cheerp WebAssembly compiler
(labs.leaningtech.com)
1 points
by
yuri91
3y ago
|
0 comments
16.
▲
by
yuri91
3y ago
Could you elaborate on how you solved the issue? A link to the relevant code would be nice.
17.
▲
by
yuri91
3y ago
Actually, it was in wasi-libc: https://github.com/WebAssembly/wasi-libc/blob/main/libc-bott...
18.
▲
by
yuri91
3y ago
I don't necessarily disagree, but implementing these things in your custom runtime is easy. I am more interested in how they achieved them in the more constrained browser environment.
19.
▲
by
yuri91
3y ago
I am curious about the browser compatibility layer. Does it support networking? (And if so, is it using a proxy to connect to the internet or is it using a virtualized network layer that stays in the browser?) How is fork implemented? (Asyn
20.
▲
by
yuri91
3y ago
This is exactly what we do in Webvm: https://leaningtech.com/webvm-virtual-machine-with-networkin...
21.
▲
by
yuri91
3y ago
I agree. I implemented a subset of WASI, and the best resource was an autogenerated C header with function signatures and very terse comments, buried in the WASI SDK repo.
22.
▲
by
yuri91
3y ago
Yeah I mean, I wouldn't trust the accuracy of its answer. But I find it funny that it agrees that OpenAI should comply.
23.
▲
by
yuri91
3y ago
I asked ChatGPT what it thinks about this ruling: As an AI language model, I do not collect personal data directly as I do not have access to user information. However, I understand that OpenAI, the company that developed and manages the pl
24.
▲
by
yuri91
3y ago
There you go: https://chrome.google.com/webstore/detail/cheerpj-applet-run...
25.
▲
by
yuri91
4y ago
Indeed, as I said it can be a downside. What we usually suggest is to compile most of the application to Wasm (which is also the default), and move the parts that most interact with the outside world to JS. This can actually result in a spe
26.
▲
by
yuri91
4y ago
Disclaimer: I work on Cheerp. We do include the C (Musl) and C++ (Clang's libcxx) standard libraries. And we do have some custom LLVM passes to improve code size and performance (See for example [1] and [2]). But the main selling point
27.
▲
by
yuri91
4y ago
That is also possible: https://docs.leaningtech.com/cheerpj/Getting-Started See "Converting an applet"
28.
▲
by
yuri91
4y ago
Here you go: https://chrome.google.com/webstore/detail/cheerpj-applet-run... CheerpJ does exactly that: it ships a full JVM implementation (including Swing/AWT, Threads, ...) that runs in JS/Wasm inside
29.
▲
by
yuri91
4y ago
By "Wasm JIT API in JavaScript" I mean a native way for the browser to support the JIT use-case. Generating entire modules works, but it has a number of issues. For example, you need to carefully decide how big your modules are go
30.
▲
by
yuri91
4y ago
This is a nice overview on how to achieve just-in-time compilation in Wasm, and the demo is pretty cool. Good work! We use similar techniques to power Webvm[1], an X86 Virtual Machine that runs linux programs in the browser. A proper Wasm J
More ›