Befunge

lang befunge 93 fast (by serprex)

Befunge Alternatives

Similar projects and alternatives to Befunge

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Befunge alternative or higher similarity.

Befunge reviews and mentions

Posts with mentions or reviews of Befunge. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-20.
  • The Rust Performance Book
    2 projects | news.ycombinator.com | 20 Apr 2023
    1. C compilers don't do a good job, & thus even CPython, which has historically stuck to rather vanilla C, uses computed goto, as described in https://eli.thegreenplace.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 unions, where the Rust compiler can sometimes apply tricks to make Option> the same size as Vec

    3. match can specialize for straight forward cases, when in doubt use https://godbolt.org

  • Ask HN: Recommendation for general purpose JIT compiler
    12 projects | news.ycombinator.com | 15 May 2022
  • Why asynchronous Rust doesn't work
    8 projects | news.ycombinator.com | 13 Nov 2021
    I've found async to be straight forward anytime I've used it. Promise#then is equivalent to callbacks

    async/await often requires very little changes compared to synchronous code, whereas reworking a program into callbacks is much more impactful. & the async/await compilation process tends to produce better performance in addition to this. My first async/await work was a few years ago to increase a data importer's performance by an order of magnitude compared to the blocking code

    Here's an example where looping 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...

    I don't see why people find it so complicated to separate begin-compute & wait-on-compute

    I've since rewritten a nodejs game server into rust, https://github.com/serprex/openEtG/tree/master/src/rs/server... handleget/handlews are quite straight forward

  • Python interpreter written in rust reaches 10000 commits
    8 projects | news.ycombinator.com | 3 Nov 2021
  • Compilers Are Hard
    7 projects | news.ycombinator.com | 20 Jan 2021
    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...

  • A note from our sponsor - SurveyJS
    surveyjs.io | 26 Apr 2024
    With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →

Stats

Basic Befunge repo stats
5
18
3.5
6 months ago

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com