Is GNU COBOL Ready to Replace Proprietary COBOL? Insights from FOSDEM
GNU COBOL has reached industrial maturity, offering cross‑platform compilation to C, high performance, and strong ISO compliance, making it a viable open‑source alternative to proprietary COBOL products for banks and other enterprises.
GNU COBOL Achieves Industrial Maturity
During a recent FOSDEM talk, contributor Fabrice Le Fessant announced that GNU COBOL has reached industrial maturity and can compete with proprietary products in all environments.
Cross‑Platform Capabilities
GNU COBOL translates COBOL source code into executable applications and runs on Linux, the BSD family, many proprietary Unix systems, macOS, Windows, and even Android. The latest version (v.32) is already used in many commercial environments.
COBOL Usage Today
Originally introduced in 1959, COBOL remains an ISO standard (latest version v 35.060 released in 2023). It was designed for portability, a key factor in its early success funded by the U.S. Department of Defense. Despite being perceived as legacy, up to 80 billion lines of COBOL code are still active and the codebase is growing at about 15 % per year.
Simon Sobisch, project lead of GnuCOBOL, noted that many ATM systems still run COBOL when they are not using Java, and banks maintain massive COBOL codebases that are difficult to migrate.
Hello World Example
The project started as OpenCOBOL in 2002 and was renamed GnuCOBOL in 2013. Below is a simple "Hello World" program in COBOL:
IDENTIFICATION DIVISION
PROGRAM-ID. prog
DATA DIVISION
WORKING-STORAGE-SECTION
01 var-string PIC X(20) VALUE "Hello World"
PROCEDURE DIVISION
DISPLAY var-string
END PROGRAM progThe IDENTIFICATION DIVISION names the program, the DATA DIVISION stores data, and the PROCEDURE DIVISION contains the executable statements.
Enterprise Benefits
GnuCOBOL is intuitive for Unix users, compiles to portable C (C89+), and runs on platforms ranging from mainframes to Raspberry Pi. It can scale to thousands of processors, allowing developers to tune performance and memory usage for large workloads.
In compliance testing, GnuCOBOL passed 97 % of the COBOL 85 conformance suite, surpassing many proprietary vendors, and supports 19 dialects, including extensions from IBM and Micro Focus.
Current limitations include lack of native object or message support; however, future work such as the SuperBOL VSCode extension (developed by OCamlPro) aims to provide a full COBOL processor written in OCaml.
Future Outlook
GnuCOBOL will be featured in the upcoming Google Summer of Code, ensuring continued development and relevance of COBOL for years to come.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
21CTO
21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
