Cheatoid

Results 17 comments of Cheatoid
trafficstars

For LuaJIT target (big int overflow example): > print( 9223372036854775807LL + 1LL ) > -9223372036854775808LL > > print( 18446744073709551615ULL + 1ULL ) > 0ULL For Lua 5.0/5.1/5.2 this could only...

> @Cheatoid any Lua target would require a software implementation. Lua 5.3 introduced 64-bit integers, but not big integers, which are the subject of this proposal. Big integers are of...

@viluon Sure... But scripted/software implementation is going to be slow. I recommend implementing it natively within your Lua environment via [native extension](https://www.lua.org/pil/24.html) (using Lua C API), if possible. With that...

One way would be to go full abstract/agnostic, so no matter what Lua environment is being used, a programmer would provide these requirements/arguments to the lualib. Expose a method to...

Definitely a strange one. I would like to point out that it seems it is not transformer-specific, it also happens with [`ts-plugins`](https://github.com/Cheatoid/TS-plugins) (when using constant folding transformer), I have tried...

@pilaoda Check out [my plugin](https://gist.github.com/Cheatoid/ea4573c6bd1992fc4940090543ec9380). In particular you may be interested in `__inline`. You can find example usage in the comment section including transpiled output.

@2dpdlja496or43iq Try something like [Nelua](https://github.com/edubart/nelua-lang). --- @yanghuan .NET NativeAOT is a thing as well (formerly known as CoreRT): https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/