On Wed, Mar 17, 2021 at 10:47 AM Kevin Chadwick <m8il1i...@gmail.com> wrote:
> My concern (an uneducated concern) is that considering a micro running > currently compatible parts of the stdlib with gc set to none and using > global variables for reliable memory consumption. When I look at the Go language feature page of TinyGo <https://tinygo.org/lang-support/>, I don't think that GC is the only or largest hindrance to using it with normal Go programs. TBQH I'm always surprised that people call it a Go implementation - it certainly uses Go syntax, but it's IMO not even close to complete. > *Might* Generics adoption within the stdlib make more of it unusable > (assuming generics poses a problem, it might not). > No. Generics can be implemented as a purely compile-time feature <https://github.com/golang/proposal/blob/master/design/generics-implementation-stenciling.md> . This in itself is not a game stopper as I believe go is a useful language > without gc or the stdlib. I do think that micros are important enough to be > considered, however. Perhaps not important enough in the footprint of > google services but maybe those that need Generics. > > If I recall correctly. I may have raised it on the tinygo slack and the > response was that nothing looked too problematic from what had been seen. > > In any case, it might be worth the go team understanding what does and > doesn't cause problems for tinygo? > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/58C57DC6-716D-4BD5-B32A-5492417A7302%40gmail.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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAEkBMfGq%2BfSyMzZ%3DOq2g%3DuMY2nr2WuVOt-V7iuUxfPXMPjVVeA%40mail.gmail.com.