Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
healeycodes
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
What Makes LLM Tokenization Slow?
(healeycodes.com)
1 points
by
healeycodes
15d ago
|
0 comments
2.
▲
by
healeycodes
2mo ago
Cool! I kinda feel like these should be built-in. But this looks useful for closing the DX gap here.
3.
▲
by
healeycodes
2mo ago
Reasonably? Yes. Could probably be made to work well. $ bat 2.ts ─────────────── 1 │ function one() { 2 │ let x = 1; 3 │ defer (() => { throw new Error("thrown from one!"); })() 4 │ x = 2; 5
4.
▲
by
healeycodes
2mo ago
Author here. I find try/finally verbose and vulnerable to mistakes. For me, it adds "function noise".
5.
▲
Adding Go's Defer to the TypeScript Compiler
(healeycodes.com)
21 points
by
healeycodes
2mo ago
|
29 comments
6.
▲
by
healeycodes
3mo ago
You're right that my post's algo does not handle this case (it's more of a toy to explain the basic cases). > When I read Allan and Kennedy my impression was that vectorising arbitrary imperative code is a much harder prob
7.
▲
A Tiny Compiler for Data-Parallel Kernels
(healeycodes.com)
52 points
by
healeycodes
3mo ago
|
5 comments
8.
▲
by
healeycodes
6mo ago
Editing the current line works because I brought in https://man7.org/linux/man-pages/man3/readline.3.html towards the end so I could support editing, tab completion, and history. IIRC readline uses a `char *`
9.
▲
by
healeycodes
6mo ago
Author here, and yeah, I agree. I skipped writing a parser altogether and just split on whitespace and `|` so that I could get to the interesting bits. For side-projects, I have to ask myself if I'm writing a parser, or if I'm bui
10.
▲
Building a Shell
(healeycodes.com)
13 points
by
healeycodes
6mo ago
|
1 comments
11.
▲
A Fair, Cancelable Semaphore in Go
(healeycodes.com)
2 points
by
healeycodes
9mo ago
|
0 comments
12.
▲
Solving NYT's Pips Puzzle
(healeycodes.com)
2 points
by
healeycodes
11mo ago
|
0 comments
13.
▲
Compiling a Forth
(healeycodes.com)
70 points
by
healeycodes
1y ago
|
9 comments
14.
▲
Icepath: A 2D Programming Language
(healeycodes.com)
3 points
by
healeycodes
1y ago
|
0 comments
15.
▲
by
healeycodes
1y ago
Author here, one of the fastest improvements I've seen is @cloud11665's idea here: https://x.com/cloud11665/status/1955958965046595699
16.
▲
Counting Words at SIMD Speed
(healeycodes.com)
58 points
by
healeycodes
1y ago
|
15 comments
17.
▲
Optimizing My Disk Usage Program
(healeycodes.com)
19 points
by
healeycodes
1y ago
|
0 comments
18.
▲
Maybe the Fastest Disk Usage Program on macOS
(healeycodes.com)
3 points
by
healeycodes
1y ago
|
0 comments
19.
▲
Filesystem Backed by an LLM
(healeycodes.com)
6 points
by
healeycodes
1y ago
|
0 comments
20.
▲
Solving Queuedle
(healeycodes.com)
3 points
by
healeycodes
1y ago
|
0 comments
21.
▲
Show HN: Queuedle – Daily word-sliding puzzle inspired by Wordle and Scrabble
(queuedle.com)
1 points
by
healeycodes
1y ago
|
0 comments
22.
▲
Visualizing Chess Bitboards
(healeycodes.com)
3 points
by
healeycodes
1y ago
|
1 comments
23.
▲
Installing NPM Packages Quickly
(healeycodes.com)
1 points
by
healeycodes
1y ago
|
0 comments
24.
▲
Building Game Prototypes with LÖVE
(healeycodes.com)
206 points
by
healeycodes
2y ago
|
79 comments
25.
▲
Compiling Lisp to Bytecode and Running It
(healeycodes.com)
4 points
by
healeycodes
2y ago
|
0 comments
26.
▲
Generating Mazes
(healeycodes.com)
2 points
by
healeycodes
2y ago
|
0 comments
27.
▲
by
healeycodes
2y ago
You can annotate the code blocks in the README to get generic lisp syntax highlighting. ```lisp (+ 1 2) ```
28.
▲
by
healeycodes
2y ago
Yes, it works on any process that makes a SYS_getrandom call.
29.
▲
Making Python Less Random
(healeycodes.com)
87 points
by
healeycodes
2y ago
|
43 comments
30.
▲
2D Multiplayer from Scratch
(healeycodes.com)
4 points
by
healeycodes
2y ago
|
0 comments
More ›