Forum Replies Created
- AuthorPosts
- in reply to: Application Walkthrough #344
GCD
Factorial
Fibonacci
Anagrams
FizzBuzz
Find the median of 3 (4,5?) numbers
Matrix or Vector products.
Exponentiation
CRC-32
Run-length encoding
Any of the sorting algorithms, or maybe just the merge operation (I feel like it might be interesting but short in mill asm).
CSV manipluation
Towers of Hanoi (recursion)
Zig-zag matrixBasically almost everything on Rosetta Code will be interesting, and have sample code in C and assembly. Of course some of these may be too complicated or require os-specific console input/output.
- in reply to: Program Load vs. Program Install #276
I don’t think they ever explicitly ruled out caching or pre-converting the binaries. And the module load library sounds like a generic conversion tool wrapped by an easy to use load module, not some inflexible black box.
This is squarely an OS problem. The OS itself will have to make tradeoffs between startup time, install time, disk usage, portability, and cache complexity with regards to member-conversion. And it will use the mill conversion tool as it chooses between them.
From a “just get something working” developer’s standpoint, wrapping the conversion tool by a load module is the easiest way to plug the mill into an existing OS without rewriting or authoring new major subsystems.
So, just chill and be patient. 🙂
- in reply to: Application Walkthrough #351
Too bad there is no preview option before posting. The code button in the edit bar surrounds selected text with backticks (same key as ~), but I don’t know if it works on multiple lines. Lets see how bad wordpress butchers this:
(this is a test) (on three) (separate lines)
I find it interesting you mentioned that we have to pick a mill member. Is there no way to write directly in the intermediate language that gets translated by the Specializer? Or is that what you just did and the IL code is just written for a hypothetical mill member with unlimited slots and belt?
Is there a reference for all the instructions?
It seems like it would be easier to tag an instruction and refer to its outputs by tag (and index if multiple outputs) instead of by belt number. The tags should be trivially converted to belt numbers during translation, but be much easier to program in, especially for hand-coded assembly like this.
- AuthorPosts