# Lua(Jit) for computing accelerator beam physics

- Institution: CERN
- Department: Developers@CERN Forum
- Speaker: Laurent Deniau
- Year: 2016
- Language: English
- Subjects: Physics, Computer science
- Source: [CERN](https://videos.cern.ch/record/3016478)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Tweens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

As mentioned in the 2nd developers meeting, I would like to open the debate with a special presentation on another language - Lua, and a tremendous technology - LuaJit. Lua is much less known at CERN, but it is very simple, much smaller than Python and its JIT is extremely performant. The language is a dynamic scripting language easy to learn and easy to embedded in applications. I will show how we use it in HPC for accelerator beam physics as a replacement for C, C++, Fortran and Python, with some benchmarks versus Python, PyPy4 and C/C++..

0:00:00 Slide 1

0:00:30 Slide 2

0:00:37 Slide 3

0:03:51 Slide 4

0:04:27 Slide 5

0:05:33 Slide 6

0:06:27 Slide 7

0:07:56 Slide 8

0:08:58 Slide 9

0:09:14 Slide 10

0:11:13 Slide 11

0:11:20 Slide 12

0:13:17 Slide 13

0:13:26 Slide 14

0:16:46 Slide 15

0:16:50 Slide 16

0:19:42 Slide 17

0:20:59 Slide 18

0:21:42 Slide 19

0:22:17 Slide 20

0:23:57 Slide 21

0:24:23 Slide 22

0:25:34 Slide 23

0:26:26 Slide 24

0:27:33 Slide 25

0:29:30 Slide 26

0:29:48 Slide 27

0:30:15 Slide 28

0:30:41 Slide 29

0:31:10 Slide 30

## Lectures

1. [Lua(Jit) for computing accelerator beam physics](https://invisiblenetwork.ai/learn/cern/3016478/301a41c51ef7), 42 min (CERN's player)
