Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rblank
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
rblank
10mo ago
https://xkcd.com/463/
2.
▲
The "No, but" Engineer
(scottsmitelli.com)
3 points
by
rblank
2y ago
|
1 comments
3.
▲
by
rblank
2y ago
https://github.com/sqlite/sqlite-wasm sqlite-wasm loads much faster than Pyodide, so if you don't need Python, then the former is a better choice.
4.
▲
by
rblank
3y ago
"That said, if your heuristic is 'words used in strange ways' then you will get false positives from all teenagers." This made my day.
5.
▲
by
rblank
3y ago
FTR, Fennel support was indeed fairly easy to add. https://github.com/MicroLua/MicroLua/commit/b9dfa2407afe932b...
6.
▲
by
rblank
3y ago
MicroLua currently compiles Lua files to binary at built time. It seems that Fennel is capable of transpiling to Lua source code, so it should be easy to add that step to the build process.
7.
▲
by
rblank
3y ago
I have to admit that this was one reason why it took me so long to start a project with Lua. Now that I've had some exposure to the language, I can say that it's not as bad as it seems, but it's also not "nothing".
8.
▲
by
rblank
3y ago
Thanks for the kind words :) I've been working on this in my spare time since March, so roughly 8 months.
9.
▲
by
rblank
3y ago
I haven't run any benchmarks yet, and TBH performance isn't a high priority, but event dispatch latency is currently fairly bad, between 100 and 150 us (when overclocking the Pico at 250 MHz). It feels like it should be possible t
10.
▲
by
rblank
3y ago
I can't really give advice for creating a new language, or even for creating a new implementation of an existing one. MicroLua uses the existing Lua implementation from lua.org, and just packages it to make it useful on a specific plat
11.
▲
by
rblank
3y ago
It looks like noceMCU uses Lua 5.1.4 or Lua 5.3.5, while MicroLua uses 5.4.6. Other than that, nodeMCU is much more advanced :)
12.
▲
Show HN: MicroLua – Lua for the RP2040 Microcontroller
(github.com)
121 points
by
rblank
3y ago
|
29 comments