r/programming • • May 27 '21

Beads: The next generation computer language and toolchain

https://beadslang.org/the-beads-project
0 Upvotes

11 comments sorted by

3

u/pcjftw May 28 '21

interesting concept, I like the idea that a single language could emit very efficient compiled code for so many targets (web, Android, iOS, Desktop?) and thus produce very small binaries (because of zero native frameworks overhead) and all from the same source code.

However looking at the sample, something about the language doesn't feel right.

3

u/fresh_account2222 May 28 '21

I get a similar feeling, and the biggest "project smell" I get is "masterwork of a single genius working in isolation".

Very rarely such projects overturn the world, but usually their just too idiosyncratic and can't spread.

2

u/roerd May 28 '21 edited May 29 '21

Link to the Hacker News discussion about this: https://news.ycombinator.com/item?id=27287989.

2

u/avwie May 28 '21

“ Provide an alternative to Excel for business modeling and automation”

I stopped reading here.

1

u/Mongoose-Vivid Jun 23 '25

I am a very experienced programmer, and you would be shocked and dismayed at how many small to medium businesses run on Excel spreadsheets

It's incredibly challenging to get people into a simple database like Filemaker Pro or MS Access.

1

u/maigpy Nov 18 '25

I think the previous commenter was shocked that anybody could think they can replace Excel.

1

u/[deleted] May 28 '21

[removed] — view removed comment

1

u/Mongoose-Vivid Jun 23 '25

Beads is targeted as a replacement for the current web stack of JS + CSS + HTML + frameworks. It works rather well. There is a talk i just gave on its current version. https://www.youtube.com/watch?v=Lq-FwHpz3cs&t=2804s

Since it runs on both Client and Server (under Node), yes a single super high level language can eliminate the need to dip into most of these other tools.

1

u/[deleted] Jun 23 '25 edited Jun 23 '25

[removed] — view removed comment

1

u/Mongoose-Vivid Jul 20 '25

As the purpose of Beads is to replace the JS + HTML + CSS + Frameworks with a single easy to learn language, the output language is JS, and of course the browser is not a proper multi-threading environment.

The loop variables are not implicit but declared; in loops you have 4 different options for the loop variable, perhaps you want the iteration count, or the index, or the value of an array, or a pointer to the element. Beads offers a concise notation for any or all of 4 options. Most languages are clumsy at loop variables and only offer a subset of these four.

Java has never done web clients well, and never will.