Hacker News new | past | comments | ask | show | jobs | submit | ralls_ebfe's comments login

There is a framework for OCaml for this: https://mirage.io/ So if you are interested in learning OCaml and want a unikernel, this would be a possible path to take.


OCaml is a good language but perhaps unikernel does not mean what I thought it did:

> fully-standalone, specialised unikernel that runs under a Xen or KVM hypervisor.

Or maybe xen / kvm are no longer called operating systems?

I'm interested in having my code be responsible for thread scheduling and page tables - no OS layer to syscall into - but am not as keen on DIYing the device drivers to get it talking to the rest of the world.


MirageOS unikernels run directly on Xen, e.g. http://roscidus.com/blog/blog/2016/01/01/a-unikernel-firewal...

> I replace the [QubesOS] Linux firewall VM with a MirageOS unikernel. The resulting VM uses safe (bounds-checked, type-checked) OCaml code to process network traffic, uses less than a tenth of the memory of the default FirewallVM, boots several times faster, and should be much simpler to audit or extend.

NanoVMs has OSS tools for golang unikernels on multiple hypervisors and cloud platforms, https://nanovms.com/dev/tutorials/running-go-unikernels


Nanos runs not just go but pretty much any language you want to throw at it:

https://github.com/nanovms/ops-examples .


> I'm interested in having my code be responsible for thread scheduling and page tables

But MirageOS does exactly that, last I looked. As does RustyHermit.


> Or maybe xen / kvm are no longer called operating systems?

> I'm interested in having my code be responsible for thread scheduling and page tables - no OS layer to syscall into [...]

You might be confusing Xen and KVM here? Xen and KVM are rather different in this regard.

KVM runs on a full Linux kernel (as far as I know). But running your application as unikernels on top of Xen is more comparable to the old Exokernel concept.


That's an interesting development, thank you.


I like using zeal-at-point in emacs, it is quite useful. https://github.com/jinzhu/zeal-at-point


Thanks, I thought "maybe they implemented accessibility by now", but it seems to be a huge task.


You can use rust on an attiny85? What a time to be alive. I wonder where mine are.


I love your search engine, particular the 'random' feature.


I just realized: you did not actually hide some mysterious, physical button somewhere 1000m from your home.


Go ahead, i'd like to see the result.


Only for people, who neglected their mythology studies.

Ask veit ek standa, heitir Yggdrasill, hár baðmr, ausinn hvíta auri; þaðan koma dǫggvar, þærs í dala falla, stendr æ yfir, grænn, Urðar brunni.


I create cronjobs which run ratt regularly and save the xml to a file in a directory to be served as file by a web server. After that i can just subscribe to it with my feedreader. Maybe i will try to use it as a building block for a webservice, but for now i am still figuring out how to write good config files.


That's great! And if you have a good config file, please submit them here https://lists.sr.ht/~ghost08/ratt


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: