HackerTrans
TopNewTrendsCommentsPastAskShowJobs

theMackabu

111 karmajoined 3 yıl önce

Submissions

Show HN: Ant – A JavaScript runtime and ecosystem

antjs.org
253 points·by theMackabu·12 saat önce·108 comments

Show HN: Registry for Ant and Everyone Else

ants.land
1 points·by theMackabu·25 gün önce·0 comments

Show HN: Ant – A from-scratch JavaScript runtime in 9 MB

github.com
8 points·by theMackabu·2 ay önce·4 comments

Working Was the Beginning

themackabu.dev
3 points·by theMackabu·2 ay önce·0 comments

Building a JavaScript runtime in one month

themackabu.dev
4 points·by theMackabu·6 ay önce·4 comments

comments

theMackabu
·2 saat önce·discuss
> How is it so much smaller than V8 while also apparently including a package manager, a web server, a TypeScript compiler and a hypervisor?

Much less complex tiers of jit, no unicode ICU, and no startup js snapshot
theMackabu
·5 saat önce·discuss
would be cool to see!
theMackabu
·9 saat önce·discuss
on linux its kvm, on darwin its hypervisor.framework, the memory is not upfront, by default 256mb is lazy allocated, and ~35mb are used by both ant + the vm. the kernel is https://nanos.org with patches to get ant+networking running smoothly
theMackabu
·9 saat önce·discuss
its pretty fast tbh, though third-party benches would be great to have!
theMackabu
·9 saat önce·discuss
this is coming soon!
theMackabu
·9 saat önce·discuss
this page is literally a inside joke, theres a reason /jobs doesn't work (im not hiring)
theMackabu
·11 saat önce·discuss
I dont know a single soul who uses the Anthropic `ant` cli....
theMackabu
·11 saat önce·discuss
yes! I will be making a roadmap like a comment here suggested, should help
theMackabu
·11 saat önce·discuss
this was flagging code from all the way back in dec of 2025, back when this project was just some idea and not what it is today.

around feb thats when basically deleted the existing codebase and designed a much more reliable system from the ground up.

I knew the existing code was basically pure slop, and it was not the biggest issue then, now nothing goes past me unreviewed and untested

> To the author: I absolutely love what you're doing overall. Keep going! Just be careful, folks.

Thank you!
theMackabu
·11 saat önce·discuss
> interesting, is there any reason behind DNS/(ISP?) providers blocking .land domains?

tbh have not seen any reason behind it, just saw my ants.land get blocked a office firewall once while demoing
theMackabu
·11 saat önce·discuss
many, the engine has basically gone through a full rewrite since feb, that was still mostly interpt and missing many jit ops.

nightly will include benchmarks soon as well
theMackabu
·11 saat önce·discuss
thats very weird, its hosted on cloudflare workers atm. might be blocked by your isp? ive seen that happen to .land
theMackabu
·11 saat önce·discuss
unknown, have not tried. but let me know if it does work
theMackabu
·12 saat önce·discuss
LATEST RELEASE REQUIRES A STATIC RELEASE HOTFIX!!

https://github.com/theMackabu/ant/actions/runs/29167621329.

im very sorry everyone who tried to install and got a libcares error :(
theMackabu
·12 saat önce·discuss
:D
theMackabu
·12 saat önce·discuss
its ~8mb including the entire runtime and node-compat work. pretty simple to embed anywhere as well
theMackabu
·12 saat önce·discuss
good idea!
theMackabu
·12 saat önce·discuss
just got the thing for you actually! literally just finished a stable version last night, https://www.npmjs.com/package/ant-desktop. WIP still, chromium only renderer backend but webview and other backends coming soon as well. no local ant install needed as libant is bundled, when CI finishes ill have windows/linux builds too
theMackabu
·2 ay önce·discuss
llvm is big/slow to compile and doesnt really fit js dynamic execution well in most cases
theMackabu
·5 ay önce·discuss
Four times actually, got a better reception on other sites though lwk