Re:Show HN: Ant – A JavaScript Runtime and Ecosystem
by pikuseru on Saturday July 11, 2026 @05:22PM
(#48876002)
The thing that caught my eye immediately was the sandboxing. I have no idea why Node and npm don’t have sandboxing by default. It would greatly help with some of these worms and supply chain attacks.
[ Parent
| on HN ]
Re:Show HN: Ant – A JavaScript Runtime and Ecosystem
by ptx on Saturday July 11, 2026 @07:16PM
(#48876751)
The "VM-isolated sandbox" is apparently not referring to the JavaScript VM but to a hypervisor, according to the text a bit further down on the page. I wouldn't expect that to be particularly fast or efficient, especially not if you're already running in a VM and have to use nested virtualization (if it's even available).
Re:Show HN: Ant – A JavaScript Runtime and Ecosystem
by theMackabu on Saturday July 11, 2026 @07:19PM
(#48876771)
its pretty fast tbh, though third-party benches would be great to have!
Re:Show HN: Ant – A JavaScript Runtime and Ecosystem
by ptx on Saturday July 11, 2026 @07:32PM
(#48876847)
Is it essentially implementing a paravirtualized OS that runs the JS runtime? Presumably you have to allocate the memory for the VM up front, or how does that work?
Re:Show HN: Ant – A JavaScript Runtime and Ecosystem
by theMackabu on Saturday July 11, 2026 @07:35PM
(#48876866)
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
Re:Show HN: Ant – A JavaScript Runtime and Ecosystem
by cognitiveinline on Sunday July 12, 2026 @08:10AM
(#48880520)
Does it work on windows?
Re:Show HN: Ant – A JavaScript Runtime and Ecosystem
by theMackabu on Sunday July 12, 2026 @12:36PM
(#48882412)
no sandbox on windows... yet!
Re:Show HN: Ant – A JavaScript Runtime and Ecosystem
by _shantaram on Saturday July 11, 2026 @07:31PM
(#48876840)
Deno has that! Come join us :P no affiliation, just a happy user.