4 ms·
So a language that transpiles to C similar to Nim I guess? Could I use this on Windows and create small binary executables? Any examples of this?
by 3rdAccount 8y ago
So a language that transpiles to C similar to Nim I guess?
Could I use this on Windows and create small binary executables? Any examples of this?
- loa-in-backup 8y agoIt's a virtual machine running some intermediate representation. From github: "Gravity has been developed from scratch for the Creo project in order to offer an easy way to write portable code for the iOS and Android platforms. It is written in portable C code that can be compiled on any platform using a C99 compiler. The VM code is about 2K lines long, the multipass compiler code is about 3K lines and the shared code is about 2K lines long. The compiler and virtual machine combined add less than 200KB to the executable on a 64 bit system."
- SlowRobotAhead 8y agoI find in annoying as an embedded engineer that “embedded” now mean phones which are more powerful than the PCs most of used relatively recently. Embedded to me means 8-32bit micros for real devices. Not PCs that happen to fit in your pocket. 200kB is out for even a fairly serious cortex M4.
- actsasbuffoon 8y agoI don't think they're referring to the type of device when they say the language is embeddable. If you wanted to create an app (maybe a text editor) with support for user-defined plugins, that's a good scenario for hosting an interpreter, or embedding it.
- wtetzner 8y agoEmbedded here means "embedded in another program".
- SlowRobotAhead 8y agoHere I am looking for both!