Hacker Newsnew | past | comments | ask | show | jobs | submit | jfadfwddas's commentslogin

Scheme taught me that OOP is the poor man's closure.

    func Backup(saver func(data []byte) error, data []byte) error {
        return saver(data)
    }


I really liked Ceylon. It was competing against Groovy, Kotlin, and Scala which all seemed to come out around the same time.


Or Scheme.


I was curious as well and looks like this abstracts over libxev: https://github.com/lalinsky/zio/blob/main/build.zig#L7


Indeed, it's a translation of the callback-based libxev events to coroutines. I ended up temporarily forking libxev, to add support for vectored I/O and other small fixes, but all those changes will be upstreamed.


Great stuff. I will be using this if/when I go back to zigging :)


Architecture is also different. Thread-per-core (no garbage collector) vs work-stealing with garbage collection cycles.


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

Search: