Hello everyone how i can make an app on C, i made SHA512 module, it works so slow!
source
maybe possible to make it! please help.
Hello everyone how i can make an app on C, i made SHA512 module, it works so slow!
source
maybe possible to make it! please help.
There is no option to use anything but Monkey C.
It's very, very unlikely that Garmin would provide an SDK to support another language. It's more than enough work to support one.
I'm hoping that the code for the Monkey C cryptography module is implemented in something that isn't Monkey C, like whatever language the firmware uses. Elsewhere, somebody claimed that the firmware is…
There's not much reason to expect the modules are written in Monkey C.
Agreed. I just wouldn't want to assume. It's just my educated guess that the modules are written in the same language…
There is no option to use anything but Monkey C.
It's very, very unlikely that Garmin would provide an SDK to support another language. It's more than enough work to support one.
I'm hoping that the code for the Monkey C cryptography module is implemented in something that isn't Monkey C, like whatever language the firmware uses. Elsewhere, somebody claimed that the firmware is written in C:
Which is to say, I'm guessing the cryptography stuff in Monkey C is already as fast as possible, unless it's actually written in Monkey C (I sure hope not).
There's not much reason to expect the modules are written in Monkey C.
There's not much reason to expect the modules are written in Monkey C.
Agreed. I just wouldn't want to assume. It's just my educated guess that the modules are written in the same language as the firmware, especially something like a crypto module.
(Which means they're probably as fast as they're going to get, as the bottleneck is likely the hardware.)
Last I heard, the CIQ VM was written in C/C++, and this was from the Garmin CIQ folks at one of the developer summits. I worked on the SmallTalk VM for a few years, and there is was C, or in some instances assembler when the C compilers didn't generate the most efficient code for what the VM needed.
Agreed. I just wouldn't want to assume.
It's not assuming.
Yes, absalutly it will be great, i think all the modules from Toybox works on kernel level. this too much faster.
i cannot find the code base on monkeyC for the ToyBbox
i mean it will be great to use C, Rust, C++ or inject assembler code. MokeyC too slow.
i cannot find the code base on monkeyC for the ToyBbox
Given that Garmin doesn’t provide it, that’s not unsurprising.
The code used to support your Monkey C programs is proprietary.
i mean it will be great to use C, Rust, C++ or inject assembler code. MokeyC too slow.
You’ll never see that.
The point of Monkey C is to provide customization but to sandbox it.
Garmin doesn’t want your programs to compromise the operation of their devices. So, they limit what you can do.