{'fraction_non_alphanumeric': 0.030706243602865915, 'fraction_numerical': 0.0040941658137154556, 'mean_word_length': 5.791666666666667, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
K 3 : Language Design for Building Multi-Platform , Domain-Specific Runtimes

We pose the question: while it is natural to embed specialized systems functionality (e.g. databases) in programming languages, how can programming language techniques simplify constructing and analyzing scalable computing systems? This topic is of increasing importance with the ongoing specialization of data and computing models in databases, systems, scientific computing and AI. We introduce K3, an event-driven language to represent, compose and analyze distributed runtimes. K3’s goals are twofold, first to facilitate the synthesis of scalable domain-specific runtimes that take holistic advantage of domain properties, and second, to coordinate existing popular runtimes and platforms in a declarative fashion under a unified optimization framework. We present K3’s distributed event-driven computation model, and its annotation model for data, control, execution and optimization concerns.