Vector API for Java: Overview, Implementation, and Design Challenges
Offered By: Java via YouTube
Course Description
Overview
Explore the Vector API for Java in this 46-minute conference talk. Dive into the project's goals, terminology, and motivation behind this new abstraction for vectors in Java. Learn about code snippets as a substrate, primitive implementation, and machine instruction binding. Examine the API structure, including fully realized expressiveness and higher-order components. Discover how to construct kernels using the Vector API and understand the challenges faced in creating an idiomatic design. Gain insights into statically typed wrappers, expression binding to method handles, and the concept of an embedded domain-specific language (EDSL). Compare the approach with expression trees and get a glimpse of ongoing work in this exciting area of Java development.
Syllabus
Intro
Overview
Introduction: Vector API Project Team
Terminology
Motivation
Project Goals
CodeSnippets as a Substrate
Implementing a Primitive
Binding to Machine Instruction
Checked Invocation
A Small Example
Generating C2 Code
Java Needs an Abstraction for Vectors
Structure of the API
Fully Realized Expressiveness
Kernel with Vector API
Higher Order Components
Kernel Construction
Statically Typed Wrappers
Quick Thoughts....
Expressions Bind to Method Handles.
Baby's First EDSL
Why Not Just Expression Trees?
Challenges to an Idiomatic Design
Continuing Work
Taught by
Java
Related Courses
Writing Fast Java Code with the Vector API - JEP Café 18Java via YouTube Java 19 Overview - New Features and Improvements
Java via YouTube Moving Java Forward with Java 19
Java via YouTube New in JDK 18: Reviewing Enhancements in the Latest JDK Release
Java via YouTube JDK 17 - The Next Long-Term Support Release Features and Enhancements
Java via YouTube