racket-lua

A #lang implementation of Lua 5.4 for Racket. (by Bogdanp)

Racket-lua Alternatives

Similar projects and alternatives to racket-lua based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better racket-lua alternative or higher similarity.

racket-lua reviews and mentions

Posts with mentions or reviews of racket-lua. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-12.
  • Lang Lua
    8 projects | news.ycombinator.com | 12 Nov 2022
    > On these programs, the overhead is usually somewhere around 2-3x.

    Nice!

    > It's also possible that the way I'm compiling things down to Racket is defeating optimizations, but I haven't yet dug in.

    Part of the secret of the reimplementation Racket on top of Chez Scheme is that there are many macros pretending to be functions. The optimization pass inlines some of the functions, but sometimes the heuristic is not good enough, and you must cheat using a macro. (And sometimes the "obvious" improvements are wrong, and using a macro to force the expansion of the code has a worse result.)

    For example in https://github.com/Bogdanp/racket-lua/blob/master/lua-lib/pr... I'd try using a macro to inline the fast case where both numbers are exact integers, and then call a real function for the slow cases. (Is it common that someone wants to use 7.0 to do bit operations? Perhaps it's better to inline more. That's the tricky part, understanding which is the best split. I'm not sure. Probably only Matthew knows.)

Stats

Basic racket-lua repo stats
2
51
8.0
4 months ago

The primary programming language of racket-lua is Racket.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com