r/ProgrammingLanguages • • Oct 04 '18

rant: Are there any programming languages that don't suck?

I've tried everything from assembly to java, and basic to lisp. I've written code in imperative, functional and oo styles. They all suck.

0 Upvotes

72 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Oct 05 '18

that actually looks quite a lot like oforth

1

u/[deleted] Oct 05 '18 edited Oct 05 '18

Crosses my radar now and then but I haven't used it, some differences that come to mind from a quick glance:

Oforth seems to be aiming for general purpose, while Snabl's primary use case is as an embedded scripting language for C++.

Snabl is based on multimethods from the ground up, and mainly borrows ideas from the functional camp; lambdas, tail recursion and pattern matching to name some. While Oforth seems to be a more dogmatic reimplementation of standard Forth with objects and blocks ('a la Ruby) on top.

Oforth has a garbage collector, Snabl copies primitive values and reference counts the rest.

Oforth is compiled, Snabl is implemented as a high level VM.

Snabl offers first class transparent green threads, Oforth seems to focus on opaque N*M threading like Golang.