forthy2

Languages and libraries

programming language

SHOW HN2019

65points
28comments
#694of 2,195 in 2019
Top 32%of 2019 by points

How HN took it

RoastedHalf or more of the comments are critical

0 positive, 2 neutral or asking, 0 mixed, 4 critical, out of 6 comments about the project. Thread score -0.39.

Design: 0 for, 3 againstExecution: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Generic methods and type system make errors easier to catch

    From 1 comment
    • They make great foundations, since their simplicity allows them to be conveniently adapted to whatever purpose. I too find dogmatic Forth a struggle to reason about, which is why…
      codr7 on HN

Objections

  • Stack behaviour of push is unintuitive

    From 2 comments
    • Why does pushing drop the stack you are pushing onto? Is there ever any reason to push something onto a stack and then immediately drop the stack? Even if there were, it doesn't…
      garmaine on HN
    • Not from the README. I don't read READMEs. I read code. The issue is this: > (1 2 3) 4 push My expectation is this should yield "(1 2 3 4)". It doesn't. For that you need the…
      garmaine on HN
  • Hard to reason about programs with implicit stack

    From 2 comments
    • I had a lot of fun playing with Factor several years ago. The problem, as you pointed out, was that it was indeed difficult to reason about programs. The stack is implicit, so…
      journalctl on HN
    • There was a burst of interest in concatenative languages a few years back - essentially higher level variations on the features found in forth.…
      InternalCake on HN
  • CMake minimum version was not set correctly

    From 1 comment
    • ``` CMake Error at CMakeLists.txt:6 (add_link_options): Unknown CMake command "add_link_options". ```
      0xdeadbeefbabe on HN

Requests

  • State minimum CMake version for commands

    From 1 comment
    • It was added in v3.13. It would be nice the minimum version required to use a function was directly stated in the CMake documentation. I just keep picking older versions from the…
      slavik81 on HN

Questions

  • Why is copy needed before push on a stack

    From 1 comment
    • Not from the README. I don't read READMEs. I read code. The issue is this: > (1 2 3) 4 push My expectation is this should yield "(1 2 3 4)". It doesn't. For that you need the…
      garmaine on HN
  • Is there a performance cost from non-C calling conventions

    From 1 comment
    • Did you do anything special to make the CPU happy/efficient with forth function calls? I heard a rumor that CPUs find it hard to predict branches with code that doesn't do C…
      0xdeadbeefbabe on HN

Alternatives named

  • Joy

    From 1 comment
    • I've been playing with Joy the last few years. (My project: https://joypy.osdn.io/ ) My experience has been that, once you get used to it, it's much easier to reason about Joy…
      carapace on HN
  • Factor

    From 1 comment
    • I had a lot of fun playing with Factor several years ago. The problem, as you pointed out, was that it was indeed difficult to reason about programs. The stack is implicit, so…
      journalctl on HN
  • PostScript

    From 1 comment
    • Postscript does the: num {op} repeat form with the ability to take references of the code blocks using def.
      protomyth on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/21373173)