Ryan Bloomfield

Results 24 comments of Ryan Bloomfield

Compatibility issues discussed in #790: **SquidDev** commented: > For reference: > > ``` > $ lua5.1 > Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio > > =("%d"):format(0/0) > -9223372036854775808 >...

Probably something already known about: [rembulan](https://github.com/mjanicek/rembulan) apparently compiles lua directly to java bytecode.

Yeah, I noticed that too. There does still seem to be some activity on [this fork](https://github.com/wizards-of-lua/rembulan), but it does seem like it would require a new maintainer. It's a shame,...

> 1. Safe - we should be able to run Lua code without the risk of sandbox escapes, > for a VM _with the debug library enabled_. I'm less fussed...

> It's worth noting that something which compiles to bytecode doesn't have the same risks as running arbitrary bytecode. Most sandbox escapes come from library code, which isn't an issue...

This [translation from chinese](https://translate.google.com/translate?sl=auto&tl=en&u=https%3A%2F%2Fgithub.com%2Fxsbdwbd%2Fxsbdwbd.github.io%2Fblob%2Fff87ea140eb61061154def98f6ffd81084dabdde%2F%25E8%25AE%25A1%25E7%25AE%2597%25E6%259C%25BA%25E7%25A7%2591%25E5%25AD%25A6%2F%25E6%2589%25BE%25E5%25B7%25A5%25E4%25BD%259C%2F%25E7%25BC%2596%25E8%25AF%2591%25E5%258E%259F%25E7%2590%2586%2FLLVM%25E3%2580%2581GCC%2F%25E5%2586%2599%25E4%25B8%25AA%25E7%25BC%2596%25E8%25AF%2591%25E5%2599%25A8%25EF%25BC%258C%25E6%258A%258AC%252B%252B%25E4%25BB%25A3%25E7%25A0%2581%25E7%25BC%2596%25E8%25AF%2591%25E5%2588%25B0JVM%25E7%259A%2584%25E5%25AD%2597%25E8%258A%2582%25E7%25A0%2581%25E5%258F%25AF%25E4%25B8%258D%25E5%258F%25AF%25E8%25A1%258C%25EF%25BC%259F.md) shows several resources, direct translation from c to java (bytecode) is doable, but none of it seems to be maintained. Found [this](https://github.com/oracle/graal/tree/master/sulong). Not a solution, but...

CC is pretty much designed not to give access to the real world(with a few exceptions). Maybe the filesystem should be case-insensitive on all platforms, which [wouldn't be too hard](https://stackoverflow.com/a/34717571)...

IMHO it would be useful to default to case-insensitivity so a person can write scripts on Windows(or Mac), share them with people(who often will use them on servers, which are...

Some older discussions on the original [ComputerCraft repo](https://github.com/dan200/ComputerCraft): [[Suggestion] turtle.getFacing()](https://github.com/dan200/ComputerCraft/issues/383) [Add turtle.getTurn()](https://github.com/dan200/ComputerCraft/pull/473)

Just my two cents. To keep it from seeming too magical, maybe a craftable magnetometer that requires calibration, and so long as it is equipped, it will report the difference...