Akmal Chaudhri
Using WebAssembly for in-database Machine Learning
#1about 4 minutes
Introducing WebAssembly for in-database machine learning
WebAssembly enables running high-performance code like C++ or Rust directly inside a database, co-locating analytics with data.
#2about 3 minutes
Comparing methods for machine learning with databases
An overview of different approaches to database ML includes using Apache Spark, Python libraries, built-in vector functions, and OpenAI embeddings.
#3about 7 minutes
Why use WebAssembly for in-database analytics
Running Wasm UDFs inside the database avoids data movement, extends DBMS features, and executes sandboxed code at near-native speed.
#4about 4 minutes
Setting up the Wasm and Rust development environment
A step-by-step guide to installing the necessary one-time dependencies, including the Wasmtime SDK, Rust toolchain, and wasm-bindgen.
#5about 4 minutes
Building a Wasm sentiment analysis function in Rust
The process involves creating an interface definition file (.wit), managing dependencies with cargo, and writing Rust code to wrap a sentiment analysis library.
#6about 5 minutes
Compiling and deploying the Wasm UDF to the database
After compiling the Rust code into a Wasm module, a specific tool is used to upload and register the function within the database system.
#7about 6 minutes
Live demo of sentiment analysis on a movie dataset
A live demonstration shows how to execute the deployed Wasm UDF with a SQL query against a table of IMDB movie reviews.
#8about 26 minutes
Summary, resources, and audience Q&A
A recap of Wasm's benefits for database extensibility is followed by links to resources and an audience Q&A session on implementation and performance.
Related jobs
Jobs that call for the skills explored in this talk.
Picnic Technologies B.V.
Amsterdam, Netherlands
Intermediate
Senior
Python
Structured Query Language (SQL)
+1
WALTER GROUP
Wiener Neudorf, Austria
Intermediate
Senior
Python
Data Vizualization
+1
Wilken GmbH
Ulm, Germany
Senior
Kubernetes
AI Frameworks
+3
Matching moments
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
05:55 MIN
The security risks of AI-generated code and slopsquatting
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
06:33 MIN
The security challenges of building AI browser agents
AI in the Open and in Browsers - Tarek Ziadé
03:07 MIN
Final advice for developers adapting to AI
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
09:10 MIN
How AI is changing the freelance developer experience
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
01:06 MIN
Malware campaigns, cloud latency, and government IT theft
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
02:20 MIN
The evolving role of the machine learning engineer
AI in the Open and in Browsers - Tarek Ziadé
Featured Partners
Related Videos
Wasm Deep Dive - A Glance Behind the Scenes
Rainer Stropek
WebAssembly: The Next Frontier of Cloud Computing
Edoardo Dusi
WebAssembly: Disassembled
Stefan Schöberl
WebAssembly: The Next Frontier of Cloud Computing
Edoardo Dusi
Using WebAssembly to run, extend, and secure your application
Niels Tanis
WebAssembly Revolution: Elevating JavaScript's Reach and Performance
Önder Ceylan
The Future of Cloud is WebAssembly
Matt Butcher
From ML to LLM: On-device AI in the Browser
Nico Martin
Related Articles
View all articles

.webp?w=240&auto=compress,format)

From learning to earning
Jobs that call for the skills explored in this talk.




Whitehall Resources Limited
Manchester, United Kingdom
Azure
Python
Docker
PyTorch
TensorFlow
+4




Data Analytics And Visualisation Ltd
Rickmansworth, United Kingdom
Remote
£35-42K
API
Azure
Scripting (Bash/Python/Go/Ruby)

Arden Resourcing Limited
Melksham, United Kingdom
£65-75K
GIT
.NET Core
Continuous Integration