Code::Blocks vs IAR Embedded Workbench
Code::Blocks
codeblocks.orgIAR Embedded Workbench
iar.comSide by side
| Figure | Code::Blocks | IAR Embedded Workbench |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | Yes |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | — |
| Linux | Yes | Yes |
| Plans published | 1 | 2 |
| Spec score · IDE Software | 7.9 (#24) | 8.5 (#10) |
| Spec score · C++ IDEs | 7.8 (#13) | 8.3 (#6) |
| Debugging | The debugger interfaces with GNU GDB and also supports MS CDB, which the site says is not fully featured. | The C-SPY debugger provides real-time trace, code coverage, function profiling, and RTOS awareness. |
| Extensibility | The IDE uses a plugin framework, and functionality can be added by installing or writing plugins. | The IDE supports custom build tools, external tools, custom argument variables and adding IAR Visual State. |
| Purpose | Code::Blocks is a free IDE for C, C++ and Fortran. | IAR Embedded Workbench is an embedded development toolchain with an optimized compiler, debugger, and analysis tools. |
| Support | The site directs users to its manual, wiki and forums for documentation, help and discussion. | IAR provides customer portal access to technical support, technical articles, and customer support, plus self-service online training through IAR Academy. |
Plans
IAR Embedded Workbench
- IAR Embedded Workbench evaluationFree
- IAR Platform subscriptionPriced on request
In their own words
Code::Blocks
Code::Blocks is a free IDE for C, C++ and Fortran on Linux, macOS and Windows. Its editor provides syntax highlighting, code folding, tabs, code completion, a class browser, and smart indent. A custom build system supports parallel builds, multi-target projects, workspaces, and inter-project dependencies. Listed compiler options include GCC, MSVC++, clang, Digital Mars, Borland C++ 5.5, and Open Watcom. The debugger interfaces with GNU GDB and also supports MS CDB, which the site describes as not fully featured. Code::Blocks imports MSVC projects and workspaces, although assembly code is not supported in those imports, and it imports Dev-C++ projects. A plugin framework allows added functionality through installed or written plugins; some are included in official releases and others are maintained externally. The software uses GNU GPL version 3, while its SDK uses GNU LGPL version 3, allowing closed-source plugins to link against it. Documentation is provided through a manual, wiki, and forums.
IAR Embedded Workbench
IAR Embedded Workbench is an embedded development toolchain with an IDE, optimizing compiler, linker, assembler, and debugger. It supports over 20 architectures, including Arm, RISC-V, 8051, MSP430, AVR, and several Renesas families. The C-SPY debugger provides real-time trace, code coverage, function profiling, and RTOS awareness. IAR C-STAT offers static analysis; IAR C-RUN detects runtime errors and is available for Arm and RX. The toolchain works with VS Code and Eclipse, supports CMake builds, and can integrate with CI/CD pipelines. Supported debug probes include I-jet, I-jet Trace, J-Link, PE Micro, and ST-LINK. Built-in plugins provide RTOS awareness for systems including PX5 RTOS and Zephyr RTOS. The IDE runs natively on Linux and Windows. A 14-day evaluation is available for non-commercial use, but excludes runtime library source code, C-STAT, and MISRA C support and includes limited technical support. Paid subscription pricing is available by request; the subscription combines named-user licenses and build capacity for automated builds and CI/CD.