Forum Replies Created

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • Joe Taber
    Participant
    Post count: 25

    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 matrix

    Basically 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.

  • Joe Taber
    Participant
    Post count: 25
    in reply to: Fork #277

    What, are you going to patent virtual memory under a different name?

    I kid, I kid! 😛

    On a more serious note, it looks like the slides for the Memory talk are not available.

    • This reply was modified 10 years, 10 months ago by  Joe Taber.
  • Joe Taber
    Participant
    Post count: 25

    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. 🙂

  • Joe Taber
    Participant
    Post count: 25

    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.

Viewing 4 posts - 16 through 19 (of 19 total)