Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Whad do you thing about tinygo? #19

Open
Aukstkalnis opened this issue Dec 4, 2018 · 1 comment
Open

Question: Whad do you thing about tinygo? #19

Aukstkalnis opened this issue Dec 4, 2018 · 1 comment

Comments

@Aukstkalnis
Copy link

There is other project to bring GO to microcontrollers: https://github.com/aykevl/tinygo. Have you seen it? What is your opinion about it? I am just curious because you try to do the same thing but from different approach. Maybe you can work together for more productive results?

@ziutek
Copy link
Owner

ziutek commented Dec 5, 2018

Yes I seen it. Its very interesting project, so I starred it a few weeks/month sago.

Emgo is mainly library (HAL) that supports STM32 and nRF5 MCUs. I use it for almost all my embedded programming.

Of course the main thing in Emgo is egc compiler that I write. It is based on ARM gcc embedded toolchain. I'm not a compiler scientist/developer so I use Go to C translation approach using existing proved ARM toolchain. It works well but has some shortcomings. If Tinny Go evolves enough I will be happy to replace egc with tinnygo compiler (the whole library that I rely on will stay mainly unmodified).

I've already done some tests but without much success. I need add some futures to the tinygo to support my existing code. But the LLVM is big piece of software, probably too big for me for now and it compiles for hours on my PC. I need to study it more.

For now egc is much smaller, much faster to compile and supports much more things that I need so I will stay with it for now.

@ziutek ziutek mentioned this issue Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants