Soroban contract with TinyGo

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • TinyGo

    Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.

  • But -gc=none didn't work, so I decided to ask in the TinyGo Gophers slack channel again. After some discussion, a maintainer of TinyGo pointed out a current pull request that aims to get rid of that exports and their logic (which were exported by accident).

  • as-soroban-sdk

    Soroban SDK for AssemblyScript

  • In AssemblyScript, the compiler frontend (asc) provides a mechanism to hook into the compilation process before, while and after the module is being compiled. This can be used with so called Transforms and Hooks, which allowed me to add the 2 custom sections to the module in the AssemblyScript SDK.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • wabin

    wabin: WebAssembly Binary Format in Go

  • However, in TinyGo there is no such mechanism. After a question in the TinyGo Gophers slack channel one of the maintainers suggested to compile the sections separately and link them using a CGo flag: #cgo LDFLAGS: somefile.o. But after searching more for a solution, I found Wabin, which allowed me to programmatically add the 2 custom sections to the compiled module.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • TinyGo release 0.29 is out

    1 project | news.ycombinator.com | 30 Aug 2023
  • “C is quirky, flawed, and an enormous success” – Dennis Ritchie

    1 project | news.ycombinator.com | 9 Jul 2023
  • execute os command with tinygo

    1 project | /r/golang | 12 Apr 2023
  • What made you fall in love with Go?

    1 project | /r/golang | 13 Mar 2023
  • Release 0.27.0 tinygo-org/tinygo

    1 project | news.ycombinator.com | 19 Feb 2023