Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdubroy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
pdubroy
6mo ago
From https://ohmjs.org — Here are some awesome things people have built using Ohm: - Shopify's theme-tools ( https://github.com/Shopify/theme-tools/ ), used in their online code editor and the offic
2.
▲
by
pdubroy
8mo ago
Shameless plug: if you're interested in learning WebAssembly — like really learning the bytecode format and how it works — you might like our book, WebAssembly from the Ground Up: https://wasmgroundup.com . It starts with
3.
▲
by
pdubroy
9mo ago
I know there have been solutions in the Java world for >20 years, though I can't comment on well they work in practice. From a quick search, _An Implementation of Scoped Memory for Real-Time Java_ ( https://people.csail.mi
4.
▲
Amp, Inc. – Amp is spinning out of Sourcegraph
(ampcode.com)
90 points
by
pdubroy
10mo ago
|
37 comments
5.
▲
Locking in WebKit (2016)
(webkit.org)
2 points
by
pdubroy
10mo ago
|
1 comments
6.
▲
by
pdubroy
10mo ago
Awesome! You're exactly the kind of person we were thinking of when we wrote the book…experienced programmers who are interested in understanding things at a lower level. Let us know how it goes! You can find us in the book Discord, or
7.
▲
by
pdubroy
10mo ago
Edit: changed slightly to provide a more useful answer. No, it doesn't — not this version of the book at least. We only cover WebAssembly 1.0. That said, as my co-author says below, there's really not much to tail calls. Once yo
8.
▲
by
pdubroy
10mo ago
I agree, it really is quite approachable.
9.
▲
by
pdubroy
10mo ago
Ah, good catch! I see them in one of the screenshots. Those are just inlay hints, they're not in the source code. (The editor is https://zed.dev )
10.
▲
by
pdubroy
10mo ago
Thank you! I would 100% agree that the spec is quite readable. At the top of our Minimum Viable Compiler chapter, we say: > The binary module format is defined in the WebAssembly Core Specification. You’ll notice that we back up many o
11.
▲
by
pdubroy
10mo ago
Yes, it can all be found here: https://github.com/wasmgroundup/code Over the course of the book, we also build up a small library for creating Wasm modules and emitting bytecode; that's available as an NPM package
12.
▲
by
pdubroy
10mo ago
Hi HN! Co-author of the book here, happy to answer any questions you have. Beyond the sample chapters which are linked from the landing page, we also have a couple blog posts which may be interesting: - A WebAssembly Interpreter: https:&#x
13.
▲
A WebAssembly Interpreter
(wasmgroundup.com)
3 points
by
pdubroy
10mo ago
|
1 comments
14.
▲
by
pdubroy
10mo ago
It's explained in the post: > Then, my plan was to construct a ProseMirror transaction that would turn the old tree into the new one. To do that, it’s helpful to know which nodes appeared in the old document, but not the new one. So
15.
▲
by
pdubroy
10mo ago
I think you're skipping over some important distinctions here. In a mark & sweep GC, the mark phase traverses the object graph, visiting only live objects. You need to recursively visit any objects that are not already marked — thi
16.
▲
by
pdubroy
10mo ago
(OP here) It’s possible, but I doubt it. Perhaps the way I wrote it makes it sound like I was thinking about it as a GC problem from the beginning, but I wasn’t. It wasn’t until I started seeing it as as being like GC that (a) I realized th
17.
▲
by
pdubroy
10mo ago
Hi HN! I'm the main author of the Ohm Editor, and co-creator and primary maintainer of Ohm itself. Ohm is a user-friendly parsing toolkit for JavaScript/TypeScript. You can find out more at https://ohmjs.org . Anyone in
18.
▲
Who needs Graphviz when you can build it yourself?
(spidermonkey.dev)
524 points
by
pdubroy
11mo ago
|
108 comments
19.
▲
Haydex: From Zero to 178.6B rows a second in 30 days
(axiom.co)
51 points
by
pdubroy
1y ago
|
20 comments
20.
▲
by
pdubroy
1y ago
Folks here might be interested in WebAssembly from the Ground Up ( https://wasmgroundup.com ) — an online book to learn Wasm by building a simple compiler in JavaScript. (Disclaimer: I'm one of the authors.) So far the book o
21.
▲
The origins of digital paint and draw software
(kristenroos.ca)
3 points
by
pdubroy
1y ago
|
0 comments
22.
▲
The Influence of Self
(dubroy.com)
2 points
by
pdubroy
1y ago
|
0 comments
23.
▲
What Works (and Doesn't) Selling Formal Methods
(galois.com)
2 points
by
pdubroy
1y ago
|
0 comments
24.
▲
Computational Public Space [video]
(youtube.com)
3 points
by
pdubroy
1y ago
|
0 comments
25.
▲
C is not a low-level language (2018)
(queue.acm.org)
15 points
by
pdubroy
1y ago
|
14 comments
26.
▲
by
pdubroy
1y ago
Ah, I see! Yeah that's significantly trickier. re: "dynamically replace parts of the implementation as source code evolves" — there is a technique for this, I have a short write-up on it here: https://github.com&#x
27.
▲
by
pdubroy
1y ago
I'm not sure I totally understand what you mean by "in-process" here. But you could have some JavaScript that compiles some code in your custom language to WebAssembly and then execute it, and you can use the browser dev tool
28.
▲
by
pdubroy
1y ago
The WebAssembly spec is quite approachable, but for anyone who is interested in learning Wasm and doesn't want to read the spec — WebAssembly from the Ground Up ( https://wasmgroundup.com/ ) an online book to learn Was
29.
▲
Green Tea: an experimental, memory-aware garbage collector for Go
(github.com)
13 points
by
pdubroy
1y ago
|
0 comments
30.
▲
Show HN: WebAssembly from the Ground Up – learn WASM by building a compiler
(wasmgroundup.com)
7 points
by
pdubroy
2y ago
|
1 comments
More ›