3 ms·
Yeah, it seems like the sweet-spot for this is real-time and embedded because it should be extremely conservative and consistently fast about memory allocation
by Pxtl 8d ago
Yeah, it seems like the sweet-spot for this is real-time and embedded because it should be extremely conservative and consistently fast about memory allocation and de-allocation.
Sad that it's got plug-in stuff as a "non-goal", because I'd love to see this as a scripting engine for gaming (since that's Wouter van Oortmerssen's background). But I imagine a "compiles to C" language would at the very least be functionally impossible to sandbox.
Edit: Question for anybody who's playing with this: When he talks about no generics he says that ADTs still work... is that like his example of writing a function "double" that returns "a + a" and works for any type that supports the plus operator?
It sounds like compile-time duck-typing but I'm having trouble working out the boundaries of that in my head. It sounds like it would only work with fully-open-source libraries for one thing since everything would have to compile from source. Anybody have experience with that sort of thing?