I had a muck around with go2 generics with my toy-ish futures package
https://github.com/anacrolix/futures. The go1 implementation is in master,
and a working go2 implementation in the go2 branch (using channels of
different types instead of the attempt that follows). The package provides
one
Generated C code can be used in Go programs via Cgo: https://NN-512.com
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
Matt’s formatting example suggests interval arithmetic for time. That is a
nice idea.
On Sat, Nov 28, 2020 at 2:22 AM 'Axel Wagner' via golang-nuts <
golang-nuts@googlegroups.com> wrote:
> It would also be possible to implement `json.Marshaler` to use a different
> time format. In particular, it
On Sunday, 29 November 2020 at 21:09:24 UTC Jeroen N. Witmond wrote:
> go run `locate generate_cert.go` --host 127.0.0.1 --rsa-bits=2048 --ca
>
>
That will only work if there's exactly one instance of generate_cert.go on
your filesystem.
A better command is:
go run "$(go env
Greetings,
The documentation https://golang.org/pkg/net/http/#example_ListenAndServeTLS
states
(in the example's comment) "One can use generate_cert.go in crypto/tls to
generate cert.pem and key.pem."
In trying to find out how to do this I came across (closed)
On Saturday, November 28, 2020 at 3:59:21 PM UTC-5 Constantine Vassilev
wrote:
> I generated it from the source. I that the version I need?
>
> go version devel +4ce0a7cea6 Sat Nov 28 18:42:44 2020 + darwin/amd64
>
For the moment. The tip is constantly updated for development and bug
I see, thanks!
it turns out I need a modern C.
TinyGo, Vlang are my list.
Rust is too heavy for embedded system, and difficult for whole team to
master.
maybe let Vlang do the real-time threads and Go do the non real-time
threads,
link them together into one process/uni-kernel is good
You should review Java RTS for a similar design and it’s pros and cons.
It is definitely doable - but you end up writing C code as Java - or in this
case Go.
> On Nov 29, 2020, at 1:45 AM, Fino wrote:
>
>
> Although Go is a GC language,
> is it any chance to use Go in Preempt_RT Linux