RDCore vs twinBASIC

Close-up of a weathered dark coin featuring a raised duck emblem and partial lettering
V I V A T ❤️ C U C U M I S ™
[English version follows]

RDCore vs twinBASIC

Lorsque j’ai entrepris de bâtir RDCore au printemps dernier, Rubberduck était un complément VBIDE open-source établi depuis une décennie, avec des plans pour relancer sa mouture v3 en tant que plateforme linguistique, et twinBASIC était un compilateur natif et EDI émergent promettant à la fois une rétrocompatibilité à 100% et d’emmener VB en tant que langage vers de nouveaux horizons.

Depuis que RDCore a publié sa première version alpha publique, plusieurs personnes ont demandé en quoi RDCore diffère de twinBASIC. Cet article vise à clarifier exactement ce point, parce que l’un n’est pas une alternative à l’autre.

RDCore cède le terrain de l’évolution du langage à twinBASIC et n’a pas pour objectif de moderniser la syntaxe avec de nouveaux mots-clés.

Les affirmations ci-dessous concernant twinBASIC reflètent ma propre compréhension de la documentation publique et de l’état actuel du projet en date du 2026-11-29 : je corrigerai avec plaisir toute erreur factuelle qui s’y serait glissée.

RDCore réimplémente VBA à partir de ses spécifications, en tenant compte de son implémentation historique dans MS-VBA ainsi que de la manière dont VB6 et VBScript s’y intègrent : selon la situation, certains comportements peuvent différer dans RD-VBA par rapport à MS-VBA ou VB6, car l’objectif est l’exactitude et la portabilité, et pas nécessairement la rétrocompatibilité.

Par souci de clarté, la « rétrocompatibilité » désigne la capacité d’un code et de sa sémantique à faire l’aller-retour entre son environnement Microsoft d’origine et la plateforme, et à produire exactement les mêmes résultats et effets.
Cela ne signifie pas qu’un nouveau code écrit dans twinBASIC ou RD-VBA à l’aide de nouvelles syntaxes ou bibliothèques puisse compiler et s’exécuter sous l’environnement d’exécution historique.

En cas de conflit, une décision de conception linguistique est prise, et l’un des scénarios suivants s’applique :

  • La spécification prévaut : RD-VBA suit MS-VBAL, et un diagnostic signale l’écart.
  • L’implémentation prévaut : RD-VBA suit alors VBA (et/ou VB6), la spécification RD-VBAL est amendée en conséquence, et des diagnostics indiquent la déviation par rapport à la spécification d’origine.
  • RD-VBAL tranche : certains comportements rompent intentionnellement avec MS-VBA(L). Cela est toujours documenté et s’accompagne souvent d’un paramètre permettant de conserver le comportement historique ; c’est notamment le cas de Erl et de l’API GetSetting/GetAllSettings.

Il en résulte une spécification linguistique très proche de MS-VBAL, mais qui inclut quelques ajouts, supprime les dépendances implicites au registre Win32, corrige certaines erreurs et s’en écarte à d’autres endroits : RD-VBAL est une combinaison de MS-VBAL, de son implémentation MS-VBA, d’observations tirées de VB6 et d’ajouts opportunistes. Elle codifie précisément la manière dont son implémentation diverge lorsqu’elle le fait, mais elle diverge bel et bien.

Cela dit, le corpus HexIDE comptant plusieurs centaines de programmes VB6 s’exécute jusqu’à son terme et produit exactement les mêmes résultats qu’avec VB6 ; les divergences suffisent donc à affirmer qu’il ne peut pas être compatible à 100%, mais pas au point d’affecter les résultats d’un code source normalement constitué.


Architecture

L’architecture compte, énormément. Tout est une question de compromis :

twinBASIC compile et s’exécute nativement en x86/x64 sur Windows, sans aucune dépendance externe : un exécutable compilé avec twinBASIC est véritablement autonome et gère COM nativement avec une aisance déconcertante.

L’exécution multiplateforme est prévue.

RDCore génère du code intermédiaire .NET 11 IL sur Windows, Linux et macOS. Le résultat s’exécute indépendamment de l’ancien moteur MSVBVM, mais pas sans bibliothèques et assistants d’exécution : un exécutable compilé par RDCore est un assemblage .NET managé qui dépend de l’environnement d’exécution et des bibliothèques RDCore, et qui gère COM via l’interopérabilité COM managée, ce qui entraîne une pénalité de performance, et c’est .NET (JIT) qui effectue les dernières étapes de compilation.

Gratuit vs Premium

Les deux plateformes sont soutenues par une entité commerciale légale, proposent une offre de base gratuite et reposent à terme sur un modèle de revenus et un plan d’affaires.

L’édition gratuite Community Edition de twinBASIC compile en 32 bits et en 64 bits, et cible principalement les passionnés et professionnels de VB6 à la recherche d’une alternative moderne offrant un code 100% compatible.

Les licences payantes permettent de compiler en x64 natif sans un bref écran de démarrage twinBASIC intégré et sont proposées par abonnement ou en licence perpétuelle, selon la mise en disponibilité.

La plateforme twinBASIC évolue avec le langage lui-même. Suite à la parution de v1.0, le langage continue d’évoluer.

L’offre gratuite Flagship de RDCore constituera la plateforme centrale complète, mais sans extensions. Avec un abonnement (ou alors à partir des sources), celles-ci ajoutent des fonctionnalités spécialisées bâties sur le SDK de la plateforme.

Des extensions payantes proposeront à terme des fonctionnalités avancées rendues possibles par le modèle sémantique unique de la plateforme.

Suite à la parution de v1.0, le noyau est essentiellement figé; la plateforme évolue à travers ses extensions.


Formulaires et interfaces utilisateur

twinBASIC recrée les formulaires Classic-VB et vise (et offre) une rétrocompatibilité à 100%, reproduisant chaque bogue et particularité non documentée de l’environnement d’origine.

RDCore peut héberger nativement MSForms sous Windows, et porter les formulaires Classic-VB et MSForms vers RDForms, dont l’objectif est d’offrir un cadre d’interface unifié combinant le meilleur des formulaires VB, de MSForms, de WinForms et de WPF, et fonctionnant sur toutes les plateformes.


EDI et expérience développeur

twinBASIC développe, livre et s’intègre avec son propre EDI, doté de ses propres fonctionnalités et concepteurs visuels.

HexIDE a entamé une collaboration pour son intégration via LSP et DAP.

La fonctionnalité Modifier et Continuer (Edit & Continue) est prévue.

RDCore est un serveur LSP (v3.17) complet, la plateforme proposant trois clients au moment d’écrire ces lignes :

  • RDC lui-même, sous la forme d’un interpréteur BASIC interactif
  • HexIDE, appelé à devenir un EDI complet
  • VS Code, en tant que client LSP éprouvé

Les fonctionnalités de débogage sont fournies via le protocole standard DAP et prennent en charge les points d’arrêt conditionnels ainsi que la navigation dans la pile d’appels, y compris les trames GoSub.

La fonction Modifier et Continuer accepte des modifications qui obligeraient MS-VBA à redémarrer la session de débogage.


Performances

Les bancs d’essai sont difficiles à trouver, complexes à configurer correctement et ne comparent pas toujours les choses équitablement. Quoi qu’il en soit, pour tout utilisateur d’une plateforme linguistique, les performances comptent.

RDCore fournit rdc bench comme outil en ligne de commande (CLI) pour mesurer les performances de votre propre code, et réexécute son propre corpus en mettant à jour ses résultats publiés à chaque compilation d’intégration continue.

  • Le code twinBASIC compilé offre des performances natives brutes x86/x64 censées surpasser tout le reste.
  • Les charges de travail COM peuvent s’exécuter dans le même processus et devraient égaler ou surpasser MS-VBA.
  • Le code RD-VBA compilé offre de très bonnes performances qui surpassent déjà nettement MS-VBA sur la majorité des tests.
  • Les charges de travail COM sous RD-VBA s’exécutent toujours hors processus et devraient demeurer plus lentes que sous MS-VBA.

Le mot de la fin

Deux plateformes, deux visions:

  • twinBASIC pour ceux à la recherche d’une solution 100% compatible VB6, hébergement ActiveX et binaires Win32/Win64 sans dépendances, et la performance qui va avec. Aussi pour les amoureux de VB qui souhaitent redécouvrir leur langage préféré avec de puissantes nouvelles syntaxes et fonctionnalités.
  • RDCore pour ceux à la recherche d’une exécution auditable toutes plateformes sous .NET 11 64-bit, d’analyse sémantique profonde, d’outils MCP intégrés, de tests unitaires intégrés aux chaînes DevOps CI/CD, ou alors d’hébergement ASP.NET Core pour VBScript et RD-VBA (VBA / VB6).

VB n’a pas été si vivant depuis longtemps!


English
Close-up of a weathered dark coin featuring a raised duck emblem and partial lettering
V I V A T ❤️ C U C U M I S ™

RDCore vs twinBASIC

When I set out to build RDCore last spring, Rubberduck was a decade-old established open-source VBIDE add-in with plans for rebooting its v3 incarnation as a language platform, and twinBASIC was an emerging native compiler and IDE promising both 100% back-compatibility, and to take VB as a language to new places.

Since RDCore released its first public alpha, several have asked how RDCore differs from twinBASIC. This article aims to clarify exactly that, because one isn’t an alternative of the other.

RDCore concedes the language-level ground to twinBASIC and does not aim to modernize the language syntax with new keywords.

The below statements about twinBASIC reflect my own understanding of the public documentation and current state of the project as of 2026-11-29: I will happily correct any factual errors in them.

RDCore reimplements VBA from its specifications, taking into account its historical MS-VBA implementation and how VB6 and VBScript fit into it: depending on the situation, things may work differently in RD-VBA than they did in MS-VBA or VB6, because the goal is correctness and portability, not necessarily backward compatibility.

