
Developing DSLs: A Look at Three Practical Strategies with Real-World Examples (bobkonf2025)
Chaos Computer Club - recent events feed · Ziyang Liu
March 14, 202542m 16s
Audio is streamed directly from the publisher (cdn.media.ccc.de) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Domain-specific languages (DSLs) are languages specialized for a particular domain, and are typically equipped with features that make them well-suited for programming within that domain. This talk explores and compares three common strategies to creating DSLs:
Standalone DSLs, which are entirely new languages.
DSLs embedded in existing host languages.
DSLs that are subsets of existing host languages, which may employ one of two techniques: metaprogramming and compiler plugins.
Each strategy comes with its own benefits and drawbacks, and the optimal choice will vary based on your unique needs. We’ll give an in-depth comparison of these approaches with real-world examples, considering the viewpoints of both language developers and language users. An example domain is smart contract languages for the Cardano blockchain, where DSLs employing each of the three strategies can be found. We’ll also draw examples from fields such as flight control systems, signal processing and more.
Licensed to the public under https://creativecommons.org/licenses/by/3.0/de
about this event: https://bobkonf.de/2025/liu.html
Topics
42025bob2025TalkTalks #1bob2025-engBOBBOB KonferenzDay 1