Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2016 (3)
20082026
  1. …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)
  2. As another small example, there's my Befunge JIT which includes recompilation: https://github.com/serprex/Befunge/tree/master/barfs
  3. …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
  4. …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…
  5. 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
  6. …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
  7. 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…
  8. 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
  9. I learnt it by writing a befunge interpreter: https://github.com/serprex/Befunge/blob/master/bef.vim
  10. …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
  11. …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