For the sake of clarity, “backward compatibility” refers to the ability of code and semantics to round-trip from its original Microsoft home to the platform and back, and to produce exactly the same results and outcomes.
It does not mean that new code written in either twinBASIC or RD-VBA using new syntax or libraries can compile and run under the legacy runtime.

When things clash, a language design decision is taken, and then one of a few things happens:

  • Specs takes precedence, and RD-VBA follows MS-VBAL, and a diagnostic warns about the discrepancy.
  • Implementation takes precedence, and RD-VBA follows VBA (and/or VB6); the RD-VBAL specification is amended, and diagnostics hint about the spec deviation.
  • RD-VBAL decides; some behaviors intentionally break with MS-VBA(L). This is always documented, and often has a knob that keeps the legacy behavior; such is the case of Erl and the GetSetting/GetAllSettings API, for example.

The result is a language specification that is very close to MS-VBAL, but includes a few new parts, removes the implicit Win32 Registry dependencies, fixes a few mistakes, and deviates in other places: RD-VBAL is a combination of MS-VBAL, its MS-VBA implementation, observations in VB6, and opportunistic additions. It codifies exactly how its implementation diverges when it does, but it does.

That said a HexIDE corpus of hundreds of VB6 programs does run to completion and produce exactly the same outcomes as with VB6, so the divergences are enough to say it can’t be 100% compatible, but not enough to affect the outcomes of normally-constituted source code.


Architecture

The architecture matters, a lot. It’s all about trade-offs:

twinBASIC builds and runs native x86/x64 on Windows, without any external runtime dependencies: a twinBASIC compiled executable is truly standalone, and handles COM natively like it’s Tuesday.

Cross-platform execution is planned.

RDCore builds .NET 11 IL on Windows, Linux, and MacOS. The result runs independently of the legacy MSVBVM runtime, but not without runtime helpers and dependencies: a RDCore compiled executable is a managed .NET assembly that is dependent on the RDCore runtime and libraries, and handles COM through managed COM Interop, which incurs a performance penalty, and it’s .NET (JIT) itself that performs the final compilation steps.

Free vs Premium

Both platforms are backed by a legal corporate entity, have a free base offering, and ultimately a revenue model and a business plan.

The free Community Edition of twinBASIC builds 32-bit and 64-bit native, and mostly targets VB6 enthusiasts and professionals looking for a modern alternative with 100% compatible code.

Premium licenses can build native x64 without a baked-in twinBASIC splash, and are offered on both subscription and perpetual basis, as made available.

The platform evolves with the language itself. Beyond v1.0, the language keeps evolving.

The free Flagship tier of RDCore will be the full-featured core platform, but without extensions.

With a subscription (or built from source), platform extensions add specialized extra features building on top of the platform SDK.

Premium extensions will eventually offer advanced features unlocked by the platform’s unique semantic model.

Beyond v1.0, the core is essentially fixed, but the platform evolves through its extensions.


Forms & User Interfaces

twinBASIC recreates the Classic-VB forms and aims for (and delivers) preserving every behavior and quirk of the legacy framework.

RDCore can host native MSForms on Windows, and port Classic-VB and MSForms to RDForms where the goal is a unified UI framework that combines the best of VB forms, MSForms, WinForms, and WPF, and runs on all platforms.


IDE & Developer Experience

twinBASIC builds and ships and integrates with its own IDE, with its own features and designers.

HexIDE has started to collaboratively work on its integration through LSP and DAP.

Edit & Continue is planned.

RDCore is a full-featured LSP (v3.17) server, with the platform offering three clients as of this writing:

  • RDC itself as a fun BASIC shell
  • HexIDE as an eventually full-featured IDE
  • VS Code as a battle-tested, plain-LSP client

Debugger features are served through standard DAP, and support conditional breakpoints and stack trace navigation, including GoSub frames.

Edit & Continue accepts edits that MS-VBA restarts a debugging session over.


Performance

Benchmarks are hard to find, difficult to setup correctly, and don’t always compare accurately. Regardless, as a user of a language platform, performance matters.

RDCore provides rdc bench as a CLI tool to benchmark your own code, and re-runs its own corpus and updates its published benchmarks with every CI build.

  • Compiled twinBASIC code offers raw x86/x64 native performance that is expected to beat everything else.
  • COM workloads can run in-process and be expected to match or beat MS-VBA.
  • Compiled RD-VBA code offers decent performance that already solidly beats MS-VBA on most benchmarks.
  • RD-VBA COM workloads are always out-of-process and can be expected to remain slower than MS-VBA.

Bottom line

Two platforms, two visions:

  • twinBASIC for those looking for 100% drop-in VB6 compatibility with ActiveX hosting and standalone Win32/Win64 binaries, with the associated performance benefits. Also for VB lovers that want to rediscover their favorite language with powerful new syntax and features.
  • RDCore for those looking for cross-platform execution on 64-bit .NET 11, deep static analysis, built-in MCP tools, auditable execution, CI/CD unit testing and devops integration, or ASP.NET web hosting in VBScript or RD-VBA (VBA / VB6).

VB has not felt this alive in a long time!


V I V A T ❤️ C U C U M I S ™

RDCore v0.2.11-alpha

Close-up of a weathered dark coin featuring a raised duck emblem and partial lettering
V I V A T ❤️ C U C U M I S ™
[English version follows]

Extensions de plateforme

RDCore a été conçu dès le départ avec l’extensibilité en tête : RDCore.Diagnostics est peut-être livré avec la plateforme principale, mais ça a toujours été une extension. L’idée n’est toutefois pas d’expédier toutes les extensions avec la plateforme.

En fait, la seule façon de les utiliser actuellement est de les compiler à partir du code source.
Quel genre d’extensions, demandez-vous ?

Déposez votre café et assurez-vous d’être bien assis.

RDCore.UnitTesting

La fonctionnalité qui a transformé une idée un peu folle de tests unitaires VBA en un portage C#, puis en un complément VBE qui est rapidement devenu Rubberduck, avant de devenir aujourd’hui RDCore. Les tests unitaires sont donc de retour avec la même interface Assert (mais une nouvelle bibliothèque de plateforme RDTest), ainsi que :

  • rdc test et des rapports d’exécution au format JUnit pour les exécutions hébergées en CI
  • L’exécution des tests directement dans l’éditeur est prévue, mais pas encore implémentée
  • Nouvelles annotations @TestCase et @ExpectedError
  • Diagnostics documentés sous la forme d’incidents RDT00000
  • Les listes de complétion proposent les annotations sur @, avec leur aide sur les paramètres

Il ne s’agit pas d’une liste de souhaits hypothétique : voici la plateforme en action sur GitHub, dans un projet de démonstration RD-VBA qui exécute des tests unitaires RD-VBA sur Ubuntu :

GitHub Actions workflow showing successful test run and highlighted unattended game test command.
L’option --unattended garantit que le runtime lève une exception au lieu d’attendre qu’un utilisateur absent confirme une boîte de dialogue.

RDCore.Web

Si VBScript allait de pair avec ASP Classic, alors RD-VBA fait de même avec ASP.NET. Cette extension définit la bibliothèque de plateforme RDWeb, qui fournit l’API permettant de faire exactement cela :

'@Controller("api/orders")
Option Explicit

'@HttpGet("{id}")
Public Function Order(ByVal id As Variant, Optional ByVal format As Variant) As Variant
    ' ...
End Function

'@HttpPost("{id}/lines")
'@FromBody("line")
Public Function AddLine(ByVal id As Variant, ByVal line As Variant) As Variant
    ' ...
End Function

La bibliothèque définit également les outils de sérialisation et désérialisation JSON, et l’extension du langage RDJson (temporairement intégrée) permet une sérialisation JSON aller-retour pour les objets Dictionary, Collection et les objets métier (classes de l’espace de travail). Ainsi, une méthode de contrôleur déclarée As Thing peut retourner une instance de Thing, et RDWeb saura comment la sérialiser pour le client.

Et plus encore ?

Plusieurs autres extensions de plateforme gratuites et open-source arriveront pendant la phase bêta, lorsque l’installation d’extensions ne nécessitera plus une compilation depuis les sources : toutes les extensions de plateforme seront alors disponibles via la place de marché sur rubberduckvba.ca.

D’ici là, ces briques fondamentales devraient déjà suffire à vous occuper.
Bien sûr, il y a encore beaucoup de choses que je n’ai pas mentionnées :

  • RDCore.Demo.NavalBattle inclut désormais un serveur RDWeb qui expose l’API faisant fonctionner le jeu dans une interface React ; ça aurait tout aussi bien pu être Angular.
    • Les exécutions CI du dépôt lancent rdc test et s’en servent pour alimenter l’insigne d’état du README : ce sont des tests unitaires RD-VBA qui s’exécutent sur une machine virtuelle Linux quelque part dans le nuage, intégrés à une chaîne DevOps, avec chaque appel externe ou natif entièrement traçable.
  • Les types différés et inférés sont disponibles : vous pouvez maintenant obtenir des suggestions de complétion pour des modules ou fonctions que vous n’avez même pas encore écrits, développer quand même le code qui les utilise (des tests unitaires, peut-être ?), puis inférer la structure d’un module auxiliaire avec une action de code qui le matérialise automatiquement.
  • La couche de politique d’exécution permet de journaliser et auditer tous les appels natifs et externes (ou de les bloquer si vous préférez ; oui, cela a un coût en performance).

Prochaine étape : une visite guidée de la démo de plateforme, qui n’a pas encore été publiée.

Battleship-style game screen showing two grids, fleet markers, and rubber ducks floating in the ocean

English
Close-up of a weathered dark coin featuring a raised duck emblem and partial lettering
V I V A T ❤️ C U C U M I S ™

