Skip to content

[Question] Noticeable performance differences compared to C #3876

Open
@DrMagPie

Description

@DrMagPie

Hi tinyGo team!
I'm currently experimenting with tinyGo, and so far I'm loving it, big thank you for that!
And to learn tinyGo I am porting simple Arduino Nano + DS3231 (RTC) + hd44780i2c (2004 LCD display) clock. And I noticed that tinyGo takes noticeably more time to update the display.
I was expecting some performance differences, but not so big.
So my question is, am I doing something wrong? or there really is such a big difference?
Have anyone done any benchmarking co compare tinyGo to C/C++?

TinyGo: https://streamable.com/p0983z slow startup, characters appear one by one and dots between numbers appear one after another.
C: https://streamable.com/u1zxp1 fast startup, characters appear instantly, dots blink are synchronised.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about usage of TinyGo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions