That is a cool idea.  While its not racket, have you heard of Carp?  It's a
lisp without GC, was developed for game development.  I think its still
pretty beta, and again not racket, but you may find it tangentially
interesting.

https://github.com/carp-lang/Carp

Best,
Dave

On Fri, Mar 1, 2019 at 11:51 AM Curtis Dutton <[email protected]> wrote:

> Hi all,
>
> I've worked with linuxcnc realtime machine controller for the last 5
> years. I have been playing around in my spare  time with building a new
> motion controller that is jerk limited. My prototyping is being done in
> racket to prove out my math and implementation. Once working well it will
> be ported to C for hard realtime production code. It's been nice with the
> FFI to be able to actually interface with linuxcnc.
>
> Now I find myself wondering, why can't racket run in realtime? The GC is
> the most obvious hurdle that I can see. But racket execution speed by
> itself is plenty fast enough.
>
> If we had a racket language that could generate code that doesn't generate
> garbage during execution I think implementing realtime components in racket
> could be doable.
>
> Most realtime code in the machine controller consists of tiny little
> functions that are executed at 1000 times per second.
>
> So what I'm looking for is a racket language that doesn't generate garbage
> at execution time. But a "setup" phase could do so and it wouldn't be a
> problem.
>
> Is there such a thing? Is it worth pursuing? Or better to just stick with
> C?
>
> Anyhow just something I've been wondering about and I'm seeking opinions
> or any known resources from the research world.
>
>
> Thanks,
>     Curtis
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-dev/CAPChLEqN4BHVn7P0UAA09n4UGVvVsyqw9DhKdoBEOtK56Dkrrg%40mail.gmail.com
> <https://groups.google.com/d/msgid/racket-dev/CAPChLEqN4BHVn7P0UAA09n4UGVvVsyqw9DhKdoBEOtK56Dkrrg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAJx4fADapXGj-7Br2RObmaZJVQv4Q5RSHcPnesYCrBv5Y8jQKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to