News for hackers. Stuff that matters.
Re:UEFI Bindings for JavaScript by tatskaari on Monday February 09, 2026 @11:22AM (#46947002)
You don't need a JS bootloader to write an OS in JS. The bootloader just drops the machine into some memory address for it to start executing your OS init script. that bit could be a Javascript interpreter. You can't do much with the architecture in Javascript though, because it doesn't allow you to map memory directly to your types (unless there's some ungodly nonesense I'm not aware of) so you'll have to drop into C/asm to e.g. interact with the ports/registers/tables to set up userspace.
Re:UEFI Bindings for JavaScript by Zambyte on Monday February 09, 2026 @11:57AM (#46947631)
An OS doesn't need to have a user space :)
Re:UEFI Bindings for JavaScript by monocasa on Monday February 09, 2026 @03:10PM (#46950476)
You should be able to write a meta circular VM in JavaScript that targets bare metal without any C or asm.