Platform Extensions

RDCore was architected from the very beginning, with extensibility in mind: RDCore.Diagnostics may ship with the core platform, it was always an extension. The idea isn’t to ship extensions with the platform though.

In fact the only way to use them is currently to build them from source.
What kind of extensions, you ask?

Put down your coffee and make sure you’re seated.

RDCore.UnitTesting

The feature that turned a crazy VBA unit testing idea into a C# port and VBE add-in, which quickly turned into Rubberduck, which today becomes RDCore. So unit testing comes back with the same Assert interface (with a new RDTest platform library), but also:

  • rdc test and JUnit-format test run reports for CI-hosted runs
  • Running tests in the editor is planned, just not implemented yet
  • New @TestCase and @ExpectedError annotations
  • Issues documented RDT00000 diagnostics
  • Completion lists offer annotations on @, with their parameter help

This isn’t a hypothetical wish-list – here is the platform in action on GitHub, in a RD-VBA demo project that runs RD-VBA unit tests on Ubuntu:

GitHub Actions workflow showing successful test run with the highlighted command "$rdc run --unattended ./demo --test" and passed test results.
The --unattended switch ensures the runtime throws instead of waiting for a user that isn’t there to OK a dialog.

RDCore.Web

If VBScript went hand-in-hand with ASP-Classic, then RD-VBA does the same with ASP.NET. This extension defines the RDWeb platform library, which provides the API for doing exactly that:

'@Controller("api/orders")
Option Explicit

'@HttpGet("{id}")
Public Function Order(ByVal id As Variant, Optional ByVal format As Variant) As Variant
    ' ...
End Function

'@HttpPost("{id}/lines")
'@FromBody("line")
Public Function AddLine(ByVal id As Variant, ByVal line As Variant) As Variant
    ' ...
End Function

The library also defines JSON de/serialization tooling, and the (temporarily embedded) language-level extension RDJson makes Dictionary, Collection, and objects (workspace classes) round-trip JSON serialization, so a controller method that declares As Thing can return a Thing instance, and RDWeb knows how to serialize it to a client.

More?

There will be several more free and open-source platform extensions in the beta phase, when the extension installation experience doesn’t require building from source anymore: all platform extensions will then be available through the marketplace on rubberduckvba.ca.

Until then, these foundational building blocks should keep you busy.
Of course, there’s a lot more I haven’t mentioned:

  • RDCore.Demo.NavalBattle now includes a RDWeb server that serves the API that runs the game in a React frontend; it could have been Angular, too. Or you could still inline your HTML in classic ASP style and fashion.
    • The repository’s CI runs, run rdc test and use it to report the status badge on the README: that’s RD-VBA unit tests running on a Linux VM somewhere on a cloud and integrated into a DevOps pipeline, with every external or native call auditable.
  • Deferred/inferred types have shipped: you can now get completion list items for modules or functions you haven’t written yet, write the code (unit tests?) against them anyway, and then infer the shape of a helper module with a code action that materializes it for you.
  • Execution policy layer makes all native and external calls optionally auditable (or blocked if you like; yes, there’s a performance penalty).

Next: a tour of the yet-unreleased platform demo.

Battleship-style game screen showing two grids, fleet markers, and rubber ducks floating in the ocean

RDCore.VSCode

Close-up of a weathered dark coin featuring a raised duck emblem and partial lettering
V I V A T ❤️ C U C U M I S ™
[English version follows]

RDCore.VSCode est une extension VS Code qui se connecte au serveur de langage RDCore pour offrir l’expérience LSP complète dans l’éditeur Visual Studio Code.

RDCore publie la version 0.2.5-alpha avec un correctif au niveau de la plateforme qui permet de déboguer un espace de travail qui référence MSForms. Ceci corrige l’intégration à HexIDE juste avant la grosse sortie de HexIDE.


Client VS Code

VS Code n’est peut-être pas votre éditeur préféré, mais il fonctionne et fait le travail. Pour certains, il lui manque trop de fonctionnalités pour être utile. Pour d’autres, le thème abyss est tout ce dont il aura jamais besoin. Pour ceux qui se trouvent quelque part entre les deux, une nouvelle extension RDCore lui fait prendre en charge le code VBA et les espaces de travail .rdproj.

Avec la plateforme RDCore derrière, l’implémentation d’un client language server protocol (LSP) pour VS Code s’est faite en moins de 10 minutes, avec une seule requête (chapeau à Claude Opus 5.5) : le serveur LSP alors intégré à HexIDE nuisait aux tests d’intégration de la plateforme RDCore, et j’avais besoin d’un client capable d’en faire plus que le client REPL de RDC.

Et puis, puisqu’il existait, je me suis dit qu’il pouvait aussi bien être publié : quelqu’un allait bien faire un client VS Code pour RDCore un jour ou l’autre, alors une offre maison me semble tout indiquée.

Screenshot of VBA code showing the dict_GetKeyIndex function and a warning about an empty ElseIf branch.
La version initiale offre tous les gestionnaires LSP standard que RDC fournit d’emblée : on obtient donc des code lenses navigables, des inlay hints, des diagnostics avec leurs correctifs rapides et leurs liens vers la documentation, la coloration syntaxique sémantique, le pliage du code, et les fonctionnalités du débogueur DAP, points d’arrêt conditionnels compris.

Voici la démo de plateforme NavalBattle exécutée dans le débogueur de Visual Studio Code, avec une interface MSForms native hébergée par l’environnement d’exécution RDCore, sous Win64 :

Visual Studio Code displaying Battleship game code with a naval battle grid interface showing two player boards.
FairplayAI (grille 1) a gagné cette partie contre MercilessAI, pour la petite histoire.

L’adaptateur de débogage est un peu lent à démarrer, mais la console de débogage fonctionne et permet de manipuler les variables locales, puis de modifier et continuer.


Essayez-le!

Ce client s’ajoute à la page des téléchargements du site; vous le trouverez avec les autres liens de téléchargement de RDCore, dont le client HexIDE :

Ruddcberruback RDCore downloads page showing download cards for VS Code, Windows, macOS, Linux, and HexIDE platforms
La section RDCore de la page des téléchargements de rubberduckvba.ca accueille déjà le petit nouveau de la famille.

Close-up of a weathered dark coin featuring a raised duck emblem and partial lettering
V I V A T ❤️ C U C U M I S ™
English

RDCore.VSCode is a VS Code extension that connects to the RDCore language server to deliver the complete LSP experience in the Visual Studio Code editor.

RDCore ships version 0.2.5-alpha with a platform-level fix to enable debugging a workspace that references MSForms. This fixes the HexIDE integration just before HexIDE’s own big release.


VS Code Client

VS Code may not be your favorite editor, but it works and gets the job done. For some, it lacks too many features to be useful. For others, the abyss theme is all it’s ever going to need. For those somewhere in between, there’s a new RDCore extension that makes it handle VBA code and .rdproj workspaces.

With the RDCore platform behind it, implementing a language server protocol (LSP) client for VS Code happened in under 10 minutes with a single prompt (props to Claude Opus 5.5): HexIDE’s then-bundled LSP server was getting in the way of RDCore platform-level integration tests, and I needed a client that could do more than RDC’s own REPL client does.

And then since it existed, I thought it might as well ship – someone was going to make a VS Code client for RDCore one day or another, so a first-party offering seems appropriate.

Screenshot of VBA code showing the dict_GetKeyIndex function with an analyzer warning about an empty ElseIf branch.
The initial release offers all the vanilla-LSP handlers that RDC supplies out of the box, so we get navigable codelens, inlay hints, diagnostics with their quickfixes and documentation links, semantic syntax highlighting, foldings, plus the DAP debugger features – including conditional breakpoints.

Here is the NavalBattle platform demo running through the Visual Studio Code debugger, with a native MSForms GUI hosted by the RDCore runtime, on Win64:

Visual Studio Code showing Battleship game code with a naval battle grid interface open.
FairplayAI (grid 1) won this game against MercilessAI, for the record.

The debug adapter is a bit slow to start, but the debug console works and lets you manipulate locals, and then edit and continue.


Try it!

This client makes a new addition to the site’s downloads page; you’ll find it alongside the other RDCore download links, including the HexIDE client:

RBCore downloads page showing platform packages for VS Code, Windows, macOS, Linux, HexIDE, and Apple Silicon.
The RDCore section of the rubberduckvba.ca downloads page already welcomes the newest member of the family.

V I V A T ❤️ C U C U M I S ™

RDCore v0.2.1-alpha (preview 2)

Close-up of a weathered dark coin featuring a raised duck emblem and partial lettering
V I V A T ❤️ C U C U M I S ™
[English version follows]

RDCore v0.2.1-alpha, la deuxième préversion de la plateforme, est arrivée! Elle exécute votre code VBA et VB6 hors de l’éditeur VBA, sous Windows, Linux et macOS, et cette fois-ci, elle amène les formulaires avec elle.

RDForms

Une image vaut mille mots, comme on dit :

Desktop screenshot showing a naval battle game with grid boards, ship fleet legend, rubber duck graphics, and a terminal window over a bridge wallpaper
RDCore et RDForms exécutant la démo de la plateforme sur un Mac, avec des sprites PNG.
Derrière, la démo “application console” complétant une partie dans les mêmes conditions.

La première version alpha hébergeait les MSForms natifs, sous Windows seulement. Cette deuxième version alpha exécute vos formulaires Classic-VB dans RDForms, le tout nouveau cadriciel d’interface multiplateforme de la plateforme, qui affiche et exécute votre interface existante sous Linux, ou sur un Mac, Intel ou ARM64. Évidemment, ça fonctionne aussi sous Windows. Porter votre interface vers le nouveau cadriciel est entièrement facultatif (RDCore comprend les fichiers .frm et .frx), mais RDForms est fortement recommandé si vous démarrez un nouveau projet : il fond essentiellement MSForms dans les formulaires Classic-VB, de sorte que vos formulaires RD-VBA peuvent être MDI et afficher des images PNG avec un canal alpha. Bien sûr, ils ne se reportent pas vers MSForms ou les formulaires Classic-VB : ni l’un ni l’autre ne vous laisse régler l’opacité d’un contrôle, par exemple.

