serprex/Befunge
View on GitHub ↗ ★ 21 Rust
lang befunge 93 fast
11 mentions on Hacker News by 1 person: 0 stories, 11 comments · first 2016-03-07 · latest 2023-04-20
20082026
-
…enplace.net/2012/07/12/computed-goto-for-e... I resorted to similar techniques in optimizing Befunge: https://github.com/serprex/Befunge (See bejit.c & marsh.c/marsh.h) 2. Rust enums are not variable sized, think of them as tagged C…
comment by __s · 2023-04-20 · in The Rust Performance Book (2020) -
As another small example, there's my Befunge JIT which includes recompilation: https://github.com/serprex/Befunge/tree/master/barfs
comment by __s · 2022-05-15 · in Ask HN: Recommendation for general purpose JIT compiler -
…made for a callback that recursively called, using async/await I get to use a plain loop: before: https://github.com/serprex/Befunge/blob/946ea0024c4d87a1b75d... after: https://github.com/serprex/Befunge/blob/9677ddddb7a26b7a17dd...…
comment by __s · 2021-11-13 · in Why asynchronous Rust doesn't work -
…what Firefox is using for wasm For comparison, here's a complete JIT-for-befunge using cranelift: https://github.com/serprex/Befunge/blob/master/barfs/src/jit... Rust is seeing ~5x improvement in compile time using cranelift for debug…
comment by __s · 2021-11-03 · in Python interpreter written in rust reaches 10000 commits -
You'll also find them used in CPython's ceval.c I use them in both my C befunge implementations: https://github.com/serprex/Befunge/blob/c97c8e63a4eb262f3a60... https://github.com/serprex/Befunge/blob/c97c8e63a4eb262f3a60...
comment by __s · 2021-01-21 · in Compilers are hard -
…tracing, no WASM currently being output. I have some previous experience generating wasm tho: https://github.com/serprex/Befunge https://github.com/serprex/brainwebfuckassembly I don't really care about interacting with DOM. I feel that…
comment by __s · 2017-04-21 · in Me and SVG -
I've got a Befunge JIT compiling directly to WASM: https://github.com/serprex/Befunge/tree/master/js (hosted: http://etg.dek.im/funge/funge.html ) Maybe I should move on to something a little more practical Note that there seems a lot of…
comment by __s · 2017-03-18 · in Lua VM running in a WASM environment -
Past few days I've been making a Befunge JIT that targets WASM: https://github.com/serprex/Befunge/blob/master/funge.js Ended up finding that Firefox 52 is overly accepting in validation. Dead code is allowed to pop from an empty stack,…
comment by __s · 2017-03-07 · in Firefox 52 released -
I learnt it by writing a befunge interpreter: https://github.com/serprex/Befunge/blob/master/bef.vim
comment by __s · 2016-09-19 · in Show HN: SpaceNeovim – Spacemacs for Neovim -
…indent, or maintain indentation Here's some Befunge interpreters in a few different languages: https://github.com/serprex/Befunge
comment by __s · 2016-07-19 · in Tabs slower than spaces in Firefox -
…stack into an array for recompilation to use FOR_ITER, it didn't like being called on non iterables https://github.com/serprex/Befunge/blob/master/funge.py It'd be neat to see how PyPy handles fuzzing. It uses CPython's bytecode, I was…
comment by __s · 2016-03-07 · in Segfaulting Python with afl-fuzz