Boot-to-Guile!
As a contribution to Guile's birthday potluck, Guix has been extended with the infrastructure to build a Boot-to-Guile QEMU disk image.
The image has GRUB to boot Linux-Libre, which in turn runs directly Guile and an init script in Scheme from its initrd. To put it differently, it boots Guile and its device driver environment known as Linux-Libre. :-)
In addition to being fun, it actually has a practical impact. First, Guix now has infrastructure to create bootable GNU/Linux-Libre QEMU images.
Second, using Guile in the initrd proves to be very convenient: all the expressivity and power of Guile and Scheme, without the complexity and code duplication associated with specific tool suites like klibc, Ash, and BusyBox.
Happy birthday Guile 2.0, and happy hacking!
除非另有说明,否则本网站上的博客文章的版权归其各自作者所有,并根据以下条款发布 CC-BY-SA 4.0 许可证和 GNU 自由文档许可证(版本 1.3 或更高版本,没有不变部分,没有封面文字,无封底文字)。