Le code d’un formulaire RDForms vit dans un module .rdform, à côté d’un document de conception .xaml.

Le cycle de vie des formulaires VB, les groupes de contrôles, Controls.Add, les membres des ListBox et des ComboBox (avec des icônes!), les menus contextuels, les twips et les modes d’échelle, PaintPicture, Print, Line, Circle, PSet, Point, etc. fonctionnent tous dans RDForms comme dans VB6; les UserControls, PropertyPages et UserDocuments sont des modules de code, et PropertyBag et Ambient sont pris en charge.

App.KeepSystemTheme fait suivre à RDForms le thème du système, alors vous obtenez un thème sombre gratuitement dans vos applications RDForms. Les lecteurs d’écran et les outils de test d’interface voient les menus et les contrôles, eux aussi. Les projets qui référencent MSComctlLib et FM20.DLL les lient dans RDForms, mais ni l’une ni l’autre de ces DLL n’est livrée avec le paquet RDForms.

Quoi d’autre de neuf?

Un projet RD-VBA peut maintenant être une Console Application : ses invites MsgBox et InputBox sont posées dans la console, mais sous Windows, on peut aussi les configurer pour faire apparaître les boîtes natives. Et un programme bâti sous Windows s’exécute sous Linux ou macOS, sans ses sources.

Un espace de travail peut maintenant contenir plusieurs projets qui se référencent les uns les autres : un groupe de projets VB6, ou une paire complément VBA et classeur Excel, peut tenir dans un seul espace de travail. Friend et VB_Exposed fonctionnent comme la spécification le prévoit.

Changements incompatibles

Cette version corrige les constantes du précompilateur VB en introduisant Is64BitEnv, qui sépare proprement les tests de système d’exploitation des tests d’architecture. Dans MS-VBA, Win64 vaut 1 sur un Mac 64 bits, ce qui brouille la frontière entre les deux et fait que les directives #If se comportent de façon inattendue; RDCore vous apporte des diagnostics qui vous disent quand elles sont mal configurées, et offrent de les corriger. La constante Linux64, introduite dans la première version alpha, est retirée (elle vaut 0 à moins que votre code la définisse) : Linux vaut 1 sous Linux, et Is64BitEnv vaut 1 dans tout environnement 64 bits, peu importe le système d’exploitation. #If Linux And Is64BitEnv teste ce que testait Linux64.

Le code écrit dans MS-VBA avec des directives de compilation conditionnelle qui fonctionnent sur un Mac continue de fonctionner tel quel.

Le schéma d’un fichier .rdproj a changé plusieurs fois depuis la première version alpha. Un projet créé avec cette première alpha se charge encore, mais il est recommandé de recréer le .rdproj, surtout si votre espace de travail a été créé à partir d’un projet VB6 : le nouveau schéma comprend des métadonnées de projet supplémentaires, que VB6 utilise pour make et que rdc build utilise à des fins semblables.

Quelques autres changements peuvent surprendre un espace de travail existant (une erreur non gérée termine maintenant le programme comme le fait End, par exemple); les notes de version les énumèrent tous.

Parité des inspections et des refactorisations de Rubberduck

La dernière version de la plateforme RDCore apporte presque chacune des inspections du Rubberduck d’origine (celles qui sont propres à Excel sont exclues, pour l’instant), mais avec un modèle sémantique qui permet d’aller beaucoup plus loin dans l’analyse, en faisant beaucoup moins de suppositions. La plupart offrent une ou plusieurs actions de code correctives (des correctifs rapides), et oui, vous pouvez encore les ignorer, mais ça se fait par les paramètres de configuration, et c’est encore mieux, parce que les paramètres de configuration forment une hiérarchie : la configuration de la plateforme pour la machine se trouve dans le dossier d’installation, la configuration de l’utilisateur dans votre profil, et maintenant une configuration d’espace de travail peut la remplacer pour un espace de travail.

  • Les inspections de Rubberduck sont devenues des diagnostics RDC. Voyez la documentation pour la liste complète :
    • Membres par défaut et vérifications des affectations
    • Liaison tardive et validation des interfaces
    • Code inutilisé ou mort
    • Plateformes et compilation conditionnelle
    • Là où MS-VBA et sa propre spécification MS-VBAL divergent
    • Projets et compilation : références circulaires entre projets, aucun point d’entrée ou plus d’un
    • Moins de faux positifs sur toute la ligne
  • Des outils de refactorisation, bien sûr :
    • Extract Method peut remplacer d’un coup, partout dans le projet, les copies de la sélection par un appel de la nouvelle méthode
    • Inline Member, tout nouveau : remplace un appel d’une procédure par son corps
    • Convertir un GoSub en procédure
    • Encapsulate Field
    • Implement Interface (offert sur la ligne Implements)
    • Move Members vers le haut et vers le bas d’un module; Sort Members
    • Remove et Reorder Parameters
    • Move Closer to Usage
    • Rename des types, des énumérations, des modules, du projet, des étiquettes de ligne et des contrôles de formulaire; le renommage suit les vraies liaisons symboliques. Comme toutes les refactorisations de RDC, il est entièrement déterministe et n’est pas une opération de recherche et remplacement textuelle.

Outils CLI

Les applications client et serveur de RDCore ont maintenant un écran de démarrage fourni par le SDK, et peuvent le remplacer par le leur, alors tous les outils ont l’air de faire partie de la même famille, parce que c’est le cas!

rdc build -c Release bâtit un programme qui peut s’exécuter hors de son espace de travail, et rdc build -r le bâtit pour Windows, Linux ou macOS (x64 ou Arm64), depuis n’importe quelle machine.

rdc bench exécute le corpus de bancs d’essai de la plateforme sur votre machine; donnez-lui un espace de travail et vous pouvez mesurer votre propre code source RD-VBA. La plateforme s’occupe pour vous de la mise en température et des statistiques.

rdc export-library extrait tous les symboles d’une bibliothèque de types donnée; quand la plateforme a les symboles d’une bibliothèque, elle peut compiler le code source écrit pour cette bibliothèque (mais pas l’exécuter : il faut pour ça la bibliothèque elle-même).

rdc mcp --workspace <chemin> sert les outils d’assistant IA intégrés de RDCore, par le protocole MCP standard.

Serveur MCP intégré

Comme on l’a déjà écrit, RDCore embrasse l’IA. Les outils MCP intégrés le démontrent : ils donnent à un assistant de programmation LLM le modèle sémantique de RDCore, par des outils entièrement déterministes qui trouvent les symboles, les références et les diagnostics, listent et appliquent les correctifs rapides, et renomment selon les liaisons. Un assistant IA qui utilise ces outils a quelque chose que la plupart n’ont pas, parce que les outils MCP se branchent habituellement sur un IDE, et non directement sur le cerveau et le modèle sémantique d’une plateforme de langage.

La différence est majeure : sans modèle sémantique, un assistant IA travaille avec des résultats non déterministes et traite le code source comme du texte brut. Bien des modèles deviennent très bons à travailler ainsi, mais ils restent sujets aux hallucinations et ne génèrent pas toujours le code optimal. Avec le MCP de RDCore, ces agents ont accès aux symboles, aux références, aux diagnostics et aux correctifs, et ils peuvent se servir de ces outils pour valider le code qu’ils génèrent, avant même qu’il n’arrive dans une réponse du clavardage.

Tout hôte d’assistant qui parle MCP peut s’en servir : vous fournissez le modèle, RDCore lui donne des ailes.

Performance

Ce cycle apporte des gains de performance étonnants sur toute la ligne pour le code compilé, et cette version compile beaucoup plus de code source RD-VBA que la précédente : là où bien des cas restaient interprétés, la plupart s’exécutent aujourd’hui compilés.

L’achèvement de l’étape de l’abaissement vers l’IR explique à lui seul une bonne part des gains, mais les bancs d’essai se sont surtout améliorés grâce à l’optimisation de la compilation et à la réduction des allocations : plusieurs opérations n’allouent maintenant presque rien et n’entraînent exactement aucune collecte de mémoire .NET :

Performance comparison table showing fastest, median, slowest, total, allocated memory, and GC counts for calls, statements, arrays, strings, numeric operations, variables and parameters, and standard library functions.
Ces chiffres bougent à chaque fusion et n’indiquent que des charges de travail précises et irréalistes; mesurez votre propre code par rapport à une exécution de référence dans MS-VBA pour faire vos propres comparaisons valables à la maison.
Dark benchmark dashboard comparing Excel for Mac VBA and RD-VBA, showing RD-VBA is 6.81 times faster overall with a horizontal speed-up chart by group.
Exécution maison sur MacOS: RD-VBA l’emporte avec 61/63 cas plus rapides que MS-VBA, complétant ici le banc d’essai en 304.3 millisecondes, contre 2,073.5 pour MS-VBA sur MacOS (ARM64).

Essayez-le!

Ça fait beaucoup de canard pour une deuxième préversion, et c’est encore une alpha : attendez-vous à des aspérités, et à ce que les choses changent d’une version à l’autre. Téléchargez-la, pointez rdc vers votre code, et puis VIVAT CUCUMIS!


Close-up of a weathered dark coin featuring a raised duck emblem and partial lettering
V I V A T ❤️ C U C U M I S ™
English

RDCore v0.2.1-alpha, the platform’s second preview, is out! It runs your VBA and VB6 code outside the VBA editor, on Windows, Linux and macOS, and this time it brings the forms along.

