Fabric KL Workshop¶
Description¶
This workshop covers the KL language features. This is an essential workshop for anyone working with any of the FabricEngine products. KL is a powerful yet tightly-scoped language, and we strongly recommend to go over the sections of this workshop.
You can find all of the videos embedded below in the Fabric Engine Workshop Channel on Vimeo.
Material¶
Workshop files http://github.com/fabric-engine/TrainingMaterial/tree/2.4.0/
PDF Presentation Introduction to KL
PDF Presentation KL Language features
01 - Introduction¶
This section covers a general and brief introduction into the Fabric Core, KL and the different elements of the system.
02 - The KL Tool¶
In this section we give a brief overview of KL and introduce the KL command line utility (kltool).
04 - Variables¶
In this video we introduce KL variables an explain how you can use them to store runtime data.
05 - Functions¶
This section focuses on KL functions and the different types of parameters. KL function return parameters are covered as well.
06 - Conditions¶
This section covers the different conditional program flow statements of KL, such as if, else and switch.
07 - Loops¶
This section covers a general and brief introduction into the Fabric Core, KL and the different elements of the system.
08 - Arrays¶
We cover KL fixed size and variable size arrays and how you can use them to store large amounts of data in a list-list container.
09 - Dictionaries¶
This section covers a general and brief introduction into the Fabric Core, KL and the different elements of the system.
10 - Structs¶
In this section we cover KL structs. You’ll learn how you can define your own data types, implement methods on them etc.
11 - Objects¶
In this section we cover KL Objects, the differences between structs and objects and how you can use objects to your advantage as a fast reference counted container.
12 - Require Statement¶
We cover how you can use the KL require statement to use predefined KL types within your code, as well as load extensions dynamically.
13 - PEX¶
In this section we cover Parallel Execute (PEX) and how you can deploy multithreading using KL across a large amount of units of work in parallel.
14 - Map Reduce¶
In this section we cover KL’s MapReduce functionality. You’ll learn how you can use multithreading in recursive situations and how to compute on data that might even fit into memory.