-->
Page 1 of 2

What are the advantages of writing native code vs SMING?

PostPosted: Fri Aug 21, 2015 2:46 am
by helpme
Given that SMING code is much more readable, are there advantages left to write native code? One can also call the ESP8266 SDK API in SMING code, so why don't native developers migrate to SMING framework?

Re: What are the advantages of writing native code vs SMING?

PostPosted: Sat Aug 22, 2015 6:40 am
by eriksl
I can think of many reasons, a.o.:

- much more functionality in the very limited amount of ram and flash available
- all low level functionality can be used, not just the features that are exposed by the framework
- no dependence on the quality of the code of others...
- last but not least, much higher learning value

Re: What are the advantages of writing native code vs SMING?

PostPosted: Sat Aug 22, 2015 6:45 am
by helpme
eriksl wrote:I can think of many reasons, a.o.:

- much more functionality in the very limited amount of ram and flash available
- all low level functionality can be used, not just the features that are exposed by the framework
- no dependence on the quality of the code of others...
- last but not least, much higher learning value


For the features that are not exposed by the framework, one can still directly call the SDK APIs. So, that shouldn't be an issue.

Re: What are the advantages of writing native code vs SMING?

PostPosted: Sat Aug 22, 2015 6:55 am
by eriksl
"Frameworks" are not my thing, anyway. I think it prevents precious learning value.