RDForms

A picture is worth a thousand words, as they say:

Desktop screenshot showing a Naval battle game window with Battleship grids, colored ship markers, duck illustrations, and a terminal log against a Golden Gate Bridge wallpaper.
RDCore+RDForms running the platform demo on a Mac, with PNG sprites.
Background: the console application demo running to completion all the same.

The initial alpha release hosted native MSForms, on Windows only. This second alpha release runs your Classic-VB forms in RDForms, the platform’s shiny new cross-platform UI framework that renders and runs your legacy UI on Linux, or on a Mac, Intel or ARM64. Of course it also works on Windows. Porting your UI to the new framework is entirely optional (RDCore understands .frm/.frx), but RDForms is highly encouraged if you’re starting a new project: it essentially folds MSForms into Classic-VB forms, so your RD-VBA forms can be MDI and display PNG images with an alpha channel. Obviously, they don’t back-port to MSForms or Classic-VB forms: neither lets you set a control’s Opacity, for example.

An RDForms form’s code-behind lives in a .rdform module beside a .xaml designer document.

VB forms’ lifecycle, control arrays, Controls.Add, ListBox and ComboBox members (with icons!), context/popup menus, twips and scale modes, PaintPicture, Print, Line, Circle, PSet, Point, etc. all work on RDForms as they do in VB6; UserControls, PropertyPages and UserDocuments are code modules, with PropertyBag and Ambient supported.

App.KeepSystemTheme makes RDForms follow the system-wide theme, so you get a dark theme for free in your RDForms applications. Screen readers and UI testing tools see menus and controls, too. Projects that reference MSComctlLib and FM20.DLL bind them in RDForms, but neither DLL ships with the RDForms package.

What else is new?

RD-VBA projects can now be a Console Application, whose MsgBox/InputBox prompts are handled in the console, although on Windows they can also be configured to pop the native boxes. And a program built on Windows runs on Linux or macOS, without its sources.

Workspaces can now include multiple projects that reference one another; a VB6 project group or a VBA add-in + Excel workbook pair can exist in one workspace. Friend and VB_Exposed work as specified.

Breaking changes

This release fixes the VB precompiler constants by introducing Is64BitEnv, cleanly separating OS checks from bitness checks. In MS-VBA, Win64 is 1 on a 64-bit Mac, which blurs the line between OS and bitness checks and makes #If directives behave unexpectedly; RDCore brings you diagnostics that tell you when they are set up wrong, and offer to fix them. The Linux64 constant that the first alpha release introduced is retired (it is 0 unless your code defines it): Linux is 1 when running on Linux, and Is64BitEnv is 1 when running in a 64-bit environment, regardless of the OS. #If Linux And Is64BitEnv tests what Linux64 did.

Code that is written in MS-VBA with conditional compilation directives that work on a Mac continues to work as-is.

The schema definition of a .rdproj file has changed several times since the initial alpha release. A project file from that first alpha still loads, but re-creating the .rdproj is recommended, especially if your workspace was created from a VB6 project: the new schema includes additional project-level metadata that VB6 uses for make and that rdc build uses for similar purposes.

A few other changes may surprise an existing workspace (an unhandled error now ends the program as End does, for one); the release notes list them all.

Rubberduck inspection & refactoring parity

The latest version of the RDCore platform brings almost every single one of the legacy Rubberduck inspections (the Excel-specific ones are excluded, for now), but now with a semantic model that enables going much further in the analysis, while making far fewer assumptions. Most of them offer one or more corrective code actions (quick fixes), and yes, you can still ignore them, but that’s through configuration settings, so it gets even better, because configuration settings are a hierarchy: machine-level platform configuration lives in the installation folder, user-level configuration lives in your user profile, and now workspace-level configuration can override it within a workspace.

  • Rubberduck’s inspections have become RDC diagnostics. See the documentation for the full list:
    • Default members and assignment checks
    • Late binding and interface validation
    • Unused/dead code
    • Platforms and conditional compilation
    • Where MS-VBA and its own MS-VBAL specification diverge
    • Projects and builds: circular project references, no entry point or more than one
    • Fewer false positives across the board
  • Refactoring tools, of course:
    • Extract Method can replace every duplicate of the selection across the project with a call to the new method, in one go
    • Inline Member, brand new: replaces a call of a procedure with its body
    • Convert GoSub to Procedure
    • Encapsulate Field
    • Implement Interface (offered on the Implements line)
    • Move Members up and down a module; Sort Members
    • Remove/Reorder Parameters
    • Move Closer to Usage
    • Rename types, enums, modules, the project, line labels, form controls; rename follows actual symbolic bindings. Like all RDC refactorings, it is entirely deterministic and not a text-based search & replace operation.

CLI Tools

RDCore client and server applications now get an SDK-provided splash screen and may replace it with their own, so all the tools look & feel like they’re part of the same family, because they are!

rdc build -c Release builds a program that can run outside of its workspace, and rdc build -r builds it for Windows, Linux or macOS (x64 or Arm64), from any machine.

rdc bench runs the platform’s benchmark corpus on your machine; give it a workspace and you can benchmark your own RD-VBA source code. The platform handles warm-ups and stats for you.

rdc export-library extracts all the symbols of a specified type library; when the platform has the symbols for a library, it can compile (but not run; that needs the actual library) source code written against that library.

rdc mcp --workspace <path> serves RDCore’s built-in AI assistant tools, over standard MCP.

Built-in MCP Server

As was written before, RDCore embraces AI. The built-in MCP tooling demonstrates it: it gives an LLM coding assistant RDCore’s semantic model through fully deterministic tools that find symbols, references and diagnostics, list and apply quick fixes, and rename by binding. An AI assistant that uses these tools has something most don’t, because MCP tools typically hook into an IDE, not directly into a language platform’s brains and semantic model.

The difference is major: without a semantic model, an AI assistant works with non-deterministic outcomes and treats source code as plain text. Many models are getting very good at working like this, but they remain prone to hallucinations and may not always generate optimal code. With RDCore MCP, these agents get access to symbols, references, diagnostics and fixes, and they can use these tools to validate the code they generate before it even lands in a chat reply.

Any assistant host that speaks MCP can use them: you supply the model, RDCore empowers it.

Performance

This cycle delivers astonishing performance gains across the board for compiled code, and this version compiles much more RD-VBA source code than the previous release: where many cases remained interpreted, most today run compiled.

Completing the IR lowering milestone explains a lot of the performance gains all by itself, but the benchmarks mostly improved by optimizing compilation and reducing allocations: several operations now allocate almost nothing and incur exactly zero .NET garbage collections:

Performance comparison table showing fastest, median, slowest, total, allocated memory, and GC statistics for calls, statements, arrays, strings, numeric operations, variables and parameters, and standard library functions.
These figures move at every merge and only indicate specific, unrealistic workloads; benchmark your own code against an MS-VBA reference run to make your own valid comparisons at home.
Dark benchmark dashboard comparing Excel for Mac VBA and RD-VBA, showing RD-VBA speedups by group with a horizontal bar chart.
A third party’s run on MacOS: RD-VBA wins with 61/63 faster cases than MS-VBA, completing the benchmark runs in 304.3 milliseconds while MS-VBA did the same in 2,073.5, on MacOS (ARM64).

Try it!

That’s a lot of duck for a second preview, and it’s still an alpha: expect rough edges, and expect things to change between versions. Download it, point rdc at your code, and VIVAT CUCUMIS!

RDCore.CLI / Platform Updates

The RDCore language platform is taking shape and is about to get very serious about its ambitions: take MS-VBAL and implement it from the ground up into the LSP platform Rubberduck would have been if it became VBA.

I remember telling a friend last spring about my plans; “ok but what about the debugger?” they asked – I said where we’re going we don’t need a debugger, we are the debugger. Last week, we arrived.

MS-VBA halts your debugging session when you rename a symbol in the current instruction, presumably because the edit cannot be made in all places at once, leaving the program invalid in the interim steps.
RD-VBA merrily lets you resume after doing exactly the same, because renaming a symbol is an atomic operation that can perform multiple edits at once.

Edit and continue

Perhaps the single most defining feature of Classic Visual Basic, has arrived in RDCore: the ability to reshape the compiled program, observe and manipulate its symbols and values as it runs in a debugger.

E&C is a rather complex matter, and MS-VBA halts execution in quite several situations, for very valid reasons. The fact that RDCore allows resuming execution in places where MS-VBA would not, doesn’t take anything away from the historical feature: RDC’s internals are modeled in such a way that makes these limitations a bit easier to overcome, I suppose.

Edit and apply later

When RDCore cannot apply an edit, it often can (and does) hold on to the compiled version and issues a RDC20001 diagnostic that says the edit will be applied after the program restarts – rather than stopping the debug session right there and then.

Edit and take it back

If RDCore cannot apply an edit, and cannot hold on to the compiled version while keeping its state coherent, you can simply undo it, and then resume execution as if nothing happened.

See the documentation for a complete breakdown of the specific cases and the differences between RDCore and MS-VBA.

All debugger features are provided through standard DAP endpoints over stdio.


Code formatting

LSP defines endpoints for code formatting and format-as-you-type, but doesn’t specify what it specifically entails, leaving a language server free to do whatever it deems necessary to fulfill the request.

In RDCore, that means indenting the module of course – with legacy Rubberduck’s indenter settings imported from your Rubberduck configuration… a bit like how Rubberduck imported your legacy Smart Indenter settings on the first load.

In the REPL client (rdc.exe running standalone), formatting is applied whenever the program source code is read – so when you LIST or SAVE a .rdc program file.

Code formatting settings are editable (with completion lists!) from the interface with the CONFIG command, and take effect immediately.

Block foldings

