Microsoft has the same with .NET on SQL Server.
Is also a way to extend the SQL languages, and to bring existing code into the server side.