Live data from Hacker News

Writing GUI Apps Using the Red Programming Language

wesleyhill.co.uk

41–50 of 117 posts

Re: Writing GUI Apps Using the Red Programming Language

#41
post #5
post #2

I always wondered why there has been no real successor to VB. This looks promising!

The syntax of Rebol, its predecessor, was an inspiration for the Mathematica language.

According to Wikipedia, Mathematica was initially released in 1988. Rebol was first released in 1997.

Maybe Rebol inspired some part of Mathematica that came later, like the manipulate/dynamic system?

Re: Writing GUI Apps Using the Red Programming Language

#42
post #6

Earlier quoted context omitted.

Agreed. But Electrcn seems to be the only option these days.

Actually no. Electron is the hipster/trending one. Unfortunately it creates monstrous applications with hundred mb sized binaries and gb memory requirements. Thanks but no thanks. On the other hand Delphi and its open source brother Lazarus are creating real (not html ones) native apps with sub mb binaries with minor memory footprints using a great IDE that reminds me of VB6. This is definitely the way to go for desk…

The sad news is, we're the last 2 people on the planet to know what Delphi was.

Re: Writing GUI Apps Using the Red Programming Language

#43

Always glad to see Red get some more attention. I think these little lightweight apps are the way to go for sure. I like freePascal + Lazarus too, but I wish they made certain things easier. Red's syntax isn't a silver bullet, but I like how they have DSLs for so many things and native data types for things like email and web scraping that would require libraries in other languages.

>I like freePascal + Lazarus too, but I wish they made certain things easier.

Which things? Interested to know, because I too like both Red and FPC (I use FPC to make it easier to distinguish Free Pascal (Compiler) from FP for Functional Programming).

Re: Writing GUI Apps Using the Red Programming Language

#44
post #5
post #2

I always wondered why there has been no real successor to VB. This looks promising!

The syntax of Rebol, its predecessor, was an inspiration for the Mathematica language.

Rebol also influenced JSON, according to some people, per links in this post (on my blog):

https://jugad2.blogspot.in/2012/12/rebol-language-that-influ...

Re: Writing GUI Apps Using the Red Programming Language

#45
post #15

Red is awesome. Why it's not hip it's a mystery to me...

It is a chicken egg problem really it is the same like Nim, Crystal etc

I feel like both of those get more attention than Red does. I've written a bit in both, but completely forgot Red existed (sample of 1, yada yada).

Re: Writing GUI Apps Using the Red Programming Language

#47
post #16
post #2

I always wondered why there has been no real successor to VB. This looks promising!

I expect something equivalent or better to come out of what is happening with WASM in next year or so. So many people are talking about missing the power of VB, early Delphi, Turbo Pascal etc. and WASM is first tech for a while that looks like it could take that power to the browser.

Last I looked I could not find a garbage collection solution for wasm, and that seems to be a barrier to entry. I know the mono-team has had some success by porting all of Mono to Wasm but that seems a bit heavy handed just to get VB.Net or C# language to compile down to wasm.

Re: Writing GUI Apps Using the Red Programming Language

#49
For language enthusiasts, here are some interesting features of Red (and Rebol):

- You can pass unevaluated expressions to functions, which can then choose to evaluate the expressions any way they want. This sounds similar to 'fexprs' in some lisps.

- Scoping is very 'flexible' - you can take a function body and evaluate it in another 'context' which provides different values for all the words in the body.

- Making mini dialects (DSLs) is supposed to be easy and seems very common. It uses the `parse` function, which is a dialect used to define dialects. The parsing model is PEG like. The `view/options` for instance is a dialect being used for defining the GUI in the linked post.

- Red/System is a dialect for system programming (C-level semantics, and performance)

Overall it's a very interesting language and very impressive that it's also compact - the binaries are ~1MB on each platform.

Re: Writing GUI Apps Using the Red Programming Language

#50

Earlier quoted context omitted.

Actually no. Electron is the hipster/trending one. Unfortunately it creates monstrous applications with hundred mb sized binaries and gb memory requirements. Thanks but no thanks. On the other hand Delphi and its open source brother Lazarus are creating real (not html ones) native apps with sub mb binaries with minor memory footprints using a great IDE that reminds me of VB6. This is definitely the way to go for desk…

The sad news is, we're the last 2 people on the planet to know what Delphi was.

three
Post reply on HN