At the start of any block, the LIST output will show ▽▲ glyphs in the margin, indicating the start of foldable and folded code blocks, respectively.

Use the FOLD command to toggle them; completion list offers the valid line numbers.

If a folded block hides a breakpoint, it is displayed in the margin on the folded line, even if that line doesn’t have a breakpoint.


Completion lists

Completion lists show available commands, keywords, standard library modules, functions, and procedures; enum arguments, object members. All with the signature and docstring underneath.

The one single thing that makes the biggest difference in how hard or easy it is to learn a programming language, is its completion lists: without it, everything feels like a magic incantation that you must know in order to make anything work at all.

With it, it’s like the standard library is telling you how to use it, and you can explore all the types and members and discover things, all without leaving your editor.

RD-VBA completion is snappy and relevant, and signature help provides the docstrings as you type – in the language configuration of your session for the standard library (although currently only available in French and English).


MSForms hosting

The RD-VBA runtime is now capable of hosting MSForms. It does not, at this stage, host its own “RDForms” cross-platform GUI components, so trying to run a user form in Linux or on a machine without the non-distributable MSForms 2.0 DLL will raise a runtime error instead of showing a UI.

At design/compile time though, all the symbols remain available, so you get completion lists and signature help regardless, and the code compiles.

We could describe it as RD-VBA replacing MS-VBA as the MSForms designer and runtime host here, taking the legacy Microsoft UI framework made for Office automation out of its box and into standalone RD-VBA applications.

This is ultimately just the fallback solution, a shortcut to get something out the door faster: the goal is for the beta stage to host its own implementation of a GUI framework that can run and render anywhere: the one HexIDE built to do the same for VB6 forms and controls.

Remember MVVM in VBA? The example form’s content is dynamically generated at run-time, and RDCore runs it and its events; it works!


Alpha release?

As of this writing, RDCore is still unreleased pre-alpha. To try it today, you must clone the repository on GitHub and build and deploy the platform yourself, and then it’ll deploy an unoptimized debug build that’s intended for local development and debugging.

The roadmap is quickly becoming a long green list of checked boxes, there are now over 13k unit tests and 80% coverage, so an alpha release can’t be too far down the line. What’s holding it up?

HexIDE integration

Releasing RDCore without a LSP client integration beyond its own REPL/CLI toy application wouldn’t do it justice: there are so many things RDCore can do as a platform, that the REPL client simply cannot express, the first of which is handling a project with anything more than a single procedure scope with BASIC-style line numbers. The REPL client is a LSP demo and platform integration testing tool; it isn’t “the product”, even if, without an IDE, it’s what gives you a small glimpse of what the platform and language server can do.

There could be a small VSCode extension that implements the SDK’s RDCoreClientApp and integrates the LSP server into VSCode… but VSC is a general-purpose jack of all trades, master of none editor that makes the experience awkward when you just want your good old VBIDE with the modern-day perks.

This is where HexIDE wins: like VSCode it has its language features provided by LSP server extensions. But the Hex is for 6, as in VB6 – it is an independent project under MIT licensing, which gives a fork more rights than what we intend to leverage to ultimately make it the RDCore platform’s official IDE.

By 2027, it will be possible to import a VBA project or open a .vbp in HexIDE; analyze, test, and build it (.net exe/dll) in both CI/CD pipelines and the editor with RDCore, and compile it to native x86/x64 and extend the language beyond VBA with twinBASIC – all without leaving your IDE, and none of it requiring you to be on a Windows desktop with Office installed.

RDCore.SDK

The MIT-licensed RDCore.SDK project at the center of the platform is being extracted into its own separate repository, and will be publishing a NuGet package that RDCore platform components and extensions (including the HexIDE extension) will be referencing like any other package. The idea is to make it as easy as possible to write RDCore platform extensions.

Because the language core and runtime and platform SDK is only the beginning for the RDCore platform: unit testing will soon build on top of it, for example – but the alpha release will not wait for the platform extensions.

Simple Things Pt.1: Values

Sometimes, simple things are just very effective abstractions that are very good at hiding the giant rabbit hole underneath.

Like an innocent little literal value for example:

Debug.Print 42

This 42 is just that, a plain integer value – isn’t it?

One could reasonably set out and write a parser that produces an abstract syntax tree (AST) here that would include some LiteralExpression node, that necessarily evaluates to 42.

But the node itself isn’t the value. In fact – perhaps surprisingly – it doesn’t even know what or where that value is. It knows where it is defined in the source code, but that’s not what I meant with where that value is.

So where does the 42 actually live? Where is it stored? And why does it even matter?

The answer is… not in the expression node: the node evaluates to a value, but is not that value.

For starters, the specifications dictate that 42 must be an Integer literal. Not a Long, not a Double – although a different value might yield either semantic data type. The grammar however, only distinguishes integer numbers from floating-point numbers: it’s token semantics specified in MS-VBAL that ultimately determines the semantic data type.

It also states very plainly that an integer value should be a 16-bit signed integer, and also defines such internal representations for each intrinsic data type: clearly we can’t just make everything a double and run with it, or we’ll almost certainly break something downstream.

Why is that?

More Than Values

If we stop and think about the type system in VBA, we quickly realize that we don’t just need values for literals, and that many other things evaluate to, or represent a value – like functions, parameters, and if we squint a little even a class instance (object) could be coerced into a value.

And that’s a problem if we model a semantic type system that embeds values directly, because then the assignment of a ByRef parameter can only behave as a value, not as a reference. Besides we also want to be able to represent values that exist and must be usable but aren’t defined anywhere in source code.

This is why RDCore introduced binding handles as an indirection layer between a VBTypedValue and the underlying binary value it represents.

Back to the literal 42 integer value: we have a value binding that yields the 42, and so the VBIntegerValue type knows it has a binding that can get the value, and it doesn’t need to know where that value actually is.

An integer parameter passed by reference would also be a VBIntegerValue, but its binding would be a reference binding rather than a value one, likely pointing to a symbol defined somewhere in the call stack: changing the value of this reference binding would necessarily affect the value everywhere it’s referenced, because its runtime value is associated to its declaration symbol within the program memory.

The RDCore semantic type system explicitly differentiates types and values, such that a VBIntegerValue represents a value of type VBInteger. This is slightly different from other models, where a value might be an instance of a given data type. Beyond that, a type might also be described by a value that represents a data type: VBTypeDescValue. This special meta-value is useful in a number of scenarios (notably TypeOf operators), and enables reflection-like capabilities and semantics that may or may not end up exposed at the language level, possibly through platform extensions.

This differentiation is necessary to correctly model arrays, UDT, and custom class types – that’s a whole other rabbit hole that deserves its own post, but for now this is what matters:

VBInteger:VBType
👇describes
VBIntegerValue:VBTypedValue
👇bound to
42:System.Int16

If an instance of a given VBType represented a value of that type, then we would need to generate the complex types on the fly, and that would be way more complicated than things need to be: we don’t need dynamic types when everything is statically defined – what we need is just a model that makes it work, and conceptually separating data types from typed values does exactly that.

Runtime Values

The RDCore SDK defines an entire type system that supports everything (and more!) VBA can do, using .net types to represent all underlying runtime values.

While several data types work pretty well as-is, others like Boolean, Currency, and Decimal don’t really map 1:1 and need a special type that correctly represents the value. For example an Integer value easily maps to a .net Int16, but mapping a .net Boolean to a VBA Boolean would introduce bit alignment issues (notably in UDT types), because it’s a 16-bit integer under the hood but a .net Boolean is only a single byte! Decimal is another, perhaps less consequential since it’s not declarable, but MS-VBAL specifies it as fitted across 14 bytes (3x Int32 +Int16), yet the corresponding .net type is 16 bytes wide (4x Int32); Variant is another data type that needs its own interop value, a 24-byte struct that can hold anything, value or reference.

The Debug.Print 42 instruction parses the 42 as a literal expression that evaluates to a VBIntegerValue that has a ValueBindingHandle that holds the managed Int16 value 42.

If it were Debug.Print “Hello, world!”, we would’ve had a VBStringValue with a ReferenceBindingHandle instead, holding a reference to a managed string holding the literal value. Concretely, this means a reference binding is really just a wrapper around a managed object; this makes it possible to box value types and use them as references in ByRef scenarios.

But it’s just a literal!

And it is. But to be useful, the semantic model must be able to tell a Variant from a Long from a Double, and a unified semantic type system that doesn’t care whether a value came from source code or is the result of an operation, and isn’t concerned about the internal memory representation of that value: that’s what the semantic model abstraction level does, and that’s where the AST belongs.

Constantly wrapping and unwrapping runtime values into semantic ones would be terribly inefficient, for run-time though. If it doesn’t sound so bad, try looping a million times into an array and adding one to each element, and the overhead should become obvious: it’ll interpret nodes all right, but something else must be able to actually run things without caring for the semantic layer.


Progress Status

As of this writing, the parser produces an AST containing all the expected nodes in an initial declaration pass: module directives and attributes, as well as everything in the declarations section, and procedure member signatures (including parameters) – but no executable statement nodes yet, although many of these have already been defined.

These nodes will be introduced in the AST alongside their respective evaluation semantics in an evaluation engine that’ll become the interpreter that will eventually evaluate nodes in break mode, while a separate execution engine will operate at a lower level, working directly with the underlying runtime types.

This will all be tested and benchmarked (and adjusted as needed) in due time, of course.

For now the development focus is turning to the LSP client/server SDK, which is what underpins cross-process communications across the entire RDCore platform. Once that’s in place, the language server can start implementing LSP handlers that an IDE can use, for everything a declaration pass already unlocks – but that work will be ticketed and not completed right away (not by me anyway), because then focus will have to shift to the semantic evaluation engine and the statement nodes, because GoTo and GoSub/Return, not to mention error states, are an interesting twist on what would otherwise be a rather straightforward AST traversal.

