MySQL allows the creation of User Defined Functions, loadable into `mysqld` as shared libraries or dlls.