cartesian product … stuff about computing mostly

  • About
    • My PhD research
  • Binsic Is Not Sinclair Instruction Code
  • Further thoughts on Forth (and Riscyforth in particular) and Life

    Further thoughts on Forth (and Riscyforth in particular) and Life

    It’s now two years since I began my Riscyforth project of writing a Forth for RISC-V single board computers. But it wasn’t until yesterday that I wrote my first serious/useful (if you like this sort of thing) program for it, a version of Conway’s Game of Life. (This program wasn’t as long as the unit […]

    Advertisement

    Adrian McMenamin

    January 1, 2023
    Uncategorized
    BASIC, C++, conways game of life, FORTH, mathematics, programming, RISC-V, Riscyforth
  • Game of Life animation

    I’ve made some improvements to the program and so here’s an animation of the output.

    Adrian McMenamin

    December 31, 2022
    Uncategorized
    animation, asciinema, conways game of life, FORTH, Life, programming, Riscyforth
  • Conway’s Game of Life, in Forth

    Forty-one years after I wrote my first version of this (in Z80 machine code for the ZX80/ZX81) here’s the latest, in Forth (Riscyforth for a RISC-V SBC). This is hot off the editor, so can no doubt be optimised, but I am pretty pleased with it.

    Adrian McMenamin

    December 30, 2022
    Uncategorized
    conways game of life, FORTH, Riscyforth
  • Write-only? A simple program translated from C to Forth

    The old joke is that Forth is a “write-only language”. in other words, you can write this stuff but you cannot understand it (and hence maintain it). Of course, any endorsement of this view is regarded as a heresy amongst many in the Forth community, but I have to admit that sometimes the Forth-bashers have […]

    Adrian McMenamin

    December 20, 2022
    Uncategorized
    C/C++, code translation, curses, FORTH, maintainability, ncurses, programming, Python, Riscyforth
  • Does “coding” have a future?

    Does “coding” have a future?

    Today is, for me, the last working day of the year and I was able to finish with a small triumph – successfully solving several programming conundrums that have eaten into my time over a number of weeks. The technology involved – Python – is not one I have had much experience with, and only […]

    Adrian McMenamin

    December 16, 2022
    Uncategorized
    AI, Belfast, computer science, CRUD, Java, Linux, programming, Python
  • Evidence suggests vaccination does cut spread of Omicron

    Earlier this week I noticed that some anti-vax propagandists have a new line of attack – they aren’t denying that vaccination protects you against severe illness from Covid, but they are saying that it is false to claim that vaccination limits the spread of the disease and hence its also wrong to insist that people […]

    Adrian McMenamin

    November 19, 2022
    Uncategorized
    anti-vaxxers, covid-19, cranks and crackpots, Omicron, vaccination
  • New release of Riscyforth

    There is a new release (0.7) of Riscyforth – my Forth for RISC-V based single board computers available – Riscyforth 0.7. This release adds significant support for 64-bit IEEE754 floating point numbers to broadly match the 2012 Forth standard. The implementation of the Forth floating point word set isn’t yet quite complete and Riscyforth does […]

    Adrian McMenamin

    November 13, 2022
    Uncategorized
    FORTH, Linux, RISC-V, Riscyforth
  • The unreasonable ineffectiveness of arithmetic with floating point numbers

    The unreasonable ineffectiveness of arithmetic with floating point numbers

    Eugene Wigner’s wrote a famous short essay “The Unreasonable Effectiveness of Mathematics in the Natural Sciences” in 1960. To be honest I find it slightly underwhelming: to me mathematics is the abstraction from physical reality and not – as might be implied by Wigner – that our physical universe is a concretised subset of a […]

    Adrian McMenamin

    October 15, 2022
    Uncategorized
    C/C++, Donald Knuth, Floating point, FORTH, mathematics, RISC-V, Riscyforth
  • Floating point, finally

    Floating point, finally

    What is “floating point”? How do you represent a number like in a compressed and useful way in binary? Any computer science student will be able to tell you that you use a “floating point” representation and, like me a couple of months ago, could probably move on to a hand-wavy explanation that you stored […]

    Adrian McMenamin

    September 17, 2022
    Uncategorized
    computer science, exponent, Floating point, FORTH, mantissa, Riscyforth
  • Trusting the world of floating point

    Trusting the world of floating point

    A lot of the everyday calculations we rely on depend on “floating point arithmetic” – in other words an approximation of accurrate mathematics and not actual accurate mathematics. For the last six weeks or so I have been working on bring floating point arithmetic to “Riscyforth” – my assembly-based implementation of Forth for Risc-V “single […]

    Adrian McMenamin

    August 14, 2022
    Uncategorized
    computer science, Floating point, FORTH, mathematics, RISC-V, Riscyforth
1 2 3 … 107
Next Page

cartesian product … stuff about computing mostly

Proudly powered by WordPress

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • cartesian product ... stuff about computing mostly
    • Join 226 other followers
    • Already have a WordPress.com account? Log in now.
    • cartesian product ... stuff about computing mostly
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar