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

> CGO_ENABLED=1

It's not Go then


To be fair, the first line in the README.md says

    go-msquic is a Go wrapper for the Microsoft's QUIC library
So it's only the HN headline that is (technically) wrong.


And tbf it says for Go, not in Go


Never claimed the library to be full Go implementation, it is a library for Go. If you want a pure Go implementation, it already exists: quic-go.

It is mentioned & advised to use that one in the README. However if you need more perf, you might want to give a try at go-msquic.


bracket pattern

    def bracket[A, T](ctor: () -> A, next: (a: A) -> T): T =
        val a = ctor();
        try { return next(a) } finally { a.dispose() }


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

Search: