News for hackers. Stuff that matters.
Re:The big idea around unikernels by tarjei_huse on Friday December 03, 2021 @03:20AM (#29427806)
I'm wondering if anyone has seen any attempts at creating unikernels that work with major scripting languages like PHP, Python or Ruby.

I know this would seem a bit like a contradiction to the ethos of unikernels, but it would give the benefits of unikernels (i.e. smaller attack surface) to a much larger audience.

Re:The big idea around unikernels by kitd on Friday December 03, 2021 @05:40AM (#29428559)
NanosVM has a concept called Packages [1], ie prebuilt images that package a language runtime or application component eg Redis. It looks like they have packages for various scripting languages.

[1] https://nanovms.gitbook.io/ops/packages

Re:The big idea around unikernels by tjansen on Friday December 03, 2021 @04:05AM (#29428063)
That should be possible if you use a web server like Apache as main application and then link the module that your scripting language requires. Not sure whether NanoVMs already support it though.
Re:The big idea around unikernels by nderjung on Friday December 03, 2021 @04:27AM (#29428190)
Hey, Unikraft has support for running the Python[0] and Ruby[1] runtimes as unikernels. We're about to release PHP too :) Watch this space!

[1]: https://github.com/unikraft/app-python3 [1]: https://github.com/unikraft/app-ruby

Re:The big idea around unikernels by tarjei_huse on Friday December 03, 2021 @05:05AM (#29428371)
Cool!