# Red

Red is a programming language with a toolchain that compiles programs and statically links C++ libraries.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## CD Projekt Red to distribute The Witcher 3: The Wild Hunt on Blizzard's Battle.net

DevFeed: [CD Projekt Red to distribute The Witcher 3: The Wild Hunt on Blizzard's Battle.net](<https://devfeed.tech/articles/cd-projekt-red-to-distribute-the-witcher-3-the-wild-hunt-on-blizzard-s-battle-net-15052.md>)

Original publisher: [Read original article](<https://www.gamedeveloper.com/business/cd-projekt-red-and-blizzard-enter-a-partnership>)

Author: Diego Argüello

Published: 2026-08-26T17:30:18Z

Content type: news

Language: en

Sources: [Game Developer](<https://devfeed.tech/sources/gamedeveloper.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [releases](<https://devfeed.tech/topics/releases.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [business](<https://devfeed.tech/tags/business.md>), [developers](<https://devfeed.tech/tags/developers.md>), [games](<https://devfeed.tech/tags/games.md>), [partnership](<https://devfeed.tech/tags/partnership.md>), [releases](<https://devfeed.tech/tags/releases.md>)

### AI overview

CD Projekt Red and Blizzard have entered a business partnership. The Witcher 3: Wild Hunt - Remastered will come to Battle.net, with the Songs of the Past expansion planned for next year, while Diablo IV will receive a Witcher-themed cosmetic skin.

### Source excerpt

The remastered rendition of The Witcher 3: Wild Hunt is coming to Battle.net, along with the new upcoming expansion and a Diablo IV collab.

## C++ libraries linking

DevFeed: [C++ libraries linking](<https://devfeed.tech/articles/c-libraries-linking-22393.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2026/07/c-libraries-linking.html>)

Author: Nenad Rakocevic (noreply@blogger.com)

Published: 2026-07-29T19:07:38Z

Content type: release

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [static linking](<https://devfeed.tech/topics/static-linking.md>), [Red](<https://devfeed.tech/topics/red.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [MSVC](<https://devfeed.tech/topics/msvc.md>), [clang](<https://devfeed.tech/topics/clang.md>), [linker](<https://devfeed.tech/topics/linker.md>)

Tags: [arm](<https://devfeed.tech/tags/arm.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [clang](<https://devfeed.tech/tags/clang.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [gcc](<https://devfeed.tech/tags/gcc.md>), [gnu](<https://devfeed.tech/tags/gnu.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [libstdc-plus-plus](<https://devfeed.tech/tags/libstdc-plus-plus.md>), [linker](<https://devfeed.tech/tags/linker.md>), [linking](<https://devfeed.tech/tags/linking.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [msvc](<https://devfeed.tech/tags/msvc.md>), [red](<https://devfeed.tech/tags/red.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [static-linking](<https://devfeed.tech/tags/static-linking.md>), [templates](<https://devfeed.tech/tags/templates.md>), [toolchain](<https://devfeed.tech/tags/toolchain.md>)

### AI overview

The Red toolchain can now statically link C++ libraries and include their runtime on Windows, Linux (x86 and ARM), and macOS, using the existing import system and compilation switch; it accepts native object formats from MSVC, GCC, and clang. Requirements differ by platform: Windows needs Visual Studio Build Tools with the C++ workload for C++ libraries or code using Microsoft's static runtime; Linux needs GCC runtime archives beside the library; macOS needs no additional runtime setup. The excerpt says imported functions must expose a C interface, so C++ classes or templates need a thin C shim, and exceptions should be caught within exported functions. Link-time-optimized objects are unsupported, and Windows builds should use the static runtime. The stated current constraint is support for 32-bit libraries while the 64-bit toolchain is pending.

### Source excerpt

When we introduced static linking of C libraries, the promise was simple: name a .lib or .a archive in your #import, compile with -s, and ship one self-contained executable, no DLLs riding along, nothing to install on the target machine. There was one big frontier left, and everyone saw it coming: the libraries people want most (vision, GUI, audio, machine learning) are written in C++. A C++ library is a very different animal to link: it brings global constructors, exceptions, RTTI, templates, thread-local storage, and an entire language runtime that expects to be wired up just so. Until now, that was the line where you switched back to DLLs. That line is gone. The Red toolchain now statically links C++ libraries too (their runtime included) on every platform Red targets: Windows, Linux (x86 and ARM), and macOS. The best part: nothing changes. It is the same import system and same compilation switch: red -r -s myapp.red Libraries built with MSVC, GCC or clang are all accepted, in their native object formats. What you need preinstalled ➤ Windows: for C++ libraries (or C code built against Microsoft's static runtime), install the free Visual Studio Build Tools with the "Desktop development with C++" workload. Just one installer, and Red locates everything by itself: no vcvarsall, no PATH, no environment variables. Plain C libraries still need nothing at all and that now extends to C libraries touching COM, DirectX or MediaFoundation: the GUID constants such code references ship inside the toolchain, so a fresh Windows 11 with only red-toolchain executable on it links them! ➤ Linux: the GNU runtime archives from your distribution's gcc packages (libstdc++.a, libgcc.a and friends) placed next to your library. If one is missing, the linker names exactly what it needs. ➤ macOS: nothing beyond the toolchain; the system C++ runtime binds automatically. Some constraints 32-bit libraries for now, until the 64-bit toolchain is ready. The imported surface must be C (extern "C",

## Static linking support

DevFeed: [Static linking support](<https://devfeed.tech/articles/static-linking-support-22392.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2026/06/static-linking-support.html>)

Author: Nenad Rakocevic (noreply@blogger.com)

Published: 2026-06-29T18:39:33Z

Content type: release

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [static linking](<https://devfeed.tech/topics/static-linking.md>), [linker](<https://devfeed.tech/topics/linker.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [Red](<https://devfeed.tech/topics/red.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [c](<https://devfeed.tech/tags/c.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [linker](<https://devfeed.tech/tags/linker.md>), [mod-player](<https://devfeed.tech/tags/mod-player.md>), [soundtracker](<https://devfeed.tech/tags/soundtracker.md>), [static-linking](<https://devfeed.tech/tags/static-linking.md>)

### AI overview

Red/System's toolchain now supports statically linking C libraries into a single self-contained executable. The linker reads platform object formats, selects needed sections, resolves system symbols, and applies relocations. In the example, miniz is compiled as a static library; its object must match Red/System's current 32-bit output, and disabling C++ exception tables and stack canaries avoids runtime helper references. The imported library name can stay extensionless: by default it resolves to the platform's shared library, while a static-link switch makes it resolve to the static library so its code is included in the executable. The excerpt shows the MSVC build beginning but omits the full commands and later platform details.

### Source excerpt

We must free ourselves of the hope that the sea will ever rest. We must learn to sail in high winds. -Aristotle Onassis The coding agents revolution is taking the world by storm and we are right in the middle of it. Like most of you, we have experimented with the agent's amazing (and frustrating) capabilities, pondering the role of Red and our vision in that new world. The conclusion is (un)surprisingly clear, Red is still very relevant and will be even more so as we improve it to better work with agents. In the meantime, here are some treats, starting with expanding our toolchain to support static linking of libraries written in C, allowing you to distribute single executables with all dependencies packed inside. This work has been done with the heavy assistance of frontier models and local harnesses (Claude Code and Codex). You might expect that to be a small addition, but a static linker has to read each platform's object format, pull in just the pieces it needs, fold duplicated sections, resolve system symbols and patch relocations by hand, so there was quite a bit of machinery to put together. The reward is the result everyone wants: a single, self-contained binary, with nothing to install beside it. A simple example Let's compress some data without shipping a compression library next to our program. For something concrete we will use miniz, a small, MIT-licensed library that implements the well-known zlib and deflate APIs. It is distributed as a single `miniz.c` / `miniz.h` pair, which makes it especially convenient to compile and link. The first step is to compile miniz into a static library. There are only two things to keep in mind. Red/System currently produces 32-bit code, so the object has to be 32-bit too; and it helps to switch off a couple of compiler extras (C++ exception tables and stack canaries) that would otherwise make the object reference runtime helpers we do not need. On Windows, with MSVC: cl /c /MT /GS- /EHs-c- /GR- miniz.c lib /out:miniz.l

## Red Agent and Claude Opus: Securing Production Targets at Scale

DevFeed: [Red Agent and Claude Opus: Securing Production Targets at Scale](<https://devfeed.tech/articles/red-agent-and-claude-opus-securing-production-targets-at-scale-53946.md>)

Original publisher: [Read original article](<https://www.wiz.io/blog/red-agent-claude-opus>)

Author: Shaked Rotlevi

Published: 2026-04-30T17:07:36Z

Content type: release

Language: en

Sources: [Wiz](<https://devfeed.tech/sources/wiz-blog-rss-feed.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Security](<https://devfeed.tech/topics/security.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [anthropic](<https://devfeed.tech/topics/anthropic.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [claude](<https://devfeed.tech/tags/claude.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [product](<https://devfeed.tech/tags/product.md>), [production](<https://devfeed.tech/tags/production.md>), [scale](<https://devfeed.tech/tags/scale.md>), [security](<https://devfeed.tech/tags/security.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

### AI overview

Wiz describes its Red Agent, an AI-powered attacker now in public preview for Wiz ASM Advanced customers. Powered in part by Anthropic Claude Opus models, the agent continuously analyzes production web applications and APIs, adapting attack patterns to identify exploitable risks.

### Source excerpt

Delivering enterprise-grade continuous AI-powered risk assessment to hundreds of customers through the combined power of Wiz and Anthropic

## ESP-ZeroCode adds RED-DA documentation support for Matter device firmware

DevFeed: [ESP-ZeroCode adds RED-DA documentation support for Matter device firmware](<https://devfeed.tech/articles/red-da-compliant-matter-devices-with-esp-zerocode-13741.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/2025/12/red_da_matter_esp_zerocode/>)

Author: John Lee

Published: 2025-12-08T00:00:00Z

Content type: article

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [Espressif](<https://devfeed.tech/topics/espressif.md>), [Matter](<https://devfeed.tech/topics/matter.md>), [EN 18031](<https://devfeed.tech/topics/en-18031.md>), [Red](<https://devfeed.tech/topics/red.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [en-18031](<https://devfeed.tech/tags/en-18031.md>), [espressif](<https://devfeed.tech/tags/espressif.md>), [firmware](<https://devfeed.tech/tags/firmware.md>), [matter](<https://devfeed.tech/tags/matter.md>), [ota](<https://devfeed.tech/tags/ota.md>), [product-development](<https://devfeed.tech/tags/product-development.md>), [redda](<https://devfeed.tech/tags/redda.md>), [zerocode](<https://devfeed.tech/tags/zerocode.md>)

### AI overview

Espressif describes an ESP-ZeroCode integration that generates Matter device firmware alongside a RED-DA-oriented documentation starter package. The package includes pre-filled templates covering platform security, network and secure-update mechanisms, and EN 18031 mappings; manufacturers must add device-specific information to complete the technical file.

### Source excerpt

In this blog we will introduce how combining the Espressif RED-DA compliance framework along with the ESP ZeroCode platform can help accelerate your product development

## Svelte launches a unified website for Svelte, SvelteKit, and related resources

DevFeed: [Svelte launches a unified website for Svelte, SvelteKit, and related resources](<https://devfeed.tech/articles/the-omnisite-3051.md>)

Original publisher: [Read original article](<https://svelte.dev/blog/the-omnisite>)

Author: Rich Harris

Published: 2024-10-21T00:00:00Z

Content type: release

Language: en

Sources: [Svelte](<https://devfeed.tech/sources/svelte-blog.md>)

Topics: [Website](<https://devfeed.tech/topics/website.md>), [Svelte](<https://devfeed.tech/topics/svelte.md>), [Red](<https://devfeed.tech/topics/red.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [web design](<https://devfeed.tech/topics/web-design.md>), [navigation](<https://devfeed.tech/topics/navigation.md>)

Tags: [dark-mode](<https://devfeed.tech/tags/dark-mode.md>), [links](<https://devfeed.tech/tags/links.md>), [modern-web-design](<https://devfeed.tech/tags/modern-web-design.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [svelte](<https://devfeed.tech/tags/svelte.md>), [sveltekit](<https://devfeed.tech/tags/sveltekit.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ui-design](<https://devfeed.tech/tags/ui-design.md>), [web-design](<https://devfeed.tech/tags/web-design.md>)

### AI overview

Svelte launched a unified website that brings its main site, SvelteKit, documentation, and tutorial resources under the svelte.dev domain. The consolidation addresses cross-site search, navigation, link validation, shared preferences, and page reload issues.

### Source excerpt

Launching Svelte 5 and the brand new sv CLI wasn't enough: we've also released a brand new website. You're looking at it. Up until now, we've maintained multiple different sites under the svelte.dev domain -- the main site, for Svelte itself, along with kit.svelte.dev and learn.svelte.dev. This had some minor benefits, but was mostly a nuisance: inability to search across sites subtly different navigation potential for broken links (at build time, SvelteKit automatically validates that every internal link is correct, but links to other sites are a different matter) preferences such as dark mode are not shared between sites navigating between (for example) documentation and the tutorial involves a full page reload From an implementation perspective, keeping multiple sites in sync proved to be a headache. Having everything under a single roof means you'll have an easier time finding the information you need. Right now, the site includes documentation for Svelte and SvelteKit; soon, it will also cover the CLI and additional packages like vite-plugin-svelte. New look We've also given the site a facelift. Our logo and hero artwork ('the machine'), designed by the brilliant Achim Vedam, are unchanged -- these, and the Svelte orangey-red colour, are still the cornerstones of our visual identity. But many other aspects of the site have been cleaned up, starting with the five Bs -- boxes, backgrounds, borders, box-shadows, bold text -- which are tempting to overuse when organising information on a page. By getting rid of most of these and simplifying our colour palette, the site is calmer, more cohesive and less cramped. We've also updated our button styles so that they actually look like buttons (a radical concept in modern UI design, unfortunately). What the font? Of course, the most salient difference is the typography. Previously, we used Overpass for everything except code -- logo, headers, UI elements and body copy. It's surprisingly versatile given its origins as an adapta

## Red in the real world

DevFeed: [Red in the real world](<https://devfeed.tech/articles/red-in-the-real-world-22388.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2024/05/red-in-real-world.html>)

Author: Unknown (noreply@blogger.com)

Published: 2024-05-27T17:37:00Z

Content type: article

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Tree-sitter](<https://devfeed.tech/topics/tree-sitter.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [red](<https://devfeed.tech/tags/red.md>), [use-cases](<https://devfeed.tech/tags/use-cases.md>), [xml](<https://devfeed.tech/tags/xml.md>)

### AI overview

SmartXML is a commercial XML processor built in Red to handle parsing tasks against real-world XML data. Its author says existing tools and standards such as XPath and XSD proved less useful for their needs than expected. They chose Red for its simpler approach and hoped-for long-term stability, despite the project taking years rather than the initially estimated six months. The source also highlights Red dialects and representing data in Red internally as ways to make processing code easier to maintain and extend than a regex-based approach. The provided excerpts do not include the full account of SmartXML's design or features.

### Source excerpt

We're often asked what Red can be used for, or what apps have been written in Red. Red can be used to write almost anything, but the sparse ecosystem and some missing pieces limit certain use cases. It's used a lot for in-house data processing, custom DSLs, simple GUI apps, and more. We also used it to build Redlake's DiaGrammar product. When we heard that someone had written a commercial app in Red, we thought that was great news, and we're here to tell you a little about it. Your first question is likely "What is it?" and the second "Where can I get it?". It's an XML processor, and you can find it here. The video on their site goes into detail about use cases and features, so we won't cover that here. We asked the author to talk about why they wrote SmartXML why those chose Red for the implementation. Here's what they had to say: Once I encountered the need to parse multiple XML files. I always thought that parsing tasks were very simple and that I wouldn't encounter any difficulties because there are things like XPath and XSD that, as I was told, solve all possible problems. However, I quickly realized that this was not the case, and some tools/standards only complicate life and are of little use for real-world usage. Thus, my XML parser project was born, which would allow working with real data rather than synthetic examples where XPath and XSD are truly effective. I chose Red because I was tired of the complexity of 90% of modern languages and the constant breaking changes in many of them. If you were to ask me what language I would choose to start a project with, looking back, I would still choose Red or perhaps try to use Hare (even considering that it's not yet completed) simply because I want to be sure that my solution will work in 10 or even 20 years. Initially, I thought I could finish within half a year, but the project took me many years. Nevertheless, I brought the project to completion. The main idea behind SmartXML was: 1. To make the parsing proces

## Important Change! Switching map and construction syntax.

DevFeed: [Important Change! Switching map and construction syntax.](<https://devfeed.tech/articles/important-change-switching-map-and-construction-syntax-22387.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2024/02/important-change-switching-map-and.html>)

Author: Unknown (noreply@blogger.com)

Published: 2024-02-11T14:37:00Z

Content type: opinion

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Code](<https://devfeed.tech/topics/code.md>), [Script](<https://devfeed.tech/topics/script.md>), [Instrumentation](<https://devfeed.tech/topics/instrumentation.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [instrumentation](<https://devfeed.tech/tags/instrumentation.md>), [language](<https://devfeed.tech/tags/language.md>), [lexer](<https://devfeed.tech/tags/lexer.md>), [map](<https://devfeed.tech/tags/map.md>), [maps](<https://devfeed.tech/tags/maps.md>), [migration](<https://devfeed.tech/tags/migration.md>), [safety](<https://devfeed.tech/tags/safety.md>), [switching](<https://devfeed.tech/tags/switching.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

The article announces that Red and Rebol3 will swap the syntactic forms used for map! values and construction syntax. It explains the evaluation behavior motivating the change, notes the resulting incompatibility with Rebol2 construction syntax, and describes tools for automatically converting scripts.

### Source excerpt

Sometimes deep changes take a huge amount of code. Sometimes they take a lot of detailed explanation and consideration, leading to long discussions and people taking sides. Rarely does an important syntactic change to a language happen quickly, with universal agreement, simple implementation, and tools to help update scripts in the wild. Today is one of those rare days. Admittedly, this idea has been discussed for a long time. It would surface, people nodded their virtual heads, and it would submerge again. Today it's ready to deploy. Not only that, but Rebol3 is making the same change, so the two languages will still be compatible in this regard. What is the change? It's easy to describe. Today, map! values use this syntax: #(...) and construction syntax (sometimes called serialized form or loadable form) looks like this: #[...]. Going forward, those syntactic forms will be swapped. Why? The answer is easy. In Redbol langs, blocks do not evaluate by default, you have to do or reduce them. Parens, on the other hand, do evaluate by default. Today, maps use paren-like syntax, but they do not evaluate, while construction syntax uses block-like syntax, but does evaluate. This is a carryover from Rebol, so the major concession here is that Red and Rebol3 will no longer be compatible with Rebol2's construction syntax. If you've never heard of construction syntax, there's a nice explanation of it here. Red only supports a few values via construction syntax today, all datatype literals, true, false, none, and unset; but eventually it will support much more. If you look at the help for mold, you'll see that /all is TBD (very partially implemented for now), and that's how you create loadable, serialized, data that can safely and easily contain any value (like redbin but readable by humans). It helps avoid cases where none or true/false may load as words. This is also why construct evaluates those specific words (including also on/off/yes/no), but not others. When loading untr

## Subpixel GUI

DevFeed: [Subpixel GUI](<https://devfeed.tech/articles/subpixel-gui-22384.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2023/08/subpixel-gui.html>)

Author: Nenad Rakocevic (noreply@blogger.com)

Published: 2023-08-09T13:32:00Z

Content type: article

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [GUI](<https://devfeed.tech/topics/gui.md>), [floating-point](<https://devfeed.tech/topics/floating-point.md>), [API](<https://devfeed.tech/topics/api.md>), [test](<https://devfeed.tech/topics/test.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [4k](<https://devfeed.tech/tags/4k.md>), [components](<https://devfeed.tech/tags/components.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [gui](<https://devfeed.tech/tags/gui.md>), [pairs](<https://devfeed.tech/tags/pairs.md>), [points](<https://devfeed.tech/tags/points.md>), [precision](<https://devfeed.tech/tags/precision.md>), [scale](<https://devfeed.tech/tags/scale.md>), [subpixel](<https://devfeed.tech/tags/subpixel.md>)

### AI overview

The article explains how Red/View addressed a GUI dragging glitch caused by converting integer coordinates to floating-point values on displays using scaling above 100%. It introduces point2D! and point3D! datatypes to represent decimal positions and sizes.

### Source excerpt

Maybe you didn't notice, but Red/View, our GUI engine, has subpixel precision from the beginning! Unfortunately, that level of precision was not directly accessible to end users, until now. Actually, it would be more accurate to say that we had subpixel resolution only so far. The guilty part is the pair! datatype being limited to integer components only, while subpixel precison requires decimal numbers. So we have recently introduced new datatypes to cope with that. What urged us to make those changes now was a very peculiar visual glitch caused by that dissonance. That glitch happens during face dragging operations. Here is an example using our View test script: As you can see, on some positions, the face starts shaking while the mouse cursor remains still. This affects any type of face. The shaking is about ±2 pixels. It is caused by the difference in precision between the /offset facet expressed in integer numbers and the backend API, which only deals with floating point numbers. The accumulated error when converting integer->float->integer gives a 2 pixels difference. Such error happens on displays where the scaling factor is different from 100%. With the rise of 2K, 3K and 4K displays, a scaling factor > 100% has become the norm, making this glitch more frequent. You might think that this is not a big issue until you start building custom scrollbars and see your entire scrolled content shaking massively... New point datatypes In order to provide decimal positions and sizes for View faces, extending the existing pair! datatype was considered, though, the pair syntax can hardly scale up for such needs: 2343.122x54239.44 2343.122x54239.44x6309.332 2343.122x54239.44x6309.332x442.3321 2.33487e9x54239.44 2.33487e9x54239.44x9.83242e17 2.33487e9x54239.44x9.83242e17x5223.112 1.#infx1.#infx1.#inf As you can notice there, it quickly becomes difficult to read and identify the individual components. So we opted for adding a new literal form (hence a new datatype) that matc

## Dynamic Refinements and Function Application

DevFeed: [Dynamic Refinements and Function Application](<https://devfeed.tech/articles/dynamic-refinements-and-function-application-22383.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2023/06/dynamic-refinements-and-function.html>)

Author: Nenad Rakocevic (noreply@blogger.com)

Published: 2023-06-07T22:55:00Z

Content type: article

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [apply](<https://devfeed.tech/tags/apply.md>), [build](<https://devfeed.tech/tags/build.md>), [code](<https://devfeed.tech/tags/code.md>), [examples](<https://devfeed.tech/tags/examples.md>), [functional](<https://devfeed.tech/tags/functional.md>), [hof](<https://devfeed.tech/tags/hof.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

This article explains Red's new apply functionality and dynamic refinements. It describes how dynamic refinement values are retrieved from context, how unused arguments are handled, and how Apply/all supplies function parameters in specification order with type-checked logic values for refinement slots.

### Source excerpt

It's Time to Apply Yourself to Red Red has never had an apply function, though we knew it would come someday. In the meantime, some of us rolled our own. Gregg's was simple, neither flexible nor efficient, and just a couple lines of code. Boris made a much more capable version, but it could still only be so fast as a mezzanine. R2 had a mezz version, which suffered the same problem. All that changes now. Apply is dead! Long live Apply! It required deep work, and a lot of design effort, but we think you'll like the results, whether you're a high-level Reducer, or anxious to see how much leverage you can, um, apply, from a functional perspective. Everybody wins. If you don't know what apply is, in terms of functional languages, take a moment and read up. If you can get through the introduction there without getting dizzy, great. If your head is spinning, feel free to stop after the first section of this article and ignore the deep dive. You still get 90% of the value for most high level use cases. Gregg got so dizzy that he fell down, but was still able to help with this article. Function application is largely about composition. How you can combine functions in a concise way for maximum leverage and minimum code. The problem with its design in many languages is that it makes things harder to understand. Rather than concrete functions names, there is indirection and abstraction. It can be tricky to get right, especially in a flexible language like Red, while also maintaining as much safety as possible. You can drive fast, but still wear your seat belt. Dynamic Refinements This subtle feature is likely to see wide use, because it will reduce code and let people build more flexible functions. It's also easy to explain. Here's an example. First, how you would write it today: repend: func [ {Appends a reduced value to a series and returns the series head} series [series!] value /only "Appends a block value as a block" ][ either only [ append/only series reduce :value ][ a

## New Red binaries

DevFeed: [New Red binaries](<https://devfeed.tech/articles/new-red-binaries-22381.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2022/07/new-red-binaries.html>)

Author: Nenad Rakocevic (noreply@blogger.com)

Published: 2022-07-29T16:18:00Z

Content type: release

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [GUI](<https://devfeed.tech/topics/gui.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [cli](<https://devfeed.tech/tags/cli.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [console](<https://devfeed.tech/tags/console.md>), [download](<https://devfeed.tech/tags/download.md>), [gui](<https://devfeed.tech/tags/gui.md>), [releases](<https://devfeed.tech/tags/releases.md>)

### AI overview

Red introduces separate pre-built binaries for its GUI console, CLI console, and toolchain to reduce first-use delays. The project is temporarily dropping semantic versioning before version 1.0 and will primarily provide binaries for the latest commit.

### Source excerpt

Since many years, we are offering pre-built binaries for the Red toolchain, as a more convenient way to use Red, even if it is not strictly needed, as Red can be run from its sources, the toolchain being run by a Rebol2 interpreter. As the Red REPL and toolchain are not run by the same engine, the console (REPL) used to be compiled on first run of the `red` executable (when no arguments was provided or a Red script was passed). This resulted in a significant delay on the first use of the console (both for the GUI and CLI versions). We have now decided to change that by providing separate pre-built binaries for the consoles and toolchain. This is a temporary split until Red gets self-hosted, at which point we can recombine everything into a single binary. Another change is the temporary dropping of the semantic versioning until version 1.0 and related "stable" releases, as it seems to be too confusing to some users (Red being still in alpha stage). This also will remove a tendency from some users to care more about version increments than feature availability and work being done overall. We will now be proposing only pre-built binaries for latest commit, though older binaries will still be available if that can be of any help to anyone. So the pre-built binaries now are: Red GUI : Red interpreter + View + GUI console Red CLI : Red interpreter + CLI console Red Toolchain : Encapper for Red + Red/System compiler We are also considering ways to merge the GUI and CLI consoles into a single binary which can work even if no GUI API is available, falling back on CLI mode. We will also have the console(s) act as a front-end for the toolchain, even downloading it for you in the background when needed. Though for that we need a proper asynchronous `call` function implementation. More news about this soon. In the meantime, enjoy running Red consoles almost instantly from just a click on the Download page!

## The Road To 1.0

DevFeed: [The Road To 1.0](<https://devfeed.tech/articles/the-road-to-1-0-22382.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2022/07/the-road-to-10.html>)

Author: Nenad Rakocevic (noreply@blogger.com)

Published: 2022-07-14T16:41:00Z

Content type: release

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [roadmaps](<https://devfeed.tech/topics/roadmaps.md>), [Deadlock](<https://devfeed.tech/topics/deadlock.md>)

Tags: [64-bit](<https://devfeed.tech/tags/64-bit.md>), [adoption](<https://devfeed.tech/tags/adoption.md>), [announce](<https://devfeed.tech/tags/announce.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [core](<https://devfeed.tech/tags/core.md>), [features](<https://devfeed.tech/tags/features.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [incremental](<https://devfeed.tech/tags/incremental.md>), [language](<https://devfeed.tech/tags/language.md>), [model](<https://devfeed.tech/tags/model.md>), [module](<https://devfeed.tech/tags/module.md>), [modules](<https://devfeed.tech/tags/modules.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [package-management](<https://devfeed.tech/tags/package-management.md>), [repo](<https://devfeed.tech/tags/repo.md>), [run](<https://devfeed.tech/tags/run.md>), [specification](<https://devfeed.tech/tags/specification.md>), [third-party](<https://devfeed.tech/tags/third-party.md>), [toolchain](<https://devfeed.tech/tags/toolchain.md>)

### AI overview

Red's team is narrowing its focus to completing version 1.0, aiming for a stable core language that can support broader adoption and future commercial products. The plan begins by upgrading the current 32-bit implementation: write a complete specification to resolve edge cases (and potentially drop inconsistent features), add modules and package management tied to a central third-party library repository, and define concurrency with a prototype. Before a new toolchain, the existing one will be adjusted: the Red compiler will be dropped and retained only as a "smart" encapper, while routines and #system directives remain supported with possible restrictions. The stated goal is to leave Red with one execution model instead of two. The excerpt cuts off during the toolchain discussion, so later stages and details are not available.

### Source excerpt

You cannot have missed that in the last months (and even last years), our overall progress has slowed down drastically. One of the main reasons is that we have spread our limited resources chasing different objectives while making little progress on the core language. That is not satisfying at all and would bring us most likely to a dead-end as we exhaust our funding. We have spent the last weeks discussing about how to change that. This is our updated action plan. From now on, our only focus will be to finish the core language and bring it to the much-awaited version 1.0. We need to reach that point in order to kickstart a broader adoption and provide us and our users a stable and robust foundation upon which we can build commercial products and services necessary for sustainability. Given the complexities involved in completing the language and bringing an implementation that can run on modern 64-bit platforms, we have devised a two-stage plan. Upgrade the current 32-bit Red implementation 👉 Language specification It is now time to do so in order to clean-up some semantic rules and address all possible edge cases which will help fulfill our goals of implementation robustness and stability. The process of writing down the complete language specs will result in dropping some features that we currently have that end up being problematic or inconsistent. OTOH, we might add some new features that will need to be implemented for 1.0. 👉 Modules We need a proper module system in order to be scalable. We also need to have a proper package management system which will be tied to a central repo where we can gather third-party libraries. That would also enable modular/incremental compilation (or encapping) which will be most probably supported in the self-hosted toolchain. 👉 Concurrency We need a proper model for concurrent execution in order to leverage multicore architectures. We will define one and make a prototype implementation in the 32-bit version. 👉 Toolchain Before s

## Red Team Update: DiaGrammar, Product Development, and Red Language Progress

DevFeed: [Red Team Update: DiaGrammar, Product Development, and Red Language Progress](<https://devfeed.tech/articles/long-time-no-blog-22379.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2021/08/long-time-no-blog.html>)

Author: Unknown (noreply@blogger.com)

Published: 2021-08-04T00:21:00Z

Content type: opinion

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [blog-post](<https://devfeed.tech/tags/blog-post.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [product-development](<https://devfeed.tech/tags/product-development.md>), [software](<https://devfeed.tech/tags/software.md>), [update](<https://devfeed.tech/tags/update.md>)

### AI overview

The Red team explains a year of team changes, its shift toward product development alongside core Red Language development, and the release and subsequent updates of DiaGrammar for Windows. The team also describes lessons from building a commercial product and reports more than 400 fixes and 100 features added to Red.

### Source excerpt

It's been almost a year since our last blog post. Sorry about that. It's one of those things that falls off our radar without a person dedicated to it, and we run lean so don't have anyone filling that role right now. We know it's important, even if we have many other channels where people can get information. So here we are. Last year was a tough year all around, even for us. We were already a remote-only team, but the effect the pandemic had on the world, particularly travel, hit us too. We had some team changes, and also split our focus into product development alongside core Red Language development. This is necessary for sustainability, because people don't pay for programming languages, and they don't pay for Open Source software. There's no need to comment on the exceptions to these cases, because they are exceptions. The commercial goal, starting out, is to focus on our core strengths and knowledge, building developer-centric tools. Our first product, DiaGrammar for Windows, was released in December 2020, and we've issued a number of updates to it since then. Our thanks to Toomasv for his ingenuity and dedication in creating DiaGrammar. We are a team, but he really accepted ownership of the project and took it from an idea to a great product. Truly, there is nothing else like it on the market. We learned a lot from the process of creating a product, and will apply that experience moving forward. An important lesson is that the product itself is only half the work. As technologists, we're used to writing the code and maybe writing some docs to go with it. We don't think about outreach, marketing, payments, support, upgrade processes for users, web site issues, announcements, and more. The first time you do something is the hardest, and we're excited to improve and learn more as we update DiaGrammar and work on our next product. We'll probably announce what it will be in Q4. One thing we can say right now is that the work on DiaGrammar led to a huge amount of

## Red/System: New Features

DevFeed: [Red/System: New Features](<https://devfeed.tech/articles/red-system-new-features-22378.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2020/08/redsystem-new-features.html>)

Author: Nenad Rakocevic (noreply@blogger.com)

Published: 2020-08-20T10:54:00Z

Content type: release

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [arrays](<https://devfeed.tech/tags/arrays.md>), [atomic](<https://devfeed.tech/tags/atomic.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [features](<https://devfeed.tech/tags/features.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [fpu](<https://devfeed.tech/tags/fpu.md>), [ia-32](<https://devfeed.tech/tags/ia-32.md>), [literal-arrays](<https://devfeed.tech/tags/literal-arrays.md>), [math](<https://devfeed.tech/tags/math.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [pointers](<https://devfeed.tech/tags/pointers.md>), [red-system](<https://devfeed.tech/tags/red-system.md>), [runtime-errors](<https://devfeed.tech/tags/runtime-errors.md>), [vfp](<https://devfeed.tech/tags/vfp.md>)

### AI overview

An overview of recent Red/System features, including subroutines, atomic and stack intrinsics, FPU status access, and changes to literal arrays.

### Source excerpt

In the past months, many new features were added to Red/System, the low-level dialect embedded in Red. Here is a sum up if you missed them. Subroutines During the work on the low-level parts of the new Red lexer, the need arised for intra-function factorization abilities to keep the lexer code as DRY as possible. Subroutines were introduced to solve that. They act as the GOSUB directive from Basic language. They are defined as a separate block of code inside a function's body and are called like regular functions (but without any arguments). So they are much lighter and faster than real function calls and require just one slot of stack space to store the return address. The declaration syntax is straightforward: <name>: [<body>] <name> : subroutine's name (local variable). <body> : subroutine's code (regular R/S code). To define a subroutine, you need to declare a local variable with the subroutine! datatype, then set that variable to a block of code. You can then invoke the subroutine by calling its name from anywhere in the function body (but after the subroutine own definition). Here is a first example of a fictive function processing I/O events: process: func [buf [byte-ptr!] event [integer!] return: [integer!] /local log do-error [subroutine!] ][ log: [print-line [">>" tab e "<<"]] do-error: [print-line ["** Error:" e] return 1] switch event [ EVT_OPEN [e: "OPEN" log unless connect buf [do-error]] EVT_READ [e: "READ" log unless receive buf [do-error]] EVT_WRITE [e: "WRITE" log unless send buf [do-error]] EVT_CLOSE [e: "CLOSE" log unless close buf [do-error]] default [e: "<unknown>" do-error] ] 0 ] This second example is more complete. It shows how subroutines can be combined and how values can be returned from a subroutine: #enum modes! [ CONV_UPPER CONV_LOWER CONV_INVERT ] convert: func [mode [modes!] text [c-string!] return: [c-string!] /local lower? upper? alpha? do-conv [subroutine!] delta [integer!] s [c-string!] c [byte!] ][ lower?: [all [#"a" <= c c <= #

## A New Fast and Flexible Lexer

DevFeed: [A New Fast and Flexible Lexer](<https://devfeed.tech/articles/a-new-fast-and-flexible-lexer-22377.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2020/08/a-new-fast-and-flexible-lexer.html>)

Author: Nenad Rakocevic (noreply@blogger.com)

Published: 2020-08-03T12:06:00Z

Content type: release

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>), [Instrumentation](<https://devfeed.tech/topics/instrumentation.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [code](<https://devfeed.tech/tags/code.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [function](<https://devfeed.tech/tags/function.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [instrumentation](<https://devfeed.tech/tags/instrumentation.md>), [lexer](<https://devfeed.tech/tags/lexer.md>), [load](<https://devfeed.tech/tags/load.md>), [performance](<https://devfeed.tech/tags/performance.md>)

### AI overview

The Red programming language has introduced a new lexer written in Red/System. It is designed to load large quantities of Red values quickly and adds scanning and event-oriented instrumentation features. The article reports typical performance gains of 50 to 200 times over the previous lexer and describes benchmark tasks and known issues affecting older-version results.

### Source excerpt

A programming language lexer is the part in charge of converting textual code representation into a structured memory representation. In Red, it is accomplished by the load function, which calls the lower-level transcode native. Until now, Red was relying on a lexer entirely written using the Parse dialect. Though, the parsing rules were constructed to be easily maintained and not for performance. Rewriting those rules to speed them up could have been possible, but rewriting the lexer entirely in Red/System would give the ultimate performance. It might not matter for most user scripts, but given that Red is also a data format, we need a solution for fast (near-instant) loading of huge quantities of Red values stored in files or transferred through the network. The new lexer main features are: High performance, typically 50 to 200 times faster than the older one. New scanning features: identify values and their datatypes without loading them. Instrumentation: customize the lexer's behavior at will using an event-oriented API. The reference documentation is available there. This new lexer is available in Red's auto-builds since June. Performance Vastly increased performance is the main driver for this new lexer. Here is a little benchmark to let you appreciate how far it gets. The benchmarking tasks are: 100 x compiler.r: loads 100 times compiler.r source file from memory (~126KB, so about ~12MB in total). 1M short integers: loads a string of 1 million `1` separated by a space. 1M long integers: loads a string of 1 million `123456789` separated by a space. 1M dates: loads a string of 1 million `26/12/2019/10:18:25` separated by a space. 1M characters: loads a string of 1 million `#"A"` separated by a space. 1M escaped characters: loads a string of 1 million `#"^(1234)"` separated by a space. 1M words: loads a string of 1 million `random "abcdefghijk"` separated by a space. 100K words: loads a string of 100 thousands `random "abcdefghijk"` separated by a space. And the

## Red announces preliminary Parse documentation and other planned projects for 2020

DevFeed: [Red announces preliminary Parse documentation and other planned projects for 2020](<https://devfeed.tech/articles/happy-new-year-22375.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2020/01/happy-new-year.html>)

Author: Unknown (noreply@blogger.com)

Published: 2020-01-01T07:23:00Z

Content type: article

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>)

Tags: [compilers](<https://devfeed.tech/tags/compilers.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [encoding](<https://devfeed.tech/tags/encoding.md>), [languages](<https://devfeed.tech/tags/languages.md>), [lexer](<https://devfeed.tech/tags/lexer.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [validation](<https://devfeed.tech/tags/validation.md>)

### AI overview

Red's New Year article previews projects planned for 2020, including a new product and a robust preliminary draft of documentation for the Parse dialect. It explains Parse's uses in searching, validation, extraction, modification, language processing, and encoding and decoding data formats.

### Source excerpt

Hello and happy new year, friends of Red! We have some exciting projects we've been working on that will be available this year, including a new product. Let's talk a little about what the team has been working on behind the scenes. (TL;DR: A cool new product with Red in 2020...plus, a robust preliminary draft of Parse documentation can now be previewed...CLI library...fast-lexer to merge soon...GTK on the horizon...and a new native OS calendar widget!) Documentation for Parse: Red's Language Construction Tool Our esteemed forerunner, Rebol, broke new ground with its Parse dialect, which Red has expanded on. Today, in Red, Parse has become an even more powerful built-in dialect (embedded domain-specific language) that processes input series with grammar rules in a clean and simple manner. Other language building tools exist, of course, such as Lexx and Yacc. ANTLR is a modern framework built in Java, and libraries exist for other languages, but the ease of use and power that Red's Parse offers is unique. This isn't a new feature, by any means, with the first public introduction here. Parse is easy enough to use that those basic docs have been enough, for the most part. But over time, with new users joining the Parse chat room to discuss the dialect, and it was time for full reference documentation. For the uninitiated, Parse can be used to for searching, to surface various patterns; validation, in order to confirm an input's compliance to a specification; extraction, to sift through data and aggregate values; and modification--that is, changing the input stream itself (insertion of values, removing or transforming matched input). And Parse's true power lies in language processing (compilers, interpreters, and lexical analyzers), particularly for DSLs; and encoding/decoding, to "translate" data formats from one to another. What makes Red's Parse dialect a killer feature is that you can do more than parse at the character level in strings of text. That's what every ot

## November 2019 in Review

DevFeed: [November 2019 in Review](<https://devfeed.tech/articles/november-2019-in-review-22374.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2019/12/november-2019-in-review.html>)

Author: Unknown (noreply@blogger.com)

Published: 2019-12-04T22:07:00Z

Content type: opinion

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [GTK](<https://devfeed.tech/topics/gtk.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [contributors](<https://devfeed.tech/tags/contributors.md>), [review](<https://devfeed.tech/tags/review.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

Red's November 2019 review highlights restored historic automatic builds, Red's addition to Stackshare, plans for beta testers for a new Red-built product, a proposal for standardizing series evolution, and more than 60 commits to the GTK branch.

### Source excerpt

Welcome to December, friends of Red. It's an intent and focused time of year as we wind down 2019, and the core team is making important moves (sometimes literally!) to set us up for an ambitious 2020. But first, here are just a few things that happened in November. First and foremost, it's always great when community members help compile resources for use by others, and we'd like to acknowledge @rebolek for his excellent compendium of historic automatic builds: https://rebolek.com/builds/ (they weren't available for a hot minute, but now they're back). They can be useful if you're in need of a previous version for a specific project. Of course, you can always go here for Red's daily automated builds. But seeing as how we've a goal of being a self-sustaining, self-selecting group of do-ers, this spirit of providing collective resources is perfectly aligned with the Red-Lang we always want to be. From the community, to outreach: thanks to community member @loziniak, Red is now on Stackshare, so be sure to follow us there and chime in. As a repo with 4.1k GitHub stars (and infinite possibilities), Red has a lot to offer the wider community of developers and engineers, and Stackshare is a great place to help compare and contrast us with other languages. Now, a challenge! In the coming new year we'll be needing beta testers willing to lend their expertise in refining a new product built with Red. You read that right! If you think you'd like to be one of the contributors to spearhead a move into our next phase, we want YOU! Drop a line to @greggirwin to get in on the ground floor. An appreciation to @hiiamboris for his deeply thought out proposal regarding "series evolution," a framework for standardizing and testing the functions we use in Red for manipulating series. Design is hard, and we have a number of initiatives in the works taking a lot of brain power right now. Over 60 commits were made to Red's GTK branch in November, making it almost ready for "prime time." T

## Editorial: A Brief Essay on Lexical Ambiguity by G. Irwin

DevFeed: [Editorial: A Brief Essay on Lexical Ambiguity by G. Irwin](<https://devfeed.tech/articles/editorial-a-brief-essay-on-lexical-ambiguity-by-g-irwin-22373.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2019/11/editorial-brief-essay-on-lexical.html>)

Author: Unknown (noreply@blogger.com)

Published: 2019-11-19T23:16:00Z

Content type: opinion

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [editorial](<https://devfeed.tech/tags/editorial.md>), [languages](<https://devfeed.tech/tags/languages.md>), [lexer](<https://devfeed.tech/tags/lexer.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

An editorial essay examines lexical ambiguity in Red and the trade-off between adding specialized lexical forms and preserving a language's flexibility, usability, and learnability. It argues that new lexical forms offer diminishing value and that a constrained hierarchy can help users remember rules.

### Source excerpt

The original commentary was posted in Red's Gitter channel, here, by Gregg Irwin, one of our core team members, in response to various requests for the ability to create new datatypes in Red. As a writer, Red has always appealed to me because of its flexibility; but, of course, "the [lexicon] devil is in the details," as the idiom goes (okay, I edited that idiom a little, but it was too cool a link to pass up). It means the more specific we try to be, the more challenges and limitations we encounter, and we can lose some of the amazing versatility of the language. On the other hand, precision and refinement--the "exact right word at the exact right time," can powerfully enhance a language's utility. The dynamic tension between what he calls "generality and specificity, human friendliness and artifice," in the text below, can be an energetic ebb and flow that serves to strengthen our language, to make it more robust. Two quotes from community members provide some context: _____________________________ > The real problem is not number of datatypes, but the lexical syntax of the new ones. -@Oldes > ...However if something like utype! is added, nothing prevents you from (ab)using system/lexer/pre-load and reinventing whole syntax. -@Rebolek "I don't support abusing system/lexer/pre-load, and (in the long view) there will almost certainly be special cases where a new lexical form makes sense. We can't see the future, so we can't rule it out. But, and this is key, how much value does each new one add? I believe that each new lexical form adds less value, and there is a point of diminishing returns. This is not just a lexical problem for Red, but for humans. We have limited capacity to remember rules, and a constrained hierarchy helps enormously here. Think more like linguists, and less like programmers or mathematicians. In language we have words and numbers. Numbers can be represented as words, with their notation being a handy shortcut for use in the domain of mathemati

## A Deeper Dive Into the Fast-Lexer Changes

DevFeed: [A Deeper Dive Into the Fast-Lexer Changes](<https://devfeed.tech/articles/a-deeper-dive-into-the-fast-lexer-changes-22371.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2019/10/a-deeper-dive-into-fast-lexer-changes.html>)

Author: Unknown (noreply@blogger.com)

Published: 2019-10-30T19:18:00Z

Content type: article

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>)

Tags: [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [lexer](<https://devfeed.tech/tags/lexer.md>), [performance](<https://devfeed.tech/tags/performance.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [vscode](<https://devfeed.tech/tags/vscode.md>)

### AI overview

The article explains why Red prioritized a new fast lexer. Benchmarking found the existing lexer was about 240 times slower than Rebol's, while duplicated lexer code also affected the console and VSCode plugin. The planned solution was to implement a smaller, simpler lexer in Red/System, inspired partly by research on fast parsers.

### Source excerpt

What made the fast-lexer branch a priority? Several things. It started when @dockimbel looked into ticket #3606, which was impossible to fix currently, and we didn't want to give up on the auto-syncing between /text and /data facets. So he had to consider bigger options, including how to make the lexer instrumentable. It was not easy, because the current lexer is not re-entrant, so having the lexer emit events to a callback function could have caused serious problems. Digging through all Red's repos showed that the current lexer code was duplicated twice, beyond the basic lexing needed by load: once in the console code, once in the VSCode plugin, each time for syntax coloring purposes, and each one lagging behind the original implementation. Not good. @Dockimbel then considered changing the current lexer to make it instrumentable, but the changes were significant and would have made the parse rules much more complex. At the same time, @qtxie did some benchmarking, and the result showed Red's lexer was ~240 times slower than Rebol's. This is not due to parse, but rather because the high-level rules were optimized for readability, not performance. The lexer also caused delays in the VSCode plugin, because of its (lack of) performance. The high level code has served Red well, and was a showcase for parse, but loading larger data is also being used by community members, and data sizes will just keep growing. With some projects we have on the horizon, the lexer's performance became a higher priority. As planned since the beginning (the lexer used to be R/S-only during the pre-Unicode era), @dockimbel decided the best option was to not postpone the conversion of the lexer to pure R/S code any longer, by porting R3's C-based lexer to R/S. After studying Rebol's lexer in detail, he realized that the code was quite complex in some places (mostly the prescanner), and would lead to less than optimal R/S code that would be hard to maintain. Evaluating the state of the art in fa

## October 2019 In Review

DevFeed: [October 2019 In Review](<https://devfeed.tech/articles/october-2019-in-review-22372.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2019/10/october-2019-in-review.html>)

Author: Unknown (noreply@blogger.com)

Published: 2019-10-25T06:14:00Z

Content type: article

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [Finite-state machine](<https://devfeed.tech/topics/finite-state-machine.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [Code](<https://devfeed.tech/topics/code.md>), [Wiki](<https://devfeed.tech/topics/wiki.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [github](<https://devfeed.tech/tags/github.md>), [performance](<https://devfeed.tech/tags/performance.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

An October 2019 Red language review reports major progress on the fast-lexer branch. Benchmarks describe substantially faster loading for large word and integer inputs, while the implementation remains unfinished and still requires keyword-loading and symbol-table optimizations. The article also highlights community guides, code statistics, build archives, and development tools.

### Source excerpt

Over the last few weeks the Red Lang core team drilled down to make some truly great progress on Red's fast-lexer branch--while we also gained valuable support from the contributions of Red doers and makers as they consolidate a world of useful information and resources. Fast-Lexer Benchmarks In the fast-lexer branch of Red, you can see lots of new work from Red creator @dockimbel (Nenad Rakocevic) and core teammate @qxtie. Among other fixes and optimizations, they substituted a hashtable for what had previously been a large array in context! The numbers so far: Loading 100'000 words (5 to 15 characters, 1MB file): Red (master): 19000ms. Red (fast-lexer): 150ms. Nenad's observations on further testing: "FYI, we just [ran] some simple benchmarks on the new low-level lexer for Red using 1M 10-digit integers. The new lexer completes the loading about 100 times faster than the current high-level one. Loading 1M 10-digit integers in one block: Red: 175ms; R2: 136ms; R3: 113ms. "We use a faster method than Rebol, relying on several lookup tables and a big FSM with pre-calculated transition table (while Rebol relies on a lot of code for scanning, with many branches, so bad for modern CPU with branch predictions). With an optimizing backend, Red's LOAD should in theory run 2-3 times faster than Rebol's one. (Though, we still need to optimize the symbol table loading in order to reach peak performance). Given that Rebol relies on optimized C code while Red relies on sub-optimal code from R/S compiler, that speaks volume about the efficiency of our own approach. So, Red/Pro should give us a much faster LOAD. "The lexer is not finished yet, but the hard part is done. We still need to figure out an efficient way to load keywords, like escaped character names (`^(line), ^(page), ...) and month nouns in dates." This is a huge accomplishment, and it's shaping up to make future goals even more impressive. The fast-lexer branch is a work in progress, but stay tuned: Nenad has more t

## The Latest: Red could help AI be more precise; community stars; one CSV codec to rule them all?

DevFeed: [The Latest: Red could help AI be more precise; community stars; one CSV codec to rule them all?](<https://devfeed.tech/articles/the-latest-red-could-help-ai-be-more-precise-community-stars-one-csv-codec-to-rule-them-all-22370.md>)

Original publisher: [Read original article](<https://www.red-lang.org/2019/09/the-latest-red-could-help-ai-be-more.html>)

Author: Unknown (noreply@blogger.com)

Published: 2019-09-15T19:23:00Z

Content type: news

Language: en

Sources: [Red](<https://devfeed.tech/sources/red.md>)

Topics: [Red](<https://devfeed.tech/topics/red.md>), [CSV](<https://devfeed.tech/topics/csv.md>), [coding-community](<https://devfeed.tech/topics/coding-community.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [codec](<https://devfeed.tech/tags/codec.md>), [community](<https://devfeed.tech/tags/community.md>), [csv](<https://devfeed.tech/tags/csv.md>), [red](<https://devfeed.tech/tags/red.md>)

### AI overview

Red reports that its experimental CSV codec has been merged into the master branch and is available in nightly builds. The team is seeking feedback on whether the standard codec should return only block results or also include record and column formats via helper functions; including those formats keeps them readily available but increases the base binary size. The excerpt says column storage can use memory more efficiently when there are many more rows than columns, and points to comparisons of compile time, size, and speed. It also notes recent ticket closures by community contributors and that Red reached 4,000 GitHub stars. The AI discussion begins with a proposal for a toolkit that lets users specify an AI task and training data, but the excerpt cuts off before further details.

### Source excerpt

Hello to all the great makers, doers and creative people who are using Red, helping the Red Language grow and improve! As always, there's a standing invitation for you to join us on Gitter, Telegram or Github (if you haven't already) to ask questions and tell us about your Red-powered projects. Here are some recent highlights we'd like to share with you: 1. Tickets Get Priority In the last month, our core team has closed a large number of tickets.We'd like to thank community members rgchris, giesse, and dumblob who are just a few of the passionate contributors putting Red through its paces and providing feedback as fixes and changes occur. @WArP ran the numbers for us, showing a cyclical growth pattern linking bursts of closed issues and some serious Red progress, and September's not even done yet!...: 2. CSV Codec Available Our newly updated CSV codec has been merged in the master branch and is now a part of the nightly (or automatic) build here. It is in an experimental phase, and we want your feedback. Should the standard codec only support block results, so it's as simple as possible? Or do people want and need record and column formats as well (using the load-csv/to-csv helper funcs, rather than load/as)? Including those features as standard means they're always available, rather than moving them to an extended CSV module; but the downside is added size to the base Red binary. Applause goes to @rebolek's excellent organization and his wiki on the codec, which explains the various ways in which Red can represent data matrices. He writes, "Choosing the right format depends on a lot of circumstances, for example, memory usage - column store is more efficient if you have more rows than columns. The bigger the difference, the more efficient." You can judge their efficiency here, where @rebolek has laid out the compile time, size and speed of each version, including encapping and lite. Be sure to get the latest build, and chat with everyone on Gitter to tell us what