85 karma · joined Nov 28, 2012 (14y ago) · 42 submissions
https://github.com/wallstop
eli@theambiguous.co
comment 2d ago · link · parent
An approach that doesn't need runtime would be to allow reflection for types provided at compile time (say, with a config file). There are many ways to approach reflection, from none to some to full. This appears to have chosen none. It could have chosen some, or potentially even full.
comment 3d ago · link · parent
Just because the code isn't baked into the binary doesn't mean that it theoretically can't be done at runtime. At least, AFAICT.
comment 2w ago · link · parent
comment 1mo ago · link · parent
Of note, as of C#9 (and maybe prior), the dotnet runtime does this automatically whenever it is deemed safe. https://devblogs.microsoft.com/dotnet/performance-improvemen...
The same technique is applied as an optimization, when deemed safe, in all current gen c compilers (gcc, llvm, etc).
I'm very confused why neither measurements nor references to when this is done automatically in most modern languages is included in the article.
comment 4mo ago · link · parent
After spending a lot of time thinking about the language, I came up with a relatively simple algorithm based on the language design - there are a few operators that mutate state, so basically just try combinations of those until your next memory cell contains the thing that you want, then lock those instructions in and advance.
Basically RNG yourself to victory.
The original code for that algorithm is here (python, + my own interpreter): https://github.com/wallstop/malbolge-toolkit/tree/dd942fb981...
I've since llmified it as an exercise.
BUT! The whole reason for this comment is to nerd say that printing stuff is relatively easy if you invest the time in learning the language's primitives and think of programming in it more as algorithms to operate on the op codes instead of literally writing code.
Now, to do more interesting things other than printing - I'd have to spend even more time thinking about the language, which I don't want to
comment 5mo ago · link · parent
It's great that people find joy in it, but as someone that is critical of both music production and fidelity, the current offerings fall incredibly short of anything I would ever want to listen to.
comment 5mo ago · link · parent
If this is a real thing, it needs a lot of work. Lots of failure modes, errors that are not being handled, sometimes exceptions, sometimes swallowing and printing to stdout, very inconsistent style, mixing and matching all kinds of C and C++ conventions, the fallback hard coded path of your specific user name + deep path ...
I would recommend not using this for any data that you actually care about.
comment 6mo ago · link · parent
comment 7mo ago · link · parent
I then went and deleted more stuff, but my money would be on a reporting glitch than a malicious money campaign.
comment 7mo ago · link · parent
comment 8mo ago · link · parent
As an example, I will quote the article:
> Retro Game Engine owns the full frame lifecycle. I decide what the input signals are, what the display does with it, how time affects it, what gets presented and when.
You can replace "Retro Game Engine" in that sentence with "Unity" or "Godot" and it is just as true.
comment 8mo ago · link · parent
However, I have not tried, so I cannot verify that claim to 100% accuracy. The author ...might have tried? They definitely surveyed the landscape. My read of the article was that they went down this rabbit hole and back-justified it instead of investing a similar amount of time in a practical solution in a modern engine.
CRT look and feel is a niche full of very passionate and opinionated people.
comment 1y ago · link · parent
comment 1y ago · link · parent
I similarly don't bat an eye when a coworker takes off for whatever reason. We're allotted PTO. Why jump through hoops to convince ourselves that it's ok to use it?
comment 1y ago · link · parent
comment 4y ago · link · parent
comment 7y ago · link · parent
comment 8y ago · link · parent