TinyGo

Languages and libraries

compiler

SHOW HN2018

177points
22comments
#213of 2,155 in 2018
Top 10%of 2018 by points

How HN took it

LovedMost comments that take a side are positive

6 positive, 5 neutral or asking, 0 mixed, 0 critical, out of 11 comments about the project. Thread score +0.29.

Idea: 3 for, 0 againstPerformance: 1 for, 0 againstExecution: 1 for, 0 againstDocs: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful approach for small devices, more immediately useful than WASM compiler idea

    From 1 comment
    • I suppose it's not strange to see WASM come up -- last weekend I was considering doing something even weirder: writing a WASM to Thumb2 AoT compiler so I could leverage Go's…
      jsolson on HN

Objections

  • Go's standard library and runtime type info make binaries large for constrained devices

    From 2 comments
    • Neat. I've always considered Go, with its (relatively) simple design and significant quantity of decent libraries to be very retargetable (I'm toying with targeting the JVM now).…
      kodablah on HN
    • Yeah the heavyweight standard library is a big problem. I'm trying to solve it (in part) with smart analysis that tries much harder to remove dead code and dead global data.…
      aykevl on HN
  • Garbage collection will be difficult on microcontrollers

    From 1 comment
    • Hi, I'm the author of the compiler. All backends supported by LLVM should be fairly easily supported by TinyGo. In fact, I've had the blinky example running on an Arduino a while…
      aykevl on HN
  • Harvard-style architectures with separate code and data address spaces are an obstacle

    From 1 comment
    • Hi, I'm the author of the compiler. All backends supported by LLVM should be fairly easily supported by TinyGo. In fact, I've had the blinky example running on an Arduino a while…
      aykevl on HN

Requests

  • Add a LICENSE file

    From 1 comment
    • Honestly for what I'm doing what you have here is a pretty reasonable start. I'm comfortable writing (and calling into) C where the Go bits aren't in place yet, and I'm a lot…
      jsolson on HN

Questions

  • What level of microcontroller is targeted, given Go requires at least 32-bit?

    From 1 comment
    • Didn't find it in the readme: does anyone know what general "level" of microcontrollers are the project author(s) hoping to target? I suppose that because of the Go spec already,…
      akavel on HN

Alternatives named

  • TinyGo-gccgo (abandoned gccgo-based attempt by maker)

    From 1 comment
    • That's pretty cool! If you want something now, I've also written and abandoned this: https://github.com/aykevl/tinygo-gccgo It actually worked fairly well, but the code was way…
      aykevl on HN
  • Rust WASM support

    From 1 comment
    • Yeah, just wait until you see multiple megabytes of WASM instructions for tiny progs or the realize the team does not care about non-web targets. You're much better off…
      kodablah on HN
  • Astrobe Oberon

    From 1 comment
    • Nice project! With enough love it might follow Oberon's footsteps. http://www.astrobe.com
      pjmlp on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/17787180)