Oliver Medhurst
@goose.icu
π€ 2167
π₯ 528
π 143
compiling JavaScript:
https://porffor.dev
TC39 & WinterTC invited expert 20. they/them π
My ahead-of-time JS engine Porffor eliminates JS cold starts on AWS Lambda. 12x faster and 2x cheaper than managed Node. Still very early but these results should speak for themselves :)
goose.icu/lambda/
about 1 month ago
6
89
12
If you have AWS Lambdas with a small amount of (Node)JS please DM me :)
about 2 months ago
2
11
0
Porffor now passes over 60% of Test262, thanks to a new custom regex engine!
3 months ago
3
77
6
Porffor now has its own fuzzer which abuses the compiler with randomly generated JS code in an attempt to find bugs which would otherwise not be found to help stability!
3 months ago
4
52
4
reposted by
Oliver Medhurst
Rob Palmer
4 months ago
ECMAScript excitement π Congrats to
@goose.icu
on advancing the Math.clamp proposal to Stage 2 at TC39 today π Math.clamp(number, min, max) constrains the number to be between the stated range π
github.com/tc39/proposa...
loading . . .
GitHub - tc39/proposal-math-clamp: A TC39 proposal to add Math.clamp
A TC39 proposal to add Math.clamp. Contribute to tc39/proposal-math-clamp development by creating an account on GitHub.
https://github.com/tc39/proposal-math-clamp
2
50
3
Porffor now passes over 59% of Test262!
4 months ago
1
57
4
Porffor's Wasm is now faster than *native* Node JITless at richards.js, an old V8 benchmark! new improvement is thanks to a new compiler feature and a minor object rewrite I'll post about this weekend. I still have ideas which can make this hopefully almost 2x faster this month!
5 months ago
1
52
7
introducing porffor profile, an easy to use but detailed profiler, with shareable links!
5 months ago
2
31
2
reposted by
Oliver Medhurst
James
6 months ago
just had a great catch up with
@goose.icu
on porffor progress. keep an eye on this project π there's so many perf gains to be had from it once it is stable
loading . . .
GitHub - CanadaHonk/porffor: A from-scratch experimental AOT JS engine, written in JS
A from-scratch experimental AOT JS engine, written in JS - CanadaHonk/porffor
https://github.com/CanadaHonk/porffor
0
23
1
Porffor now supports BigInt typed arrays: just this (plus some related changes) boosts Test262 passing by over 0.7%!
6 months ago
0
48
2
Porffor now passes over 57% of Test262! This latest bump was thanks to a refactor makes functions and methods distinct to be more conformant for this, construction, etc
7 months ago
0
41
1
new js engine (quickjs fork) just dropped:
github.com/lynx-family/...
loading . . .
GitHub - lynx-family/primjs: JavaScript Engine Optimized for Lynx
JavaScript Engine Optimized for Lynx. Contribute to lynx-family/primjs development by creating an account on GitHub.
https://github.com/lynx-family/primjs
7 months ago
5
35
7
american tv makes me laugh every time
7 months ago
1
2
0
reposted by
Oliver Medhurst
Tom Ballinger
7 months ago
I love
@goose.icu
's Porffor Test262 compatibility plot, I'd love to make one for
@convex.dev
's JS Runtime (so for runtime features, not languages features)
1
13
1
travel friends I got SSSSd for the first time (hello Seattle)
7 months ago
2
1
0
Porffor US tour π - Seattle Feb 17-23 (TC39 plenary) - SF Feb 24-Mar 12 - Richmond (VA) Mar 13-16 (
@rvajavascript.bsky.social
)
8 months ago
0
18
1
reposted by
Oliver Medhurst
HotBloodedHeroine
8 months ago
this gave me an idea... decorating typescript functions to just in time compile and execute them in web assembly with Porffor. it works!!
add a skeleton here at some point
2
35
7
any recommendations for places to long-stay (~2 weeks) in SF?
8 months ago
3
3
1
I'll be here and in Seattle that week for TC39! :)
add a skeleton here at some point
8 months ago
0
6
0
Porffor compiling to Wasm is now faster than QuickJS interpreting natively for an older V8 benchmark!
8 months ago
2
42
6
reposted by
Oliver Medhurst
RVA Javascript Conf - 2025
8 months ago
RVA JS Conf confirmed speakers & presentations. Super excited to announce that Oliver Medhurst is coming across the pond from the UK for this talk - Compiling JavaScript ahead-of-time with Porffor from
@goose.icu
, Founder at Porffor.
1
7
2
I rewrote Porffor's object implementation completely; it is now much faster and makes Wasm binaries 2-5x smaller than before when using objects! Porffor's current worst benchmark gets 30% faster with >4x smaller Wasm; almost on par with QuickJS with only ~1 month of work!
goose.icu/porffor-obje...
loading . . .
Porffor: Objects v2
Porffor's rewritten object implementation is now much faster and produces 2-5x smaller Wasm binaries when using objects!
https://goose.icu/porffor-objects-v2/
8 months ago
3
65
6
reposted by
Oliver Medhurst
Jason Williams
8 months ago
Iβve been helping (alongside others) to Champion Temporal for around 6 years now, itβs great to see it approaching the finish line. The responses have been positive. Great work
@joshcena.com
and
@meyerweb.com
on the MDN documentation, momentous effort. Also props to the main man
@ptomato.name
1
42
9
optimization made conformance go up a bunch while making slightly smaller+faster Wasm ππ
8 months ago
2
41
0
reposted by
Oliver Medhurst
Web Engines Hackfest
8 months ago
π Save the dates! The Web Engines Hackfest 2025 will take place June 2-4 in A CoruΓ±a, Galicia (Spain). Check more details at:
webengineshackfest.org
loading . . .
2025 Web Engines Hackfest
Web Platform community event for people working on the different engines (Chromium/Blink/V8, Safari/WebKit/JSC, Firefox/Gecko/SpiderMonkey, Servo, Ladybird), on the testing side (WPT, Test262), or on ...
https://webengineshackfest.org/
3
23
14
Porffor's goals for January: A more compliant and stable compiler, while starting foundations for large long-term optimizations.
goose.icu/porffor-goal...
9 months ago
1
54
7
reposted by
Oliver Medhurst
Justin Fagnani
9 months ago
Playing with an Arduino with my kiddo, and I'm having to brush off my limited decades-old C knowledge π¬ I wish
@goose.icu
's Porffor was ready and somehow usable for it!
6
47
1
is saying "semver is not good for everything" a hot take?
10 months ago
8
25
0
reposted by
Oliver Medhurst
NicolΓ² Ribaudo
10 months ago
Ecma just approved the 1st edition of the new "Source map format" standard, ECMA-426! π
tc39.es/ecma426/2024/
loading . . .
Source map format specification
https://tc39.es/ecma426/2024/
2
161
52
Now 56%!
add a skeleton here at some point
10 months ago
0
42
1
Porffor now passes over 55% of Test262, jumping by over 4% thanks to fixing a bug which broke class expressions π
10 months ago
0
49
1
if someone does `runtime
example.com/foo.js%60
should it ask the user before downloading/running/using it (via stdin)?
10 months ago
2
2
0
down to 25 malformed Wasm Test262 errors from 146 a week ago, stability++ π€
10 months ago
1
42
0
spent all day doing an internal rewrite mostly for maintability/DX and compile time, but this also halved malformed Wasm output errors for Test262 (145 -> 67) gaining a free almost 0.1%!
github.com/CanadaHonk/p...
loading . . .
codegen: nuke leftover via generate always returning value Β· CanadaHonk/porffor@fb39c27
halves malformed Wasm test262 errors while making codegen simpler and faster! also impl getNodeType for a few more types test262: 51.05% (+0.08) | π§ͺ 48381 | π€ 24697 (+37) | β 6949 (+29) | π 15269...
https://github.com/CanadaHonk/porffor/commit/fb39c27bf3bec8e99a941ead332c0f599d7f27cc
10 months ago
1
17
1
Porffor compiler line count over time; the distinction between languages is very useful as JS = compiler, TS = built-ins
10 months ago
1
16
0
Informally beginning a bug bounty program for Porffor: offering $100 to anyone who can *run arbitrary code/commands via Porffor only compiling* (`porf wasm foo.js foo.wasm`). 90% sure this is impossible so putting own money on the line ;) (if people are interested in why I think so I can say more)
10 months ago
3
28
3
Checking if a value is "fully" truthy (like !!foo) is now ~2x as fast as before in Porffor
10 months ago
3
23
0
close to making my own Wasm REPL/playground I can just give instructions to and get an output, because this doesn't exist yet? (or at least a fully supported/compliant version)
10 months ago
0
7
0
what is the most awkward/hard to answer tech-field question people ask you?
10 months ago
4
4
0
wanting to do an office hours type of livestream but ideally it would be me and someone else yapping not just me lol
10 months ago
1
9
0
bluesky still popping off
10 months ago
3
20
0
new Porffor website out now!
porffor.dev
10 months ago
16
282
42
logo font recommendations?
10 months ago
5
2
0
new blog post going into depth on this problem:
goose.icu/porffor-this/
add a skeleton here at some point
10 months ago
0
17
4
wanting to do a "porfconf" at some point but also don't want to be the only speaker lol
10 months ago
5
15
0
the UK is now IRL not for broadcast[1] [1]
en.wikipedia.org/wiki/Not_For...
10 months ago
1
1
0
benchmark in sloppy mode: 690 benchmark in strict mode: 615 lower is better, ran in porffor. soon(tm) there will be little difference as it will automagically optimize what is slowing it down! (something too complicated for one post)
10 months ago
1
7
0
this is fine
10 months ago
1
7
0
Porffor's new timeline
10 months ago
2
57
3
comments in this thread have made me realize even in 2024 no one knows about eating disorders
add a skeleton here at some point
10 months ago
1
12
0
Load more
feeds!
log in