fast_brainfuck.lua
vemips
fast_brainfuck.lua | vemips | |
---|---|---|
3 | 17 | |
12 | 6 | |
- | - | |
1.8 | 5.3 | |
over 2 years ago | 9 months ago | |
Lua | C++ | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fast_brainfuck.lua
-
Lua in 100 Seconds
Shameless personal project advert : Brainfuck transpiler built for LuaJIT (also works with LuaPUC)
-
Adventures in JIT compilation
I wrote my own Brainfuck to LuaJIT transpiler https://github.com/ExtReMLapin/fast_brainfuck.lua It beats any other available interpreter/transpiler in others scripting languages
- High performance brainfuck interpreter/transpiler in LuaJIT
vemips
- Building a baseline JIT for Lua automatically
-
On ELF, Part 1
Also, if anyone wants to see a hastily-written ELF loader that I haven't cared enough about to go back and clean up in C++, I have one here.
-
Weird things I learned while writing an x86 emulator
I suggest MIPS.
-
RTS programming game where you write real C++ code to control your player.
I actually wrote VeMIPS for this specific purpose.
-
NASA Selects SiFive and Makes RISC-V the Go-to Ecosystem for Future Space Missions - SiFive
Unfortunately, I don't remember specifically. It was about when I wrote VeMIPS and was also working on figuring out an alternative ISA for a 3d printer board, and I'd noticed that a specific conversion instruction was missing on it. Maybe it was moving a double-precision register to the general purpose registers on 32-bit? Not sure anymore. I can look over IRC logs maybe to find out.
-
rvscript: Fast RISC-V-based scripting backend for game engines
This is the exact purpose that I wrote VeMIPS for.
-
libriscv: Multiprocessing for Compute Functions
Looks similar to vemips. Same rationale as well (embedding within a game or simulation).
-
Chip8 Emulator for Android written in C++ using NDK and SDL
Probably wouldn't be too hard to add Chip8 as a backend to VeMIPS, though VeMIPS presently doesn't run on Android (only Win64 and in Javascript using asm.js).
-
Zelda 64 has been fully decompiled, potentially opening the door for mods and ports
I personally dislike disassembling MIPS, and I wrote VeMIPS!
-
1Hz Minecraft Redstone Computer
However, I did end up releasing VeMIPS, which is an embeddable MIPS32r6 emulator/VM which is heavily configurable, has a dynamic recompiler, and has instruction-level execution granularity, meaning that you can tell it "execute 10 instructions and return". This lets you implement things like cost per instruction, virtual CPUs with different performance characteristics, and so forth.
What are some alternatives?
python-brainfuck - Simple python code for compile brainfuck program.
bf_jit - Over-engineered JIT compiler for bf
Penlight - A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.
Learning-Resources - This repository serves as a list of resources that I have personally found useful for learning about certain concepts
mcresc - An interactive debugger for Mornington Crescent, written in ES2015
MinecraftHDL - A Verilog synthesis flow for Minecraft redstone circuits
rvscript - Fast RISC-V-based scripting backend for game engines
sm64ex - Fork of https://github.com/sm64-port/sm64-port with additional features.
GREED - RTS Programming game based on C++