Live data from Hacker News

The Red Programming Language

red-lang.org

51–60 of 135 posts

Re: The Red Programming Language

#51
Here [0] is an example of what it looks like. Took some digging to find, really should be more prominent on the site.

It's very elegant! I can't fully grasp everything that's happening but the visual appearance of the syntax alone is interesting.

[0] https://github.com/red/code/blob/master/Scripts/clock.red

Re: The Red Programming Language

#52
post #9

Earlier quoted context omitted.

I wrote a paper on REBOL back in college. It is very interesting, but the syntax is definitely weird. You might think of the function call syntax as being sort of Forth-like, but with the tokens in reverse order. So like a Lisp, but without required parentheses. e.g. in the example send friend@rebol.com read http://www.cnn.com `read` knows that it takes one argument, and `send` knows that it takes two, so this ends u…

but why, don't get this design choice at all.

It takes the common "function(arg1, arg2)" pattern and turns (almost) the whole language into a very simple/consistent https://en.wikipedia.org/wiki/Polish_notation

Even things that are normally keywords and statements in other languages (like conditionals and loops) are actually just functions that conform to the exact same parsing rules.

Re: The Red Programming Language

#53
post #20

red was terrible in 2018, and its terrible now - just tried to compile hello world and it takes 36 seconds https://github.com/red/red/issues/5615

Go compiles massive codebases in that time. V can recompile itself probably 2-3x in that time. I don't take any new language seriously unless it's memory safe, free of UB, able to interoperate with what already exists including optional shared libraries (because static linking the world every time in everything is memory and disk wasteful), and assists formal proofs of correctness. Otherwise, what already exists seem…

troll spotted

Re: The Red Programming Language

#56
post #14

The website looks like 2013 and much of the content is as well. There's a GitHub repo that I couldn't find from the website: https://github.com/red/red

The website links to GitHub with the usual logo, in the right hand column.

The website has posts from 2025:

https://www.red-lang.org/2025/04/multiple-monitors-support.h...

Unless you mean the theme, thats probably just a standard Google Blogger/Blogspot theme, which has been around for 25 years.

https://en.wikipedia.org/wiki/Blogger_(service)

Re: The Red Programming Language

#57

Languages that encourage making DSLs are a two-edged sword. On the one hand, you get to make a language that is more clear and fine-tuned to your use-case. On the other, you have an ad-hoc language with no support that you have to maintain along with the documentation (considering that you can't expect anyone else to know the DSL ahead of time). As I've gotten older, I've determined that well-designed APIs in a well-…

I've come to hate DSLs. With rare exception, almost every DSL has become a brittle subset of the parent language.

Re: The Red Programming Language

#58
> Red’s ambitious goal is to build the world’s first full-stack language, a language you can use from system programming tasks, up to high-level scripting through DSL.

Pretty nonsensical statement. We have that for 50 years. Common Lisp, for example.

Re: The Red Programming Language

#59
post #7

This is like the only programming language I could never learn. I just don't understand anything and I can't build any mental model of what's going on behind the hood

>This is like the only programming language I could never learn. Wait till you hear of Urbit and see this: https://developers.urbit.org/overview/nock

It's worth noting this work came from a prominent internet extremist. A generous interpretation would be that it is a high-effort troll.

Re: The Red Programming Language

#60
post #16

This is a successor to REBOL[0], designed by Carl Sassenrath[1] who designed the Amiga kernel. I've looked it a few times over the years. It's neat. I've never written a single line of it, though. [0] https://en.wikipedia.org/wiki/Rebol [1] https://en.wikipedia.org/wiki/Carl_Sassenrath

I used it once to build a simple web scraper and image downloader, and it worked really great for that. It was right in the wheelhouse for the language. (That was REBOL, not RED, and many years ago.) Honestly I'd just do it in Python, now, even though it's not as interesting.

This is what I used it for back in the day too. I was watching a demo of Robot framework for Selenium the other day and it reminded me of parsing pages with rebol. Not that they are similar, but perhaps because I thought rebol would be interesting to use with Selenium.
Post reply on HN