RDCore™

(English version follows)

Il y a certaines choses qui doivent tout simplement être accomplies.

Parfois, c’est de graver avec vos propres mains dans un morceau de pierre le logo de votre compagnie nouvellement enregistrée.

Je peux le toucher (si lisse!) – il est là, il est réel. Je l’ai fait moi-même et je suis très fier du résultat!

D’autres fois, c’est de modéliser puis implémenter une spécification de langage depuis sa fondation.

J’ai, euh, fait quelque chose

Cette histoire débute à peu près à ce temps-ci de l’année (mai/juin) en 2014, mais le bout qui nous intéresse ici nous ramène il y a tout juste quelques mois à l’hiver 2026, au moment où je me suis réveillé un matin en me disant “et si RD3 était nettoyé un peu, et redémarré ?”

Armé d’une redoutable cafetière, j’ai ouvert Visual Studio et parti un projet tout neuf que j’ai nommé RDCore, puis j’ai commencé à y déplacer le système de typage – j’avais vraiment quelque chose d’intéressant dans RD3, il fallait juste débroussailler un peu.

J’ai ensuite suivi la documentation MS-VBAL (la spécification officielle du langage VBA) et… j’ai rapidement conclu que je détenais autre chose, que ceci n’allait pas, en fait, aboutir avec juste un redémarrage de RD3.

Rubberduck v3 a toujours été ambitieux, mais là c’était en train de devenir un véritable SDK… pour une plateforme de langage moderne.

Pour VBA.

Pleinement open-source et désormais officiellement sous la gestion d’une entité corporative, le projet est tout juste rendu public et toujours en phase de développement actif, donc ne cherchez pas un installateur pour l’instant, mais…

RDCore.SDK

La librairie principale de la solution RDCore encapsule le cœur de langage de la plateforme (le système de typage, les règles sémantiques, les abstractions de la librairie standard… Ça sera tout VBA mis en boîte), mais aussi (pour l’instant du moins) toute l’extensibilité liée au Language Server Protocol (LSP) pour bâtir une constellation de plug-ins hors-processus pour des analyseurs sémantiques, entre autres idées d’extensions.

Il s’agit d’un framework pour construire des applications .net 10 (donc théoriquement indépendantes de l’OS) qui peuvent construire sur ces nouvelles fondations flambant neuves, tout ce que la communauté VBA a toujours rêvé de pouvoir faire avec ce langage.

VBA est mort, non?

Voici ici une ré-implémentation (en cours) partie des spécifications, traduisant un ensemble inconfortable de règles souvent partielles et qui semblent contradictoires en un design honnêtement très élégant qui… change complètement la donne.

Et si on avait Roslyn, mais pour VBA?

Ceci place VBA à une véritable fourche dans son histoire : une branche représentant de plus en plus un risque opérationnel, l’autre se plaçant solidement comme un chemin vers l’avant.

One does not simply… sortir de VBA

Si vous n’étiez pas là vers la fin des années 90, vous ne savez peut-être pas à quel point VB était pratiquement partout. C’est peut-être aujourd’hui un langage un peu bizarre qui automatise quelques fichiers Excel pour votre compagnie, mais pour d’autres il exécute des fonctions critiques, ou alors il implémente un moteur de calculs physiques propriétaire qu’aucun n’a osé toucher en 25 ans sans avoir la sécurité d’une solide suite de tests unitaires : la migration de ce code hérité (“legacy”) coûtera plusieurs dizaines sinon des centaines de milliers de dollars pour aboutir avec quelque chose qui fonctionne peut-être aussi bien que la macro de Dave, mais maintenant avec un portail web et des micro-services distribués sur AWS avec un API et oh, voici votre nouvelle facture mensuelle pour toute cette infonuagique, bienvenue sur le cloud!

Cette même histoire se répète un peu partout dans chaque recoin de chaque secteur de chaque économie sur cette planète, et l’industrie de la modernisation du code hérité est énorme… et tous les joueurs majeurs semblent convaincus qu’un autocomplete glorifié et mis sur un piédestal saura régler tous ces problèmes, avec une approche approximative qui fonctionne en surface, mais tient rarement la route par elle-même, car le diable est dans les détails.

À moins que quelque chose ne vienne déranger l’industrie avec une approche radicalement différente.

RDCore pourrait (éventuellement) prendre en charge la macro de Dave et soudainement, celle-ci serait pérenne et observable, de la même façon que si elle avait été complètement réécrite sur une plateforme de langage moderne… parce que c’est exactement ce dont il s’agit ici.

Ce que signifie l’existence de RDCore

C’est un énoncé, un pied à terre. Ça signifie qu’il existe désormais une plateforme de serveur de langage avec des capacités d’analyse sémantique extrêmement détaillées en développement actif sous la direction de 9562-7303 Québec inc., et qu’il existe une communauté de développeurs qui refuse d’abandonner VBA et qui a décidé que le temps était venu de le prendre en main. MS-VBA ne sera probablement jamais open-source, alors notre réponse est “d’accord. nous le rendrons donc par nous-même à sa communauté“.

