Welcome to the Barracuda App Server (BAS) and the Barracuda Embedded Web Server (BWS) reference manual.
BAS and BWS are C code libraries designed for seamless OEM integration, making them ideal components for embedded applications, including firmware.
Note: To sync the left pane navigator with the content you're viewing, click the Sync button (
) at the top of the navigator after following links within the documentation.
With BWS, application development is primarily done in C or C++. With BAS, you have the option to leverage the built-in Lua engine and move application-level logic into a higher-level language. This allows you to separate low-level, performance-critical code from higher-level behavior, configuration, and integration logic, setting the stage for a more flexible and productive development workflow.
Lua is battle-tested in professional systems such as game engines, industrial automation, and networking. The consensus among developers? It's ideal for application logic (aka business logic), orchestration, and customization, pairing seamlessly with stricter languages like C, C++, or Rust for core performance and safety. Successful products thrive on this hybrid: Lua handles high-level behaviors, including (IoT) networking, while low-level code ensures performance.
This split is a smart evolution for embedded system development. Lua scripts handle high-level tasks such as configuration, web interfaces, MQTT integrations, and other IoT protocols, as well as custom embedded business logic. Benefits include rapid prototyping (days vs. weeks in C), cost savings, and accessibility for non-C experts.
Lua’s flexibility is a strength, and with a small amount of discipline it leads to robust, maintainable systems:
Supplier: Real Time Logic
Included Software Components
Barracuda Embedded Web Server Proprietary software developed by Real Time Logic
SharkSSL Proprietary software developed by Real Time Logic
zlib Open-source compression library
Supplier: Real Time Logic
Included Software Components
Barracuda Application Server Proprietary software developed by Real Time Logic
Lua Embedded scripting language
SharkSSL Proprietary software developed by Real Time Logic
zlib Open-source compression library
Optional Components (Not included by default; availability depends on configuration and deployment)
SQLite Embedded relational database engine
CBOR Lua Modules Concise Binary Object Representation support for Lua
LPeg Lua Parsing Expression Grammars library
lua-protobuf Google Protocol Buffers support for Lua
Notes