Jay Maxwell Foad is a software developer and programming language implementor. He worked at Dyalog Ltd. from April 2010 to May 2019 on the implementation of Dyalog APL, and was appointed CTO in January 2016. Foad's contributions include a bytecode compiler for Dyalog APL and improvements in the language design and implementation.
Before joining Dyalog and learning APL, Foad worked for ten years at Tao Group. His responsibilities as Senior Developer included maintaining a JIT compiler for Java. Foad was hired by Dyalog Ltd. on 26 April, 2010 as Software Developer, with the goal of speeding up APL's implementation. He expressed interest in applying JIT compilation to APL. His bytecode compiler for Dyalog was first released in version 14.0.
Foad was promoted to Dyalog CTO in January 2016, replacing Morten Kromberg, who took the role of CXO. By this time Foad had begun participating not only in the implementation of Dyalog APL but in its design as well, working with John Scholes and Roger Hui in this capacity.
Foad's bytecode compiler (invoked with
400⌶) for Dyalog was included in version 14.0 and on, although work on the compiler almost entirely stopped by version 17.0. On leaving Dyalog Foad remarked that he no longer thought his purely compiled approach was the best method for APL, and expressed enthusiasm for hybrid interpreter-compiler techniques. He also did significant work on Dyalog's interpreter, in particular optimising Maximum, Minimum, and Plus reductions using vector instructions on x86 and POWER platforms. He also developed a technique for transposing Boolean matrices with multiple-of-8 dimensions, which was later extended to arbitrary dimensions by Marshall Lochbaum with help from Foad. Foad worked not only on speeding up particular functions but also optimising the interpreter as a whole, for instance implementing special code for scalar functions with all arguments scalar, rewriting Dyalog's workspace compactor with a faster algorithm, and changing Dyalog's stranding implementation from an to a linear-time algorithm. Foad did significant work on Dyalog's decimal float implementation, and was the primary developer involved in switching from DPD to the faster BID format on platforms other than POWER (which has hardware DPD support).
With John Scholes, Foad defined the identity element for Catenate in Dyalog and more generally Catenate reduction of an empty array, a model based on but distinct from NARS2000's. He was involved in the design of the At operator, Where, Interval Index, and Nest, and defined shy results for system functions that previously lacked any result (as no-result functions are difficult to use in dfns). Foad was involved in designing several extensions to Dyalog primitives, including high-rank Unique in Dyalog APL 17.0 and the decision to allow duplicate left argument cells in Interval Index in 17.1.
Foad was involved in the design of Dyalog's total array order along with Roger Hui and Adám Brudzewsky, and the development of tolerant hashing for real and complex vector searches. He implemented hashed arrays using
1500⌶ after participating in their design. With Marshall Lochbaum, he worked on the design of magic arrays, a Dyalog APL feature which is still under development.
Foad helped improve testing while at Dyalog, including the use of fuzz testing to identify crashes in obscure statements.
Dyalog user meetings
- Dyalog '10 V13: An interpreter for Vanilla Siteswap
- Dyalog '11 D11: "Focus on Performance"
- Dyalog '13 D07: "Parallel Language Features in Version 14.0" (with Morten Kromberg)
- Dyalog '13 D10: "Reducing Interpreter Overhead"
- Dyalog '15 D04: "Core Performance" (with Roger Hui)
- Dyalog '15 D15: "Compilation and Bytecode Execution" (slides)
- Dyalog '16 D03: "Technical Road Map: Under The Covers"
- Dyalog '16 D08: "Performance: The Never Ending Story" (with Roger Hui)
- Dyalog '17 D03: "Technical Road Map: Under The Covers"
- Dyalog '18 D03: "Technical Road Map: Under The Covers"
- Dyalog webinar: Adventures in Advent of Code
- Dyalog webinar: Total Array Ordering (with Adám Brudzewsky)
|APL community |
|Activities||Dyalog user meetings ∙ Dyalog webinars ∙ APL Problem Solving Competition ∙ Conferences ∙ Iverson Award ∙ Code golf ∙ APL Cultivation|
|User groups||APL Borealis (Canada) ∙ APL et J (France) ∙ APL-Germany ∙ BAA (UK) ∙ FinnAPL (Finland) ∙ JAPLA (Japan) ∙ SAUG (Switzerland) ∙ SIGAPL (USA) ∙ SwedAPL (Sweden)|
|People||Phil Abrams ∙ Bob Bernecky ∙ Larry Breed ∙ Charles Brenner ∙ Jim Brown ∙ Adám Brudzewsky ∙ Gitte Christensen ∙ Philip Van Cleave ∙ Peter Donnelly ∙ Dan Dyer ∙ Adin Falkoff ∙ Garth Foster ∙ Roger Hui ∙ Ken Iverson ∙ Morten Kromberg ∙ Marshall Lochbaum ∙ Eugene McDonnell ∙ John McPherson ∙ Jon McGrew ∙ Donald McIntyre ∙ Roger Moore ∙ Alex Morrow ∙ Alan Perlis ∙ Al Rose ∙ William Rutiser ∙ John Scholes ∙ Ian Sharp ∙ Lynne Shaw ∙ Bob Smith ∙ Geoff Streeter ∙ Roy Sykes ∙ Raymond Tisserand ∙ Arthur Whitney ∙ Clark Wiedmann|
|Other||APL Orchard ∙ Subreddits ∙ APL Wiki ∙ Blogs ∙ Forums ∙ Books ∙ Papers ∙ APL Quote Quad|