Ça signifie que soudainement, les capacités d’analyse sémantique de VBA deviennent comparables à celles de Roslyn (l’impeccable compilateur de C#) – entre toutes les choses avec quoi VBA aurait pu rêver d’être favorablement comparé.

Ça implique des possibilités d’extensions qui vont bien au-delà de ma propre débordante imagination : il existe désormais un chemin où la communauté peut façonner l’avenir de VBA de toutes les façons qui lui chantent.

Ça signifie beaucoup, beaucoup de choses.

Qu’advient-il de Rubberduck?

Il ne deviendra pas un nouveau plug-in pour VBA, c’est plus gros que ça. Pas non plus une version client LSP – c’est plus gros que ça.

Rubberduck va plutôt fusionner et ne devenir qu’un avec le langage qu’il tentait de mieux comprendre : la prochaine itération de Rubberduck en sera une du langage même, et il s’agit d’un nouveau paradigme pour Rubberduck, pour VBA, et pour l’industrie de la modernisation du code hérité en général.

J’aimerais voir RDCore devenir un vibrant écosystème bourré d’excitantes extensions officielles et de tierces parties ouvrant des possibilités jamais même envisagées auparavant qui démontent complètement l’idée que VBA est une langue morte. Une langue n’est pas morte tant qu’elle a des locuteurs, et d’ailleurs VBA est une spécification, et une spécification ne meurt pas – elle se retrouve plutôt fossilisée, gravée dans la pierre, puis implémentée des siècles plus tard d’une façon dont les auteurs originaux n’auraient  pu imaginer.

Il y a une possibilité qu’RDCore passe à l’Histoire comme la plateforme qui a finalement succédé à VBA. Et ce n’était pas Microsoft. C’était nous. C’était Rubberduck. C’était RDCore.

VIVAT CUCUMIS™ ❤️

Consultez la documentation officielle pour tous les détails.


English

Some things you just need to do.

Sometimes it’s carving your recently-incorporated company’s logo with your own hands in a limestone slab.

Now I can touch it (so smooth!): it’s here, it’s real. I made it myself and I’m proud of the results!

Some other times it’s just waking up and implementing a language specification.

So uh, I did a thing.

This story could start at just about exactly this time of the year (May/June) in 2014, but that’s not why you’re here, so I’m going to skip ahead to winter 2026 – just a few months ago when I thought “hey what if RD3 was actually sorted out and rebooted”, and set out to do just that.

I started a new solution and called it RDCore, then started the migration with the type system. I had something interesting in RD3, it just needed to be expanded on and cleaned up a little.

I grabbed the MS-VBAL specifications and found myself just organically but rather quickly reaching the conclusion that I was onto something else, this wasn’t just a reboot of RD3 anymore.

It was becoming a SDK. For a language platform.

For VBA.

Fully open-sourced and under corporate stewardship, now officially in Public Open-Core Phase II after a few months in a private development phase – the project is still very much pre-launch so don’t go looking for an installer yet, but…

RDCore.SDK

The main library in the RDCore solution encapsulates the platform’s language core (the type system, semantics, standard library abstractions, … it’s VBA wrapped up in a box), but also (for now anyway) everything around extensibility and wiring up the Language Server Protocol to make a constellation of out-of-process semantic analyzer plug-ins… among other extension ideas.

It’s a framework for building .net 10 applications (so at least theoretically platform-agnostic) that can extend this shiny new language platform with everything the VBA community ever dreamed of extending the language with.

VBA is dead, right?

The ironic thing is that, this is what might ultimately become its actual successor: a ground-up reimplementation of the language specifications (in progress), turning an uncomfortable mess of seemingly contradictory rules and exceptions into a honestly very elegant object-oriented design that …completely flips the script.

What if Roslyn, but for VBA?

This basically puts VBA at a literal fork in the road: one path is increasingly becoming a liability, the other is emerging as an increasingly compelling way forward.

One does not simply… Exit VBA

If you weren’t around in the late 90s you might not understand just how ubiquitous Visual Basic was. Maybe it’s a funny language that scripts a handful of worksheets at your company, but elsewhere it runs complex proprietary physics calculations that nobody in 25 years dared refactoring without the safety net of a good unit test coverage, let alone extracting clear specifications from it: migrating it would cost hundreds of thousands of dollars, only to get something that maybe will work just as well as Dave’s macro, but in a web app now, with AWS-hosted micro services and API and oh here’s your updated cloud services monthly bill for all that. Welcome to the cloud!

And that same story is in every conceivable corner of every sector of every economy on this planet, and the modernization of this legacy code is a gigantic business with major players apparently all convinced that a masterfully concocted glorified auto-completion engine can solve all their problems, with an approximative approach that works fine on the surface, but often falls apart under scrutiny because the devil is in the details.

Unless something comes along and… disrupts the industry, that is.

RDCore could (eventually) run Dave’s macro and, just like that, it becomes sustainable and observable, as if it had been completely rewritten to run on a modern language platform... because it’s exactly what it is.

What RDCore’s existence means

It’s a statement. It means that there’s now a language server platform with extremely detailed semantic analysis capabilities, in active public development under the stewardship of 9562-7303 Québec inc., and that there’s a developer community that is refusing to let go of VBA and has decided that the time has come to take it into our own hands: MS-VBA will likely never be open-sourced, but RD-VBA says “fine, we’re open-sourcing VBA on our terms then”.

And then it means that suddenly, the semantic analysis capabilities of VBA are comparable to Roslyn (the pristine C# compiler itself), of all things VBA could ever dream to be favorably comparable to.

It means extensibility well beyond my own admittedly quite creatively artistic imagination:  there’s now a path where a dev community gets to shape the future of VBA in just about any way they like.

What happens to Rubberduck?

It’s not becoming a better VBIDE addin. Bigger. Nor even a LSP-enabled version of it. Bigger.

Instead, Rubberduck is becometh one with the language it always tried to understand: the next iteration of Rubberduck is going to be an iteration of the entire language itself, and it’s a complete paradigm shift for Rubberduck, for VBA, and for legacy software modernization.

I would like the RDCore platform to spawn a thriving ecosystem of exciting never-thought-even-possible-before first and third party extensions that really challenge the notion that VBA is a dead language. A language isn’t dead as long as it’s spoken, and besides VBA is a language specification, and specs don’t die; they just get carved in stone, and then centuries later implemented in a way the original authors couldn’t even imagine.

There’s a chance RDCore goes down in History as the language platform that finally did replace VBA. And it wasn’t Microsoft that did it. It was us. It was Rubberduck. It was RDCore.

VIVAT CUCUMIS™ ❤️

See the official documentation for all the details.

VIVAT CUCUMIS

(English below)

Longue vie au concombre

Le 26 mai 2026 marquera le 10e anniversaire de la découverte par le contributeur historique @Comintern de ce message cryptique à la clé de resource 18089 de la librairie VBE7INTL.DLL:

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
18080, "Tile Horizontally"
18081, "Tile Vertically"
18082, "Arrange Icons"
18083, "Microsoft Visual Basic for Applications Help Topics"
18084, "Search Reference Index..."
18085, "Obtaining Technical Support"
18088, "About Microsoft Visual Basic for Applications..."
18089, "Long Live the Cucumber"
18090, "Break On All"
18091, "Break In Ole Server"
18092, "Break On Unhandled"
}

Le projet Rubberduck a toujours voulu s’approprier cette phrase et s’en servir quelque part d’une façon ou d’une autre.

Rubberduck Core marine ce concombre depuis un certain temps, et fait de cette phrase son slogan, en latin:

Gravé dans la pierre, VIVAT CUCUMIS se lit en latin comme une prophétie ancienne.

Il y a plusieurs niveaux à cette imagerie: plongeons.

Gravé dans la pierre

Quand on dit de quelque chose qu’il est gravé dans la pierre, on décrit quelque chose d’immuable, ou qui n’est pas prêt de changer. Un peu comme les spécifications d’un certain langage de programmation.

La pierre taillée évoque l’antiquité et la renaissance, mais aussi les pierres tombales et les cimetières, où l’on pourrait s’attendre à retrouver une langue morte comme le latin… ou VBA. Ça dit “ceci existe depuis longtemps”, mais aussi “ceci fait partie de notre héritage”.

La pierre est une fondation solide, noble. Elle est aussi lourde, et peut être un fardeau tout comme le code hérité – ou pour Microsoft tout comme le support des librairies d’exécution de VBA. Elle dit malgré tout “ceci existera encore longtemps”.

VBA est mort, vive VBA!

Peut-être que le proverbial concombre se voulait réellement référer à Visual Basic même, mais c’est sans importance de toute façon parce que VBA a effectivement survécu, et donc le soulier fait, même si c’est a posteriori.

L’utilisation d’une image qui pourrait être interprétée comme une pierre tombale pour quelque chose qui est lié à VBA assume complètement la nature “intuable” du langage et la profonde ironie de le voir survivre à chaque produit ou technologie qui tente désespérément et successivement de le remplacer : VBA est mort, longue vie à VBA!

Modernisation

Rubberduck Core conserve les racines et fait évoluer le concept, alors on passera éventuellement de la pierre au métal – à l’acier :

Gravés au laser sur un médaillon en acier, les mêmes mots deviennent à la fois un hommage, une promesse, une réalisation, un… porte-clé sans doute.

L’acier est toujours la pierre, en quelque sorte. Cuisinée un peu certes (bon d’accord, carrément séparée du métal…), mais néanmoins il vient de la pierre. Brute, lourde et difficile à manier, maintenant raffinée, élégante et polie, relativement légère mais robuste et durable. Et brillante aussi. L’âme y est clairement toujours.

C’est précisément ce qui va se produire avec Rubberduck : le concombre ne fait que mariner encore un peu… parce qu’une décennie plus tard, celui-là n’est toujours pas un cornichon.

rubberduckvba.ca

Le site historique du projet rubberduckvba.com redirige désormais vers rubberduckvba.ca et le dépôt du projet Rubberduck sur GitHub est maintenant archivé en lecture seule. Les efforts de développement pour la prochaine évolution sont en cours dans un dépôt pour l’instant privé sous la même organisation rubberduck-vba; Rubberduck Core en sera bientôt le nouveau projet-phare en mode Open-Core, soutenu par 9562-7303 Québec inc., une société privée fondée à cet effet par le même auteur principal de Rubberduck et auteur de ce blogue depuis son commencement.

Être incorporé au Québec signifie que toutes les communications officielles seront publiées dans ce format en français d’abord, avec un lien immédiat vers le contenu équivalent en anglais. Ça signifie également que la disponibilité du contenu dans une langue autre que l’anglais n’est pas un ajout, mais une nécessité : tout comme Rubberduck, Rubberduck Core (ou RDCore pour faire plus court) sera assurément disponible en français et en anglais dès le jour un, et ensuite dans toutes les langues que la communauté rendra disponibles. Ce n’est pas un fardeau, mais une opportunité. Vos documents seront toujours envoyés dans la langue de votre choix.

(C) 2026 Mathieu Guindon pour 9562-7303 Québec inc.


English

Long Live the Cucumber

May 26, 2026 will mark the 10th anniversary of the discovery by core historical contributor @Comintern of this cryptic message at resource key 18089 of the VBE7INTL.DLL library:

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
18080, "Tile Horizontally"
18081, "Tile Vertically"
18082, "Arrange Icons"
18083, "Microsoft Visual Basic for Applications Help Topics"
18084, "Search Reference Index..."
18085, "Obtaining Technical Support"
18088, "About Microsoft Visual Basic for Applications..."
18089, "Long Live the Cucumber"
18090, "Break On All"
18091, "Break In Ole Server"
18092, "Break On Unhandled"
}

The Rubberduck project always wanted to appropriate this phrase and use it somewhere, somehow.

Rubberduck Core marinates the cucumber and makes the quote its catchphrase, coined in Latin:

Carved in stone, Latin VIVAT CUCUMIS reads like some ancient prophecy.

There are a few layers to this imagery: let’s dive.

Carved in Stone

When we say something is carved in stone, we are describing something that is either immutable, or isn’t about to change – much like the specifications of a certain programming language.

Carved stone evokes Antiquity and Renaissance, but also cemeteries and headstones, like where you would expect to find a dead language like Latin… or VBA. It says “this has been around for a long time”, and also “this is part of our heritage”

Stone is rock solid, foundational, noble. It’s also heavy, and it can be a burden, like legacy code – or if we ask Microsoft, like runtime support for VBA. It nevertheless still says “this will be around for a long time”.

VBA is Dead, Long Live VBA!

Maybe “the cucumber” really did refer to Visual Basic itself, but it wouldn’t matter if it didn’t: VBA lived on, so the shoe fits even if a posteriori.

Using something that can be construed as a headstone to depict something related to VBA leans heavily onto its “unkillable” nature and the profound irony of it surviving every single one of its successive replacement attempts: VBA is dead, long live VBA!


Modernization

Rubberduck Core keeps the roots and evolves the concept, and so we will eventually grow out of stone, to metal – to steel:

Laser-engraved on a steel medallion, the same words become a tribute, a promise, a fulfillment, a… keychain, perhaps.

Steel is still the stone, in a way – crushed and cooked (narrator: fully separated from it, actually), but it came from the stone. Crude, heavy and unwieldy, it ultimately becomes refined, elegant and polished, relatively lightweight but extremely solid and reliable. And shiny. The soul is still there.

That’s exactly what’s going to happen with Rubberduck – the cucumber is only marinating a little longer… because a decade later, this one still hasn’t pickled yet.

rubberduckvba.ca

The historical project site rubberduckvba.com is now redirecting to rubberduckvba.ca and the Rubberduck repository on GitHub is now archived/read-only. Development efforts towards the next evolution are currently in progress in a private repository under the same rubberduck-vba organization; Rubberduck Core will soon be its flagship Open-Core project under 9562-7303 Québec inc., a private company founded for this specific purpose by the same primary author of Rubberduck and of this blog since its inception.

Being incorporated in Québec means all public communications are going to be issued in a French-first format, with an immediate link to the English content. It also means that localization isn’t an afterthought in this company, but a necessity: like Rubberduck before it, Rubberduck Core (or RDCore for short) shall be assuredly available in both French and English, and then every language it would end up being translated into. It’s not a burden, but an opportunity. Your documents will always be emailed in the language of your choosing.

(C) 2026 Mathieu Guindon on behalf of 9562-7303 Québec inc.