4 ms·
>Sometimes you just don't have other options than C. Like kernel drivers, embedded (microcontroller) development Use Common Lisp to generate C code. There are
by flavio81 9y ago
>Sometimes you just don't have other options than C.
Like kernel drivers, embedded (microcontroller) development
Use Common Lisp to generate C code. There are three libs that are specific for this, see C-mera for example.
- hedora 9y agoWait. If I use non-tail recursion on a micro controller, then I’ve probably implemented a stack out of memory crash, which, for embedded devices, is actually worse than a buffer overflow on unsanitized input. Is this a joke, or do they do some sort of stack-bounding static analysis?
- sedachv 9y agoWhat are you talking about? Running out of stack has nothing to do with what you use for code generation/preprocessing. I also don't see why running out of stack would ever be worse than a buffer overflow. The former is at least going to be fail-fast.
- pjmlp 9y agoThat is how the .NET GC was originally implemented.