Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

tinygo support

Aperta
#5,182 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go, wasm

Direzione di ricerca

Start with the GOOS=js GOARCH=wasm tinygo build -o dist/bee_tiny.wasm ./cmd/bee command and the cmd/bee entry point. Check the linked TinyGo issues and dependency pull request first, then identify the compilation-separation work needed for unsupported code; done means Bee builds successfully with TinyGo for the stated target.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

Bee should be compilable with tinygo. tinygo produces much smaller binaries than the Go standard compiler, at the cost of making programs single-threaded. This is OK for environments that expect single-thread anyway, such as web and EFI.

Motivation

Smaller binary size for web/wasm.

Implementation

GOOS=js GOARCH=wasm tinygo build -o dist/bee_tiny.wasm ./cmd/bee

Currently blocked by https://github.com/tinygo-org/tinygo/issues/4186, waiting for https://github.com/tinygo-org/net/pull/39 to be merged and released

Drawbacks

Would require compilation separation logic to avoid unsupported stuff to break compilation for tinygo

Lingua principale
Go
Stelle
1.5k
Fork
390
Merge medio
2g 23h
PR unite (30g)
24

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ethersphere/bee

Tutte le issue di ethersphere/bee

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.