HackerTrans
TopNewTrendsCommentsPastAskShowJobs

theMackabu

111 karmajoined 3 năm trước

Submissions

Show HN: Ant – Hệ sinh thái và thời gian chạy JavaScript

antjs.org
260 points·by theMackabu·13 giờ trước·111 comments

Show HN: Registry for Ant and Everyone Else

ants.land
1 points·by theMackabu·25 ngày trước·0 comments

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

github.com
8 points·by theMackabu·2 tháng trước·4 comments

Working Was the Beginning

themackabu.dev
3 points·by theMackabu·2 tháng trước·0 comments

Building a JavaScript runtime in one month

themackabu.dev
4 points·by theMackabu·6 tháng trước·4 comments

comments

theMackabu
·3 giờ trước·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
·6 giờ trước·discuss
would be cool to see!
theMackabu
·9 giờ trước·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
·10 giờ trước·discuss
its pretty fast tbh, though third-party benches would be great to have!
theMackabu
·10 giờ trước·discuss
this is coming soon!
theMackabu
·10 giờ trước·discuss
this page is literally a inside joke, theres a reason /jobs doesn't work (im not hiring)
theMackabu
·11 giờ trước·discuss
I dont know a single soul who uses the Anthropic `ant` cli....
theMackabu
·12 giờ trước·discuss
yes! I will be making a roadmap like a comment here suggested, should help
theMackabu
·12 giờ trước·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
·12 giờ trước·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
·12 giờ trước·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
·12 giờ trước·discuss
thats very weird, its hosted on cloudflare workers atm. might be blocked by your isp? ive seen that happen to .land
theMackabu
·12 giờ trước·discuss
unknown, have not tried. but let me know if it does work
theMackabu
·12 giờ trước·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 giờ trước·discuss
:D
theMackabu
·12 giờ trước·discuss
its ~8mb including the entire runtime and node-compat work. pretty simple to embed anywhere as well
theMackabu
·12 giờ trước·discuss
good idea!
theMackabu
·12 giờ trước·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 tháng trước·discuss
llvm is big/slow to compile and doesnt really fit js dynamic execution well in most cases
theMackabu
·5 tháng trước·discuss
Four times actually, got a better reception on other sites though lwk